OpenCOVER
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | List of all members
opencover::ConstInputDevice Class Reference

#include <input_const.h>

Inheritance diagram for opencover::ConstInputDevice:
Inheritance graph
[legend]
Collaboration diagram for opencover::ConstInputDevice:
Collaboration graph
[legend]

Public Member Functions

 ConstInputDevice (const std::string &name)
 
bool needsThread () const
 
bool isVarying () const
 
- Public Member Functions inherited from opencover::InputDevice
 InputDevice (const std::string &configPath)
 
virtual ~InputDevice ()
 
std::string configPath (const std::string &ent="") const
 
virtual bool poll ()
 
virtual void run ()
 
void stopLoop ()
 
bool isVarying () const
 
bool is6Dof () const
 
const std::string & getName () const
 
const osg::Matrix & getOffsetMat () const
 
void setOffsetMat (const osg::Matrix &m)
 

Additional Inherited Members

- Protected Member Functions inherited from opencover::InputDevice
size_t numButtons () const
 
bool getButtonState (size_t idx) const
 
size_t numValuators () const
 
double getValuatorValue (size_t idx) const
 
std::pair< double, double > getValuatorRange (size_t idx) const
 
size_t numBodies () const
 
bool isBodyMatrixValid (size_t idx) const
 
const osg::Matrix & getBodyMatrix (size_t idx) const
 
virtual void update ()
 
- Protected Attributes inherited from opencover::InputDevice
bool loop_is_running
 
OpenThreads::Mutex m_mutex
 If true, the main loop will run. More...
 
std::vector< bool > m_buttonStates
 
std::vector< double > m_valuatorValues
 
std::vector< std::pair< double,
double > > 
m_valuatorRanges
 
std::vector< bool > m_bodyMatricesValid
 
std::vector< osg::Matrix > m_bodyMatrices
 
const std::string m_config
 
std::string m_name
 
osg::Matrix m_offsetMatrix
 
bool m_isVarying
 
bool m_is6Dof
 
- Static Protected Attributes inherited from opencover::InputDevice
static osg::Matrix s_identity
 

Constructor & Destructor Documentation

opencover::ConstInputDevice::ConstInputDevice ( const std::string &  name)

Member Function Documentation

bool opencover::ConstInputDevice::isVarying ( ) const
bool opencover::ConstInputDevice::needsThread ( ) const
virtual

Reimplemented from opencover::InputDevice.


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