14 #ifndef APAMA_PLUGIN_COMMON_H
15 #define APAMA_PLUGIN_COMMON_H
18 #define AP_PLUGIN_MAJOR_VERSION_MASK 0xffff0000
19 #define AP_PLUGIN_MINOR_VERSION_MASK 0x0000ffff
22 #define AP_INIT_FUNCTION_NAME InitLibrary
24 #define AP_SHUTDOWN_FUNCTION_NAME ShutdownLibrary
29 #define AP_LIBRARY_VERSION_FUNCTION_NAME LibraryVersion
34 #define AP_PLUGIN_VERSION_FUNCTION_NAME PluginVersion
38 #define AP_PLUGIN_GET_CAPABILITIES_FUNCTION_NAME PluginGetCapabilities
42 #define AP_THREAD_ENDED_FUNCTION_NAME ThreadEnded
65 AP_SERIALISATION_ERROR
none of the below capabilities
Definition: AP_PluginCommon.h:75
AP_Capabilities
Plugin capabilities.
Definition: AP_PluginCommon.h:74
MonitorScript float.
Definition: AP_PluginCommon.h:51
Plugin private data, opaque to MonitorScript.
Definition: AP_PluginCommon.h:49
Any other problem.
Definition: AP_PluginCommon.h:63
MonitorScript integer.
Definition: AP_PluginCommon.h:50
AP_TypeDiscriminator
A typed discriminator for the contents of an AP_Type object.
Definition: AP_PluginCommon.h:47
AP_ErrorCode
A typed error code discriminator.
Definition: AP_PluginCommon.h:61
plugin functions will not block (blocking includes calling sendEventTo)
Definition: AP_PluginCommon.h:76
MonitorScript boolean.
Definition: AP_PluginCommon.h:52
No type yet (e.g. uninitialised return value)
Definition: AP_PluginCommon.h:48
MonitorScript string.
Definition: AP_PluginCommon.h:53
Plugin and API versions are incompatible.
Definition: AP_PluginCommon.h:64
Success.
Definition: AP_PluginCommon.h:62
MonitorScript sequence (of any supported type)
Definition: AP_PluginCommon.h:54