OSVR-Core
Classes | Functions
osvr::vrpnserver Namespace Reference

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

Classes

class  VRPNDeviceRegistration
 
class  VRPNDeviceRegistration_impl
 

Functions

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

Detailed Description

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

Function Documentation

§ getVRPNConnection() [1/2]

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.

§ getVRPNConnection() [2/2]

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.