OSVR-Core  0.6-1962-g59773924
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
osvr::vrpnserver Namespace Reference

Contains functions and classes for plugins directly wrapping a VRPN server. More...

Functions

vrpn_Connection * getVRPNConnection (OSVR_PluginRegContext ctx)
 Retrieves the vrpn_Connection pointer from an OSVR_PluginRegContext. More...
 
vrpn_Connection * getVRPNConnection (osvr::pluginhost::PluginSpecificRegistrationContext &context)
 

Detailed Description

Contains functions and classes for plugins directly wrapping a VRPN server.

Function Documentation

vrpn_Connection* osvr::vrpnserver::getVRPNConnection ( OSVR_PluginRegContext  ctx)

Retrieves the vrpn_Connection pointer from an OSVR_PluginRegContext.

Returns
the pointer, or null if this isn't a VRPN connection or something else went wrong.
vrpn_Connection* osvr::vrpnserver::getVRPNConnection ( osvr::pluginhost::PluginSpecificRegistrationContext &  context)

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.