Previous topic

SPlugin Structure

Next topic

Dynamic Shared Objects

SPluginClass StructureΒΆ

speect class SPluginClass

The SPluginClass structure.

Protected Attributes
SObjectClass _inherit

Inherit from SObjectClass.

Private Members
s_bool (*const is_ready)(const SPlugin *self)

IsReady function pointer.

Query whether the plug-in is ready for use. A plug-in can be in cache and returned to a caller without being completely loaded and ready for use. This is especially true for multi-threaded applications. Use this call to check whether the plug-in is ready to be used.

Parameters:
  • self

    The plug-in to query.

Return:

TRUE if ready for use, otherwise FALSE.

void(*const set_ready)(SPlugin *self)

SetReady function pointer.

Set the ready flag of the plug-in. This must only be set after a plug-in has been fully loaded, so that threaded applications can now when a plug-in is ready for use.

Parameters:
  • self

    The plug-in to set the ready flag for.