6 #ifndef YARP_FRAMEGRABBER_NWS_ROS_H
7 #define YARP_FRAMEGRABBER_NWS_ROS_H
59 bool isSubdeviceOwned {
false};
70 bool m_active {
false};
72 std::string m_frameId;
75 static constexpr
double s_default_period = 0.03;
76 double m_period {s_default_period};
89 bool close()
override;
frameGrabber_nws_ros: A ROS NWS for camera devices. Parameters required by this device are:
bool attach(yarp::dev::PolyDriver *poly) override
Attach to another object.
void run() override
Loop function.
FrameGrabber_nws_ros(FrameGrabber_nws_ros &&)=delete
FrameGrabber_nws_ros & operator=(const FrameGrabber_nws_ros &)=delete
bool open(yarp::os::Searchable &config) override
Open the DeviceDriver.
bool detach() override
Detach the object (you must have first called attach).
bool close() override
Close the DeviceDriver.
~FrameGrabber_nws_ros() override
FrameGrabber_nws_ros & operator=(FrameGrabber_nws_ros &&)=delete
bool threadInit() override
Initialization method.
void threadRelease() override
Release method.
FrameGrabber_nws_ros(const FrameGrabber_nws_ros &)=delete
Interface implemented by all device drivers.
An interface for retrieving intrinsic parameter from a rgb camera.
A container for a device driver.
Helper interface for an object that can wrap/or "attach" to a single other device.
An abstraction for a periodic thread.
A base class for nested structures that can be searched.
An abstraction for a time stamp and/or sequence number.