25 #ifndef INCLUDED_OriginalSource_h_GUID_B7D02DC3_ACFA_4BAF_85C5_8B70854700A7
26 #define INCLUDED_OriginalSource_h_GUID_B7D02DC3_ACFA_4BAF_85C5_8B70854700A7
36 #include <boost/optional.hpp>
55 OSVR_COMMON_EXPORT
bool isResolved()
const;
63 void nestTransform(Json::Value
const &
transform);
71 getDeviceElement()
const;
74 OSVR_COMMON_EXPORT std::string getInterfaceName()
const;
78 OSVR_COMMON_EXPORT boost::optional<int> getSensorNumber()
const;
79 OSVR_COMMON_EXPORT boost::optional<OSVR_ChannelCount>
80 getSensorNumberAsChannelCount()
const;
82 OSVR_COMMON_EXPORT Json::Value getTransformJson()
const;
83 OSVR_COMMON_EXPORT
bool hasTransform()
const;
86 std::string m_getPath()
const;
95 #endif // INCLUDED_OriginalSource_h_GUID_B7D02DC3_ACFA_4BAF_85C5_8B70854700A7
The result of resolving a tree node to a device: either an original source to connect to...
::osvr::util::TreeNode< PathElement > PathNode
The specific tree node type that contains a path element.
std::string getDevicePath() const
Gets the full path of the device node.
The element type corresponding to a device, which implements 0 or more interfaces.
t_< detail::transform_< List, Fun >> transform
void decompose(PathNode &node)
Decompose a path node representing an original source into its device, interface, and sensor...
Automatically-generated export header - do not edit!
Header forward-declaring the types in PathElementTypes.h and including the PathElement typedef...