Common plug-in C functions and Java methods
Common C plug-in functions
The following C API functions are common to every type of plug-in:
- ARPluginCreateInstance
- ARPluginDeleteInstance
- ARPluginEvent
- ARPluginIdentify
- ARPluginInitialization
- ARPluginSetProperties
- ARPluginTermination
In general, these functions use the same structure as other AR System C API functions. The plug-in server calls the functions and provides the necessary input data. The plug-in accepts the data, processes it, and returns the appropriate response data to the plug-in server.
The following figure shows a typical sequence of calls that the plug-in server makes on a C plug-in:
C plug-in call sequence
For more information, see AR-System-plug-in-API-functions.
Common Java plug-in methods
The methods defined in the ARPluggable interface and the ARPlugin abstract class are common to all plug-in types. For more information, see the Java plug-in API online documentation in ARSystemServerInstallDir\ARserver\api\javaplugins\arpluginsdocVerNum.jar.