All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Attributes | List of all members
plumed_function_holder Struct Reference

Holder for function pointer. More...

#include <PlumedMain.h>

Public Attributes

plumed_function_pointer p
 

Detailed Description

Holder for function pointer.

To pass plumed a callback function use the following syntax:

    plumed_function_holder ff;
    ff.p=your_function;
    plumed_cmd(plumed,"xxxx",&ff);

(this is going to pass the your_function() function to the "xxxx" command)

Definition at line 41 of file PlumedMain.h.

Member Data Documentation

plumed_function_pointer plumed_function_holder::p

Definition at line 42 of file PlumedMain.h.


The documentation for this struct was generated from the following files: