VMS dynamic plugin API (c++)
More...
|
static const NX_GUID | IID_PluginInterface = { { 0xe0, 0x3b, 0x85, 0x32, 0x95, 0x31, 0x41, 0xd6, 0x98, 0x2a, 0xca, 0x7b, 0xf0, 0x26, 0x97, 0x80 } } |
|
static const NX_GUID | IID_Plugin |
|
static const NX_GUID | IID_Plugin2 |
|
static const NX_GUID | IID_TimeProvider |
|
VMS dynamic plugin API (c++)
- inspired by COM
- each plugin MUST export function of type nxpl::CreateNXPluginInstanceProc with name createNXPluginInstance with "C" linkage
- each interface MUST inherit nxpl::PluginInterface
- each interface has GUID (IID_{interface_name} const non-member of type nxpl::NX_GUID)
Reference counting rules:
- Note
- Use in multithreaded environment:
◆ IID_Plugin
Initial value:=
{{0xe5,0x3c,0xf9,0x3d,0x61,0xd3,0x42,0x61,0x9d,0x25,0x9b,0x7b,0x3f,0x3a,0x81,0x2b}}
◆ IID_Plugin2
Initial value:=
{{0x10,0x0a,0xfc,0x3e,0xca,0x63,0x47,0xfb,0x9d,0x5d,0x4,0x40,0xfc,0x59,0xf8,0x66}}
◆ IID_TimeProvider
const NX_GUID nxpl::IID_TimeProvider |
|
static |
Initial value:=
{{0x81,0x18,0xae,0x76,0x37,0xa1,0x48,0x49,0x83,0xe2,0x54,0xc1,0x1e,0xbf,0x5a,0x22}}