BaseDevice component, to be used only with the "OSVR" special device.
More...
#include <SystemComponent.h>
|
OSVR_COMMON_EXPORT void | sendRoutes (std::string const &routes) |
|
OSVR_COMMON_EXPORT void | registerRoutesHandler (vrpn_MESSAGEHANDLER handler, void *userdata) |
|
OSVR_COMMON_EXPORT void | sendClientRouteUpdate (std::string const &route) |
|
OSVR_COMMON_EXPORT void | registerClientRouteUpdateHandler (vrpn_MESSAGEHANDLER handler, void *userdata) |
|
OSVR_COMMON_EXPORT void | registerReplaceTreeHandler (JsonHandler cb) |
|
OSVR_COMMON_EXPORT void | sendReplacementTree (PathTree &tree) |
|
void | recordParent (Parent &dev) |
| Called (only) by BaseDevice when being added: effectively records a "parent pointer" that does not convey ownership. More...
|
|
void | update () |
| Called during mainloop.
|
|
|
static OSVR_COMMON_EXPORT const char * | deviceName () |
| Get the special device name to be used with this component.
|
|
static OSVR_COMMON_EXPORT shared_ptr< SystemComponent > | create () |
| Factory method. More...
|
|
BaseDevice component, to be used only with the "OSVR" special device.
§ create()
Factory method.
Required to ensure that allocation and deallocation stay on the same side of a DLL line.
§ routeIn
Message from client, sending a single new/updated JSON routing directive in to the server.
The documentation for this class was generated from the following files: