#include <rs_net.hpp>
Public Member Functions | |
void | add_to (context &ctx) |
net_device (const std::string &address) | |
Public Member Functions inherited from rs2::device | |
template<class T > | |
T | as () const |
device () | |
device (std::shared_ptr< rs2_device > dev) | |
template<class T > | |
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 > () | |
device & | operator= (const std::shared_ptr< rs2_device > dev) |
device & | operator= (const device &dev) |
std::vector< sensor > | query_sensors () const |
bool | supports (rs2_camera_info info) const |
virtual | ~device () |
Private Member Functions | |
std::shared_ptr< rs2_device > | init (const std::string &address) |
Additional Inherited Members | |
Protected Attributes inherited from rs2::device | |
std::shared_ptr< rs2_device > | _dev |
Definition at line 14 of file rs_net.hpp.
|
inline |
Definition at line 17 of file rs_net.hpp.
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)
[in] | ctx | context to add the device to |
Definition at line 26 of file rs_net.hpp.
|
inlineprivate |
Definition at line 35 of file rs_net.hpp.