#include <realsense_node_factory.h>
Public Member Functions | |
RealSenseNodeFactory () | |
virtual | ~RealSenseNodeFactory () |
Private Member Functions | |
void | change_device_callback (rs2::event_information &info) |
void | closeDevice () |
void | getDevice (rs2::device_list list) |
virtual void | onInit () override |
void | StartDevice () |
void | tryGetLogSeverity (rs2_log_severity &severity) const |
Private Attributes | |
rs2::context | _ctx |
rs2::device | _device |
bool | _initial_reset |
std::thread | _query_thread |
std::unique_ptr < InterfaceRealSenseNode > | _realSenseNode |
std::string | _serial_no |
Definition at line 53 of file realsense_node_factory.h.
Definition at line 22 of file realsense_node_factory.cpp.
RealSenseNodeFactory::~RealSenseNodeFactory | ( | ) | [virtual] |
Definition at line 44 of file realsense_node_factory.cpp.
void RealSenseNodeFactory::change_device_callback | ( | rs2::event_information & | info | ) | [private] |
Definition at line 103 of file realsense_node_factory.cpp.
void RealSenseNodeFactory::closeDevice | ( | ) | [private] |
Definition at line 35 of file realsense_node_factory.cpp.
void RealSenseNodeFactory::getDevice | ( | rs2::device_list | list | ) | [private] |
Definition at line 49 of file realsense_node_factory.cpp.
void RealSenseNodeFactory::onInit | ( | ) | [override, private, virtual] |
Implements nodelet::Nodelet.
Definition at line 126 of file realsense_node_factory.cpp.
void RealSenseNodeFactory::StartDevice | ( | ) | [private] |
Definition at line 197 of file realsense_node_factory.cpp.
void RealSenseNodeFactory::tryGetLogSeverity | ( | rs2_log_severity & | severity | ) | const [private] |
Definition at line 235 of file realsense_node_factory.cpp.
rs2::context realsense2_camera::RealSenseNodeFactory::_ctx [private] |
Definition at line 69 of file realsense_node_factory.h.
rs2::device realsense2_camera::RealSenseNodeFactory::_device [private] |
Definition at line 67 of file realsense_node_factory.h.
bool realsense2_camera::RealSenseNodeFactory::_initial_reset [private] |
Definition at line 71 of file realsense_node_factory.h.
std::thread realsense2_camera::RealSenseNodeFactory::_query_thread [private] |
Definition at line 72 of file realsense_node_factory.h.
std::unique_ptr<InterfaceRealSenseNode> realsense2_camera::RealSenseNodeFactory::_realSenseNode [private] |
Definition at line 68 of file realsense_node_factory.h.
std::string realsense2_camera::RealSenseNodeFactory::_serial_no [private] |
Definition at line 70 of file realsense_node_factory.h.