7 #ifndef YARP_DEV_SERVERGRABBER_H
8 #define YARP_DEV_SERVERGRABBER_H
72 #define DEFAULT_THREAD_PERIOD 0.03
183 std::string rpcPort_Name;
184 std::string rpcPort2_Name;
187 std::string pImg_Name;
188 std::string pImg2_Name;
221 bool isSubdeviceOwned{
false};
233 bool close()
override;
#define DEFAULT_THREAD_PERIOD
ServerGrabberResponder(bool _left=false)
bool configure(ServerGrabber *_server)
bool respond(const yarp::os::Bottle &command, yarp::os::Bottle &reply) override
Respond to a message.
~ServerGrabberResponder() override=default
grabberDual deprecated: A Network grabber for camera devices.
void threadRelease() override
Release method.
~ServerGrabber() override
bool attach(yarp::dev::PolyDriver *poly) override
Attach to another object.
ServerGrabber & operator=(ServerGrabber &&)=delete
bool detach() override
Detach the object (you must have first called attach).
bool open(yarp::os::Searchable &config) override
Configure with a set of options.
ServerGrabber(const ServerGrabber &)=delete
bool close() override
Close the DeviceDriver.
void setupFlexImage(const yarp::sig::Image &img, yarp::sig::FlexImage &flex_i)
void shallowCopyImages(const yarp::sig::FlexImage &src, yarp::sig::FlexImage &dest)
void run() override
Loop function.
ServerGrabber(ServerGrabber &&)=delete
bool detachAll() override
Detach the object (you must have first called attach).
ServerGrabber & operator=(const ServerGrabber &)=delete
bool initialize_YARP(yarp::os::Searchable ¶ms)
bool attachAll(const yarp::dev::PolyDriverList &device2attach) override
Attach to a list of objects.
bool respond(const yarp::os::Bottle &command, yarp::os::Bottle &reply, bool left, bool both)
bool fromConfig(yarp::os::Searchable &config)
bool threadInit() override
Initialization method.
Interface implemented by all device drivers.
A cheap and cheerful framework for human readable/writable forms of messages to devices.
Control interface for frame grabber devices.
Interface for an object that can wrap/attach to to another.
An interface for retrieving intrinsic parameter from a rgb camera.
Interface for an object that can wrap/or "attach" to another.
A container for a device driver.
A simple collection of objects that can be described and transmitted in a portable way.
An abstraction for a periodic thread.
A mini-server for network communication.
A base class for nested structures that can be searched.
Image class with user control of representation details.
Base class for storing images.