The element type corresponding to a device, which implements 0 or more interfaces. More...
#include <osvr/Common/PathElementTypes.h>
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... | |
The element type corresponding to a device, which implements 0 or more interfaces.
Definition at line 113 of file PathElementTypes.h.
|
static |
Can also pass util::OmitAppendingPort as a special port value.
Definition at line 133 of file PathElementTypes.cpp.