OSVR-Core
Public Types | Public Member Functions | List of all members
osvr::connection::ButtonServerInterface Class Referenceabstract

Interface for external access to generating button reports. More...

#include <ButtonServerInterface.h>

Inheritance diagram for osvr::connection::ButtonServerInterface:
osvr::connection::VrpnButtonServer

Public Types

typedef OSVR_ButtonState value_type
 

Public Member Functions

virtual bool setValue (value_type val, OSVR_ChannelCount chan, util::time::TimeValue const &timestamp)=0
 Sets the value to val at channel chan, and reports changes with the given timestamp.
 
virtual void setValues (value_type val[], OSVR_ChannelCount chans, util::time::TimeValue const &timestamp)=0
 Sets the values from the val array at channels [0, chans), and reports changes with the given timestamp.
 

Detailed Description

Interface for external access to generating button reports.

Does not inherit from BaseServerInterface because it wraps an existing VRPN class.


The documentation for this class was generated from the following file: