Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
librealsense::platform::cm_node Class Reference

#include <win-helpers.h>

Public Member Functions

 cm_node ()
 
 cm_node (DEVINST devinst)
 
template<class F >
bool foreach_node (F fn, size_t depth=1)
 
DEVINST get () const
 
cm_node get_child () const
 
std::string get_id () const
 
cm_node get_parent () const
 
std::string get_property (DEVPROPKEY const &property) const
 
cm_node get_sibling () const
 
std::string get_uid () const
 
 operator DEVINST () const
 
 operator DEVINST * ()
 
 operator DEVINST const * () const
 
bool valid () const
 

Static Public Member Functions

static cm_node from_device_path (LPCWSTR device_path)
 
static cm_node from_instance_id (std::wstring const &instance_id)
 
static cm_node root ()
 

Private Attributes

DEVINST _devinst
 

Detailed Description

Definition at line 44 of file win-helpers.h.

Constructor & Destructor Documentation

librealsense::platform::cm_node::cm_node ( )
inline

Definition at line 49 of file win-helpers.h.

librealsense::platform::cm_node::cm_node ( DEVINST  devinst)
inline

Definition at line 50 of file win-helpers.h.

Member Function Documentation

template<class F >
bool librealsense::platform::cm_node::foreach_node ( fn,
size_t  depth = 1 
)
inline

Definition at line 91 of file win-helpers.h.

static cm_node librealsense::platform::cm_node::from_device_path ( LPCWSTR  device_path)
inlinestatic

Definition at line 53 of file win-helpers.h.

cm_node librealsense::platform::cm_node::from_instance_id ( std::wstring const &  instance_id)
static

Definition at line 457 of file win-helpers.cpp.

DEVINST librealsense::platform::cm_node::get ( ) const
inline

Definition at line 60 of file win-helpers.h.

cm_node librealsense::platform::cm_node::get_child ( ) const

Definition at line 475 of file win-helpers.cpp.

std::string librealsense::platform::cm_node::get_id ( ) const

Definition at line 402 of file win-helpers.cpp.

cm_node librealsense::platform::cm_node::get_parent ( ) const

Definition at line 466 of file win-helpers.cpp.

std::string librealsense::platform::cm_node::get_property ( DEVPROPKEY const &  property) const

Definition at line 493 of file win-helpers.cpp.

cm_node librealsense::platform::cm_node::get_sibling ( ) const

Definition at line 484 of file win-helpers.cpp.

std::string librealsense::platform::cm_node::get_uid ( ) const

Definition at line 408 of file win-helpers.cpp.

librealsense::platform::cm_node::operator DEVINST ( ) const
inline

Definition at line 63 of file win-helpers.h.

librealsense::platform::cm_node::operator DEVINST * ( )
inline

Definition at line 65 of file win-helpers.h.

librealsense::platform::cm_node::operator DEVINST const * ( ) const
inline

Definition at line 66 of file win-helpers.h.

cm_node librealsense::platform::cm_node::root ( )
static

Definition at line 448 of file win-helpers.cpp.

bool librealsense::platform::cm_node::valid ( ) const
inline

Definition at line 61 of file win-helpers.h.

Member Data Documentation

DEVINST librealsense::platform::cm_node::_devinst
private

Definition at line 46 of file win-helpers.h.


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


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:39