6#ifndef YARP_DEV_RGBDSENSOR_NWS_YARP_H
7#define YARP_DEV_RGBDSENSOR_NWS_YARP_H
37#define DEFAULT_THREAD_PERIOD 0.03
66 typedef unsigned int UInt;
68 enum SensorType{COLOR_SENSOR, DEPTH_SENSOR};
73 param(T& inVar, std::string inName)
82 std::string colorFrame_StreamingPort_Name;
83 std::string depthFrame_StreamingPort_Name;
89 std::string rpcPort_Name;
94 std::unique_ptr<RGBDSensorMsgsImpl> m_rgbd_RPC =
nullptr;
109 bool setCamInfo(
const std::string& frame_id,
111 const SensorType& sensorType);
122 bool close()
override;
contains the definition of a Vector type
This class is the parameters parser for class RGBDSensor_nws_yarp.
RGBDSensor_nws_yarp: A Network grabber for kinect-like devices. This device will produce two streams ...
~RGBDSensor_nws_yarp() override
RGBDSensor_nws_yarp & operator=(const RGBDSensor_nws_yarp &)=delete
bool attach(yarp::dev::PolyDriver *poly) override
Attach to another object.
void run() override
Loop function.
bool close() override
Close the DeviceDriver.
RGBDSensor_nws_yarp(RGBDSensor_nws_yarp &&)=delete
void threadRelease() override
Release method.
bool threadInit() override
Initialization method.
RGBDSensor_nws_yarp & operator=(RGBDSensor_nws_yarp &&)=delete
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool detach() override
WrapperSingle interface.
RGBDSensor_nws_yarp(const RGBDSensor_nws_yarp &)=delete
bool open(yarp::os::Searchable ¶ms) override
Device driver interface.
Interface implemented by all device drivers.
Control interface for frame grabber devices.
A generic interface for cameras that have both color camera as well as depth camera sensor,...
A container for a device driver.
Helper interface for an object that can wrap/or "attach" to a single other device.
A mini-server for performing network communication in the background.
An interface for reading from a network connection.
An abstraction for a periodic thread.
Interface implemented by all objects that can read themselves from the network, such as Bottle object...
A mini-server for network communication.
A base class for nested structures that can be searched.
An abstraction for a time stamp and/or sequence number.
Image class with user control of representation details.