10 #ifndef YARP_DEV_SERVERGRABBER_H
11 #define YARP_DEV_SERVERGRABBER_H
86 #define DEFAULT_THREAD_PERIOD 0.03
195 std::string rpcPort_Name;
196 std::string rpcPort2_Name;
199 std::string pImg_Name;
200 std::string pImg2_Name;
233 bool isSubdeviceOwned{
false};
245 bool close()
override;
define common interfaces to discover remote camera capabilities
#define DEFAULT_THREAD_PERIOD
~DC1394Parser() override=default
bool configure(yarp::dev::IFrameGrabberControlsDC1394 *interface)
bool respond(const yarp::os::Bottle &cmd, yarp::os::Bottle &response) override
Respond to a message.
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
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.
Read a YARP-format image from a device.
Read a YARP-format image from a device.
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.