Public Member Functions | Private Member Functions | List of all members
rs2::net_device Class Reference

#include <rs_net.hpp>

Inheritance diagram for rs2::net_device:
Inheritance graph
[legend]

Public Member Functions

void add_to (context &ctx)
 
 net_device (const std::string &address)
 
- Public Member Functions inherited from rs2::device
template<class T >
as () const
 
 device ()
 
 device (std::shared_ptr< rs2_device > dev)
 
template<class T >
first () const
 
const std::shared_ptr< rs2_device > & get () const
 
const char * get_info (rs2_camera_info info) const
 
void hardware_reset ()
 
template<class T >
bool is () const
 
 operator bool () const
 
 operator std::shared_ptr< rs2_device > ()
 
deviceoperator= (const std::shared_ptr< rs2_device > dev)
 
deviceoperator= (const device &dev)
 
std::vector< sensorquery_sensors () const
 
bool supports (rs2_camera_info info) const
 
virtual ~device ()
 

Private Member Functions

std::shared_ptr< rs2_deviceinit (const std::string &address)
 

Additional Inherited Members

- Protected Attributes inherited from rs2::device
std::shared_ptr< rs2_device_dev
 

Detailed Description

Definition at line 14 of file rs_net.hpp.

Constructor & Destructor Documentation

rs2::net_device::net_device ( const std::string address)
inline

Definition at line 17 of file rs_net.hpp.

Member Function Documentation

void rs2::net_device::add_to ( context ctx)
inline

Add network device to existing context. Any future queries on the context will return this device. This operation cannot be undone (except for destroying the context)

Parameters
[in]ctxcontext to add the device to

Definition at line 26 of file rs_net.hpp.

std::shared_ptr<rs2_device> rs2::net_device::init ( const std::string address)
inlineprivate

Definition at line 35 of file rs_net.hpp.


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


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