![]() |
OpenNI 1.5.4
|
Now that we have a node implementation and an exporter which exports it to OpenNI, all that is left is to let OpenNI know which exporters exist in your module.
The best way to do so is to create a new cpp file, and in it:
If you want your module to behave differently than default (for example, do some extra initialization upon shared library loading), you can create a new class that inherits from xn::Module, and export that new class instead.