Go to the source code of this file.
Compounds | |
struct | vmdplugin_t |
Defines | |
#define | VMDPLUGIN vmdplugin |
#define | xcat(x, y) cat(x, y) |
#define | cat(x, y) x ## y |
#define | VMDPLUGIN_API |
#define | VMDPLUGIN_EXTERN extern VMDPLUGIN_API |
#define | vmdplugin_HEAD |
#define | vmdplugin_ABIVERSION 18 |
Typedefs | |
typedef int(* | vmdplugin_register_cb )(void *, vmdplugin_t *) |
Functions | |
VMDPLUGIN_EXTERN int | VMDPLUGIN_init (void) |
VMDPLUGIN_EXTERN int | VMDPLUGIN_register (void *, vmdplugin_register_cb) |
VMDPLUGIN_EXTERN int | VMDPLUGIN_register_tcl (void *, void *tcl_interp, vmdplugin_register_cb) |
VMDPLUGIN_EXTERN int | VMDPLUGIN_fini (void) |
Definition in file vmdplugin.h.
|
concatenation macro, joins args x and y together as a single string Definition at line 41 of file vmdplugin.h. |
|
macro defining VMDPLUGIN if it hasn't already been set to the name of a static plugin that is being compiled. This is the catch-all case. Definition at line 36 of file vmdplugin.h. |
|
Use this macro to initialize the abiversion member of each plugin Definition at line 147 of file vmdplugin.h. Referenced by VMDPLUGIN_init, and write_hoomd_timestep. |
|
If we're not compiling on Windows, then this macro is defined empty Definition at line 89 of file vmdplugin.h. Referenced by VMDPLUGIN_fini, VMDPLUGIN_init, and VMDPLUGIN_register. |
|
Error return code for use in the plugin registration and init functions Definition at line 158 of file vmdplugin.h. |
|
define plugin linkage correctly for both C and C++ based plugins Definition at line 96 of file vmdplugin.h. |
|
Macro names entry points correctly for static linkage or dynamic loading Definition at line 57 of file vmdplugin.h. |
|
Value: int abiversion; \ const char *type; \ const char *name; \ const char *prettyname; \ const char *author; \ int majorv; \ int minorv; \ int is_reentrant; This header should be placed at the top of every plugin API definition so that it can be treated as a subtype of the base plugin type. abiversion: Defines the ABI for the base plugin type (not for other plugins) type: A string descriptor of the plugin type. name: A name for the plugin. author: A string identifier, possibly including newlines. Major and minor version. is_reentrant: Whether this library can be run concurrently with itself. Definition at line 124 of file vmdplugin.h. |
|
Macro names entry points correctly for static linkage or dynamic loading Definition at line 56 of file vmdplugin.h. |
|
Macro names entry points correctly for static linkage or dynamic loading Definition at line 54 of file vmdplugin.h. |
|
Macro names entry points correctly for static linkage or dynamic loading Definition at line 55 of file vmdplugin.h. |
|
Error return code for use in the plugin registration and init functions Definition at line 157 of file vmdplugin.h. Referenced by register_cb, VMDPLUGIN_fini, VMDPLUGIN_init, and VMDPLUGIN_register. |
|
Use this macro to indicate a plugin's thread-safety at registration time Definition at line 152 of file vmdplugin.h. Referenced by VMDPLUGIN_init. |
|
Use this macro to indicate a plugin's thread-safety at registration time Definition at line 151 of file vmdplugin.h. Referenced by VMDPLUGIN_init. |
|
concatenation macro, joins args x and y together as a single string Definition at line 39 of file vmdplugin.h. |
|
Function pointer typedef for register callback functions Definition at line 164 of file vmdplugin.h. Referenced by VMDPLUGIN_register. |
|
The Fini method is called when the application will no longer use any plugins in the library. Definition at line 1441 of file abinitplugin.c. |
|
Init routine: called the first time the library is loaded by the application and before any other API functions are referenced. Return 0 on success. Definition at line 1400 of file abinitplugin.c. |
|
Allow the library to register plugins with the application. The callback should be called using the passed-in void pointer, which should not be interpreted in any way by the library. Each vmdplugin_t pointer passed to the application should point to statically-allocated or heap-allocated memory and should never be later modified by the plugin. Applications must be permitted to retain only a copy of the the plugin pointer, without making any deep copy of the items in the struct. Definition at line 1435 of file abinitplugin.c. |
|
Allow the library to register Tcl extensions. This API is optional; if found by dlopen, it will be called after first calling init and register. |