|
FireSync API
|
| kHxNode kHxNode_PlatformInstance | ( | ) |
Returns a reference to the hardware platform singleton, if it exists.
Sensor applications that instantiate a server node representing underlying platform hardware should typically load an assembly that implements a kHxNode-derived singleton object. If such an assembly has been loaded and the singleton has been constructed, this method can be used to access the kHxNode-derived singleton. This kHxNode instance can then be passed to kSystem_AddServerNode, to be used as the hardware node to which the server node will bind.
The node object returned by this method does not need to be destroyed.