OSVR Framework (Internal Development Docs)  0.6-1962-g59773924
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
osvr::common::elements::DeviceElement Class Reference

The element type corresponding to a device, which implements 0 or more interfaces. More...

#include <osvr/Common/PathElementTypes.h>

Inheritance diagram for osvr::common::elements::DeviceElement:
osvr::common::elements::ElementBase< DeviceElement >

Public Member Functions

 DeviceElement (std::string const &deviceName, std::string const &server)
 
std::string & getDeviceName ()
 
std::string const & getDeviceName () const
 
std::string & getServer ()
 
std::string const & getServer () const
 
std::string getFullDeviceName () const
 
Json::Value & getDescriptor ()
 
Json::Value const & getDescriptor () const
 
bool operator== (DeviceElement const &other) const
 Equality comparison operator.
 
- Public Member Functions inherited from osvr::common::elements::ElementBase< DeviceElement >
const char * getTypeName () const
 

Static Public Member Functions

static DeviceElement createVRPNDeviceElement (std::string const &deviceName, std::string const &server)
 
static DeviceElement createDeviceElement (std::string const &deviceName, std::string const &server, int port=util::UseDefaultPort)
 

Additional Inherited Members

- Public Types inherited from osvr::common::elements::ElementBase< DeviceElement >
typedef DeviceElement type
 
typedef ElementBase
< DeviceElement
base_type
 
- Protected Member Functions inherited from osvr::common::elements::ElementBase< DeviceElement >
 ElementBase ()
 Protected constructor to force subclassing. More...
 

Detailed Description

The element type corresponding to a device, which implements 0 or more interfaces.

Definition at line 113 of file PathElementTypes.h.

Member Function Documentation

DeviceElement osvr::common::elements::DeviceElement::createDeviceElement ( std::string const &  deviceName,
std::string const &  server,
int  port = util::UseDefaultPort 
)
static

Can also pass util::OmitAppendingPort as a special port value.

Definition at line 133 of file PathElementTypes.cpp.


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