|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
10 #ifndef YARP_DEV_SERVERFRAMEGRABBER_H
11 #define YARP_DEV_SERVERFRAMEGRABBER_H
28 #define YARP_INCLUDING_DEPRECATED_HEADER_ON_PURPOSE
31 #undef YARP_INCLUDING_DEPRECATED_HEADER_ON_PURPOSE
85 public yarp::dev::DataSource<yarp::sig::ImageOf<yarp::sig::PixelRgb>>,
86 public yarp::dev::DataSource<yarp::sig::ImageOf<yarp::sig::PixelMono>>,
87 public yarp::dev::DataSource<yarp::dev::ImageRgbSound>,
88 public yarp::dev::DataSource2<yarp::sig::ImageOf<yarp::sig::PixelRgb>,yarp::sig::Sound>
108 bool addStamp{
false};
110 bool singleThreaded{
false};
122 bool close()
override;
156 int height()
const override;
158 int width()
const override;
169 #endif // YARP_DEV_SERVERFRAMEGRABBER_H
#define YARP_WARNING_PUSH
Starts a temporary alteration of the enabled warnings.
A simple collection of objects that can be described and transmitted in a portable way.
Read a YARP-format image from a device.
A base class for nested structures that can be searched.
Group a pair of objects to be sent and received together.
bool close() override
Close the DeviceDriver.
virtual bool getAudioVisual(yarp::sig::ImageOf< yarp::sig::PixelRgb > &image, yarp::sig::Sound &sound) override
Get an image and sound.
virtual bool respond(const yarp::os::Bottle &command, yarp::os::Bottle &reply) override
Respond to a message.
~ServerFrameGrabber() override=default
A mini-server for network communication.
This class takes a Runnable instance and wraps a thread around it.
Read a YARP-format sound block from a device.
ServerFrameGrabber(const ServerFrameGrabber &)=delete
Read a YARP-format image from a device.
bool getImage(yarp::sig::ImageOf< yarp::sig::PixelRgb > &image) override
Get an rgb image from the frame grabber, if required demosaicking/color reconstruction is applied.
Read a YARP-format image and sound from a device.
A container for a device driver.
int height() const override
Return the height of each frame.
Common interface for devices that act like services (by which we mean they do something for remote us...
bool updateService() override
Give the service the chance to run for a while.
ServerFrameGrabber & operator=(const ServerFrameGrabber &)=delete
bool startService() override
Initiate the service, whatever it is.
ServerFrameGrabber()=default
bool getDatum(yarp::sig::ImageOf< yarp::sig::PixelRgb > &image) override
Control interface for frame grabber devices.
define common interfaces to discover remote camera capabilities
#define YARP_WARNING_POP
Ends a temporary alteration of the enabled warnings.
ServerFrameGrabber & operator=(ServerFrameGrabber &&)=delete
A cheap and cheerful framework for human readable/writable forms of messages to devices.
An interface for retrieving intrinsic parameter from a rgb camera.
Interface implemented by deprecated device drivers.
bool stopService() override
Shut down the service, whatever it is.
Class for storing sounds.
grabber: Export a frame grabber to the network.
ServerFrameGrabber(ServerFrameGrabber &&)=delete
#define YARP_DISABLE_DEPRECATED_WARNING
Disable deprecated warnings in the following code.
bool open(yarp::os::Searchable &config) override
Configure with a set of options.
int width() const override
Return the width of each frame.