YARP
Yet Another Robot Platform

remote_grabber: Connect to a ServerFrameGrabber. See ServerFrameGrabber for the network protocol used. More...

#include <RemoteFrameGrabber/RemoteFrameGrabber.h>

+ Inheritance diagram for RemoteFrameGrabber:

Public Member Functions

 RemoteFrameGrabber ()
 
 RemoteFrameGrabber (const RemoteFrameGrabber &)=delete
 
 RemoteFrameGrabber (RemoteFrameGrabber &&)=delete
 
RemoteFrameGrabberoperator= (const RemoteFrameGrabber &)=delete
 
RemoteFrameGrabberoperator= (RemoteFrameGrabber &&)=delete
 
 ~RemoteFrameGrabber () override=default
 
bool getImage (yarp::sig::ImageOf< yarp::sig::PixelRgb > &image) override
 Get an image from the frame grabber. More...
 
bool getImageCrop (cropType_id_t cropType, yarp::sig::VectorOf< std::pair< int, int > > vertices, yarp::sig::ImageOf< yarp::sig::PixelRgb > &image) override
 Get a crop of the image from the frame grabber. More...
 
int height () const override
 Return the height of each frame. More...
 
int width () const override
 Return the width of each frame. More...
 
bool open (yarp::os::Searchable &config) override
 Configure with a set of options. More...
 
bool close () override
 Close the DeviceDriver. More...
 
bool setBrightness (double v) override
 Set the brightness. More...
 
double getBrightness () override
 Read the brightness parameter. More...
 
bool setExposure (double v) override
 Set the exposure. More...
 
double getExposure () override
 Read the exposure parameter. More...
 
bool setSharpness (double v) override
 Set the sharpness. More...
 
double getSharpness () override
 Read the sharpness parameter. More...
 
bool setWhiteBalance (double blue, double red) override
 Set the white balance for the frame grabber. More...
 
bool getWhiteBalance (double &blue, double &red) override
 Read the white balance parameters. More...
 
bool setHue (double v) override
 Set the hue. More...
 
double getHue () override
 Read the hue parameter. More...
 
bool setSaturation (double v) override
 Set the saturation. More...
 
double getSaturation () override
 Read the saturation parameter. More...
 
bool setGamma (double v) override
 Set the gamma. More...
 
double getGamma () override
 Read the gamma parameter. More...
 
bool setShutter (double v) override
 Set the shutter parameter. More...
 
double getShutter () override
 Read the shutter parameter. More...
 
bool setGain (double v) override
 Set the gain. More...
 
double getGain () override
 Read the gain parameter. More...
 
bool setIris (double v) override
 Set the iris. More...
 
double getIris () override
 Read the iris parameter. More...
 
- Public Member Functions inherited from yarp::dev::DeviceDriver
 DeviceDriver ()
 
 DeviceDriver (const DeviceDriver &other)=delete
 
 DeviceDriver (DeviceDriver &&other) noexcept=delete
 
DeviceDriveroperator= (const DeviceDriver &other)=delete
 
DeviceDriveroperator= (DeviceDriver &&other) noexcept=delete
 
 ~DeviceDriver () override
 
bool open (yarp::os::Searchable &config) override
 Open the DeviceDriver. More...
 
bool close () override
 Close the DeviceDriver. More...
 
virtual std::string id () const
 Return the id assigned to the PolyDriver. More...
 
virtual void setId (const std::string &id)
 Set the id for this device. More...
 
template<class T >
bool view (T *&x)
 Get an interface to the device driver. More...
 
virtual DeviceDrivergetImplementation ()
 Some drivers are bureaucrats, pointing at others. More...
 
- Public Member Functions inherited from yarp::os::IConfig
virtual ~IConfig ()
 Destructor. More...
 
virtual bool open (Searchable &config)
 Initialize the object. More...
 
virtual bool close ()
 Shut the object down. More...
 
virtual bool configure (Searchable &config)
 Change online parameters. More...
 
virtual bool getImage (yarp::sig::ImageOf< yarp::sig::PixelRgb > &image)=0
 Get an image from the frame grabber. More...
 
virtual bool getImageCrop (cropType_id_t cropType, yarp::sig::VectorOf< std::pair< int, int > > vertices, yarp::sig::ImageOf< yarp::sig::PixelRgb > &image)
 Get a crop of the image from the frame grabber. More...
 
- Public Member Functions inherited from yarp::dev::IFrameGrabberImageBase
virtual ~IFrameGrabberImageBase ()
 Destructor. More...
 
virtual int height () const =0
 Return the height of each frame. More...
 
virtual int width () const =0
 Return the width of each frame. More...
 
- Public Member Functions inherited from yarp::proto::framegrabber::FrameGrabberControls_Forwarder
 FrameGrabberControls_Forwarder (yarp::os::Port &port)
 
 ~FrameGrabberControls_Forwarder () override=default
 
bool getCameraDescription (CameraDescriptor *camera) override
 Get a basic description of the camera hw. More...
 
bool hasFeature (int feature, bool *hasFeature) override
 Check if camera has the requested feature (saturation, brightness ... ) More...
 
bool setFeature (int feature, double value) override
 Set the requested feature to a value (saturation, brightness ... ) More...
 
bool getFeature (int feature, double *value) override
 Get the current value for the requested feature. More...
 
bool setFeature (int feature, double value1, double value2) override
 Set the requested feature to a value using 2 params (like white balance) More...
 
bool getFeature (int feature, double *value1, double *value2) override
 Get the current value for the requested feature. More...
 
bool hasOnOff (int feature, bool *HasOnOff) override
 Check if the camera has the ability to turn on/off the requested feature. More...
 
bool setActive (int feature, bool onoff) override
 Set the requested feature on or off. More...
 
bool getActive (int feature, bool *isActive) override
 Get the current status of the feature, on or off. More...
 
bool hasAuto (int feature, bool *hasAuto) override
 Check if the requested feature has the 'auto' mode. More...
 
bool hasManual (int feature, bool *hasManual) override
 Check if the requested feature has the 'manual' mode. More...
 
bool hasOnePush (int feature, bool *hasOnePush) override
 Check if the requested feature has the 'onePush' mode. More...
 
bool setMode (int feature, FeatureMode mode) override
 Set the requested mode for the feature. More...
 
bool getMode (int feature, FeatureMode *mode) override
 Get the current mode for the feature. More...
 
bool setOnePush (int feature) override
 Set the requested feature to a value (saturation, brightness ... ) More...
 
bool setBrightness (double v) override
 Set the brightness. More...
 
double getBrightness () override
 Read the brightness parameter. More...
 
bool setExposure (double v) override
 Set the exposure. More...
 
double getExposure () override
 Read the exposure parameter. More...
 
bool setSharpness (double v) override
 Set the sharpness. More...
 
double getSharpness () override
 Read the sharpness parameter. More...
 
bool setWhiteBalance (double blue, double red) override
 Set the white balance for the frame grabber. More...
 
bool getWhiteBalance (double &blue, double &red) override
 Read the white balance parameters. More...
 
bool setHue (double v) override
 Set the hue. More...
 
double getHue () override
 Read the hue parameter. More...
 
bool setSaturation (double v) override
 Set the saturation. More...
 
double getSaturation () override
 Read the saturation parameter. More...
 
bool setGamma (double v) override
 Set the gamma. More...
 
double getGamma () override
 Read the gamma parameter. More...
 
bool setShutter (double v) override
 Set the shutter parameter. More...
 
double getShutter () override
 Read the shutter parameter. More...
 
bool setGain (double v) override
 Set the gain. More...
 
double getGain () override
 Read the gain parameter. More...
 
bool setIris (double v) override
 Set the iris. More...
 
double getIris () override
 Read the iris parameter. More...
 
- Public Member Functions inherited from yarp::dev::IFrameGrabberControls
virtual ~IFrameGrabberControls ()
 Destructor. More...
 
virtual bool setBrightness (double v)
 Set the brightness. More...
 
virtual bool setExposure (double v)
 Set the exposure. More...
 
virtual bool setSharpness (double v)
 Set the sharpness. More...
 
virtual bool setWhiteBalance (double blue, double red)
 Set the white balance for the frame grabber. More...
 
virtual bool setHue (double v)
 Set the hue. More...
 
virtual bool setSaturation (double v)
 Set the saturation. More...
 
virtual bool setGamma (double v)
 Set the gamma. More...
 
virtual bool setShutter (double v)
 Set the shutter parameter. More...
 
virtual bool setGain (double v)
 Set the gain. More...
 
virtual bool setIris (double v)
 Set the iris. More...
 
virtual double getBrightness ()
 Read the brightness parameter. More...
 
virtual double getExposure ()
 Read the exposure parameter. More...
 
virtual double getSharpness ()
 Read the sharpness parameter. More...
 
virtual bool getWhiteBalance (double &blue, double &red)
 Read the white balance parameters. More...
 
virtual double getHue ()
 Read the hue parameter. More...
 
virtual double getSaturation ()
 Read the saturation parameter. More...
 
virtual double getGamma ()
 Read the gamma parameter. More...
 
virtual double getShutter ()
 Read the shutter parameter. More...
 
virtual double getGain ()
 Read the gain parameter. More...
 
virtual double getIris ()
 Read the iris parameter. More...
 
std::string busType2String (BusType type)
 
FeatureMode toFeatureMode (bool _auto)
 
virtual bool getCameraDescription (CameraDescriptor *camera)=0
 Get a basic description of the camera hw. More...
 
virtual bool hasFeature (int feature, bool *hasFeature)=0
 Check if camera has the requested feature (saturation, brightness ... ) More...
 
virtual bool setFeature (int feature, double value)=0
 Set the requested feature to a value (saturation, brightness ... ) More...
 
virtual bool getFeature (int feature, double *value)=0
 Get the current value for the requested feature. More...
 
virtual bool setFeature (int feature, double value1, double value2)=0
 Set the requested feature to a value using 2 params (like white balance) More...
 
virtual bool getFeature (int feature, double *value1, double *value2)=0
 Get the current value for the requested feature. More...
 
virtual bool hasOnOff (int feature, bool *HasOnOff)=0
 Check if the camera has the ability to turn on/off the requested feature. More...
 
virtual bool setActive (int feature, bool onoff)=0
 Set the requested feature on or off. More...
 
virtual bool getActive (int feature, bool *isActive)=0
 Get the current status of the feature, on or off. More...
 
virtual bool hasAuto (int feature, bool *hasAuto)=0
 Check if the requested feature has the 'auto' mode. More...
 
virtual bool hasManual (int feature, bool *hasManual)=0
 Check if the requested feature has the 'manual' mode. More...
 
virtual bool hasOnePush (int feature, bool *hasOnePush)=0
 Check if the requested feature has the 'onePush' mode. More...
 
virtual bool setMode (int feature, FeatureMode mode)=0
 Set the requested mode for the feature. More...
 
virtual bool getMode (int feature, FeatureMode *mode)=0
 Get the current mode for the feature. More...
 
virtual bool setOnePush (int feature)=0
 Set the requested feature to a value (saturation, brightness ... ) More...
 
- Public Member Functions inherited from yarp::proto::framegrabber::FrameGrabberControlsDC1394_Forwarder
 FrameGrabberControlsDC1394_Forwarder (yarp::os::Port &port)
 
 ~FrameGrabberControlsDC1394_Forwarder () override=default
 
unsigned int getVideoModeMaskDC1394 () override
 
unsigned int getVideoModeDC1394 () override
 
bool setVideoModeDC1394 (int video_mode) override
 
unsigned int getFPSMaskDC1394 () override
 
unsigned int getFPSDC1394 () override
 
bool setFPSDC1394 (int fps) override
 
unsigned int getISOSpeedDC1394 () override
 
bool setISOSpeedDC1394 (int speed) override
 
unsigned int getColorCodingMaskDC1394 (unsigned int video_mode) override
 
unsigned int getColorCodingDC1394 () override
 
bool setColorCodingDC1394 (int coding) override
 
bool getFormat7MaxWindowDC1394 (unsigned int &xdim, unsigned int &ydim, unsigned int &xstep, unsigned int &ystep, unsigned int &xoffstep, unsigned int &yoffstep) override
 
bool getFormat7WindowDC1394 (unsigned int &xdim, unsigned int &ydim, int &x0, int &y0) override
 
bool setFormat7WindowDC1394 (unsigned int xdim, unsigned int ydim, int x0, int y0) override
 
bool setOperationModeDC1394 (bool b1394b) override
 
bool getOperationModeDC1394 () override
 
bool setTransmissionDC1394 (bool bTxON) override
 
bool getTransmissionDC1394 () override
 
bool setBroadcastDC1394 (bool onoff) override
 
bool setDefaultsDC1394 () override
 
bool setResetDC1394 () override
 
bool setPowerDC1394 (bool onoff) override
 
bool setCaptureDC1394 (bool bON) override
 
bool setBytesPerPacketDC1394 (unsigned int bpp) override
 
unsigned int getBytesPerPacketDC1394 () override
 
- Public Member Functions inherited from yarp::dev::IFrameGrabberControlsDC1394
virtual ~IFrameGrabberControlsDC1394 ()
 
virtual unsigned int getVideoModeMaskDC1394 ()=0
 
virtual unsigned int getVideoModeDC1394 ()=0
 
virtual bool setVideoModeDC1394 (int video_mode)=0
 
virtual unsigned int getFPSMaskDC1394 ()=0
 
virtual unsigned int getFPSDC1394 ()=0
 
virtual bool setFPSDC1394 (int fps)=0
 
virtual unsigned int getISOSpeedDC1394 ()=0
 
virtual bool setISOSpeedDC1394 (int speed)=0
 
virtual unsigned int getColorCodingMaskDC1394 (unsigned int video_mode)=0
 
virtual unsigned int getColorCodingDC1394 ()=0
 
virtual bool setColorCodingDC1394 (int coding)=0
 
virtual bool getFormat7MaxWindowDC1394 (unsigned int &xdim, unsigned int &ydim, unsigned int &xstep, unsigned int &ystep, unsigned int &xoffstep, unsigned int &yoffstep)=0
 
virtual bool getFormat7WindowDC1394 (unsigned int &xdim, unsigned int &ydim, int &x0, int &y0)=0
 
virtual bool setFormat7WindowDC1394 (unsigned int xdim, unsigned int ydim, int x0, int y0)=0
 
virtual bool setOperationModeDC1394 (bool b1394b)=0
 
virtual bool getOperationModeDC1394 ()=0
 
virtual bool setTransmissionDC1394 (bool bTxON)=0
 
virtual bool getTransmissionDC1394 ()=0
 
virtual bool setBroadcastDC1394 (bool onoff)=0
 
virtual bool setDefaultsDC1394 ()=0
 
virtual bool setResetDC1394 ()=0
 
virtual bool setPowerDC1394 (bool onoff)=0
 
virtual bool setCaptureDC1394 (bool bON)=0
 
virtual unsigned int getBytesPerPacketDC1394 ()=0
 
virtual bool setBytesPerPacketDC1394 (unsigned int bpp)=0
 
- Public Member Functions inherited from yarp::proto::framegrabber::RgbVisualParams_Forwarder
 RgbVisualParams_Forwarder (yarp::os::Port &port)
 
 ~RgbVisualParams_Forwarder () override=default
 
int getRgbHeight () override
 Return the height of each frame. More...
 
int getRgbWidth () override
 Return the width of each frame. More...
 
bool getRgbSupportedConfigurations (yarp::sig::VectorOf< yarp::dev::CameraConfig > &configurations) override
 Get the possible configurations of the camera. More...
 
bool getRgbResolution (int &width, int &height) override
 Get the resolution of the rgb image from the camera. More...
 
bool setRgbResolution (int width, int height) override
 Set the resolution of the rgb image from the camera. More...
 
bool getRgbFOV (double &horizontalFov, double &verticalFov) override
 Get the field of view (FOV) of the rgb camera. More...
 
bool setRgbFOV (double horizontalFov, double verticalFov) override
 Set the field of view (FOV) of the rgb camera. More...
 
bool getRgbIntrinsicParam (yarp::os::Property &intrinsic) override
 Get the intrinsic parameters of the rgb camera. More...
 
bool getRgbMirroring (bool &mirror) override
 Get the mirroring setting of the sensor. More...
 
bool setRgbMirroring (bool mirror) override
 Set the mirroring setting of the sensor. More...
 
- Public Member Functions inherited from yarp::dev::IRgbVisualParams
virtual ~IRgbVisualParams ()
 
virtual int getRgbHeight ()=0
 Return the height of each frame. More...
 
virtual int getRgbWidth ()=0
 Return the width of each frame. More...
 
virtual bool getRgbSupportedConfigurations (yarp::sig::VectorOf< yarp::dev::CameraConfig > &configurations)
 Get the possible configurations of the camera. More...
 
virtual bool getRgbResolution (int &width, int &height)
 Get the resolution of the rgb image from the camera. More...
 
virtual bool setRgbResolution (int width, int height)=0
 Set the resolution of the rgb image from the camera. More...
 
virtual bool getRgbFOV (double &horizontalFov, double &verticalFov)=0
 Get the field of view (FOV) of the rgb camera. More...
 
virtual bool setRgbFOV (double horizontalFov, double verticalFov)=0
 Set the field of view (FOV) of the rgb camera. More...
 
virtual bool getRgbIntrinsicParam (yarp::os::Property &intrinsic)=0
 Get the intrinsic parameters of the rgb camera. More...
 
virtual bool getRgbMirroring (bool &mirror)=0
 Get the mirroring setting of the sensor. More...
 
virtual bool setRgbMirroring (bool mirror)=0
 Set the mirroring setting of the sensor. More...
 

Protected Member Functions

bool setCommand (int code, double v)
 
bool setCommand (int code, double b, double r)
 
double getCommand (int code) const
 
bool getCommand (int code, double &b, double &r) const
 

Protected Attributes

IFrameGrabberControlsDC1394 * Ifirewire {nullptr}
 
- Protected Attributes inherited from yarp::proto::framegrabber::RgbVisualParams_Forwarder
yarp::os::Portm_port
 

Detailed Description

remote_grabber: Connect to a ServerFrameGrabber. See ServerFrameGrabber for the network protocol used.

remoteFrameGrabber

Definition at line 35 of file RemoteFrameGrabber.h.

Constructor & Destructor Documentation

◆ RemoteFrameGrabber() [1/3]

RemoteFrameGrabber::RemoteFrameGrabber ( )

Definition at line 15 of file RemoteFrameGrabber.cpp.

◆ RemoteFrameGrabber() [2/3]

RemoteFrameGrabber::RemoteFrameGrabber ( const RemoteFrameGrabber )
delete

◆ RemoteFrameGrabber() [3/3]

RemoteFrameGrabber::RemoteFrameGrabber ( RemoteFrameGrabber &&  )
delete

◆ ~RemoteFrameGrabber()

RemoteFrameGrabber::~RemoteFrameGrabber ( )
overridedefault

Member Function Documentation

◆ close()

bool RemoteFrameGrabber::close ( )
inlineoverridevirtual

Close the DeviceDriver.

Returns
true/false on success/failure.

Reimplemented from yarp::dev::DeviceDriver.

Definition at line 162 of file RemoteFrameGrabber.h.

◆ getBrightness()

double RemoteFrameGrabber::getBrightness ( )
inlineoverridevirtual

Read the brightness parameter.

Returns
the current brightness value.

Reimplemented from yarp::proto::framegrabber::FrameGrabberControls_Forwarder.

Definition at line 174 of file RemoteFrameGrabber.h.

◆ getCommand() [1/2]

double RemoteFrameGrabber::getCommand ( int  code) const
inlineprotected

Definition at line 297 of file RemoteFrameGrabber.h.

◆ getCommand() [2/2]

bool RemoteFrameGrabber::getCommand ( int  code,
double &  b,
double &  r 
) const
inlineprotected

Definition at line 308 of file RemoteFrameGrabber.h.

◆ getExposure()

double RemoteFrameGrabber::getExposure ( )
inlineoverridevirtual

Read the exposure parameter.

Returns
the current exposure value.

Reimplemented from yarp::proto::framegrabber::FrameGrabberControls_Forwarder.

Definition at line 182 of file RemoteFrameGrabber.h.

◆ getGain()

double RemoteFrameGrabber::getGain ( )
inlineoverridevirtual

Read the gain parameter.

Returns
the current gain value.

Reimplemented from yarp::proto::framegrabber::FrameGrabberControls_Forwarder.

Definition at line 245 of file RemoteFrameGrabber.h.

◆ getGamma()

double RemoteFrameGrabber::getGamma ( )
inlineoverridevirtual

Read the gamma parameter.

Returns
the current gamma value.

Reimplemented from yarp::proto::framegrabber::FrameGrabberControls_Forwarder.

Definition at line 227 of file RemoteFrameGrabber.h.

◆ getHue()

double RemoteFrameGrabber::getHue ( )
inlineoverridevirtual

Read the hue parameter.

Returns
the current hue value.

Reimplemented from yarp::proto::framegrabber::FrameGrabberControls_Forwarder.

Definition at line 209 of file RemoteFrameGrabber.h.

◆ getImage()

bool RemoteFrameGrabber::getImage ( yarp::sig::ImageOf< yarp::sig::PixelRgb > &  image)
inlineoverridevirtual

Get an image from the frame grabber.

Parameters
imagethe image to be filled
Returns
true/false upon success/failure

Implements yarp::dev::IFrameGrabberOf< yarp::sig::ImageOf< yarp::sig::PixelRgb > >.

Definition at line 51 of file RemoteFrameGrabber.h.

◆ getImageCrop()

bool RemoteFrameGrabber::getImageCrop ( cropType_id_t  cropType,
yarp::sig::VectorOf< std::pair< int, int > >  vertices,
yarp::sig::ImageOf< yarp::sig::PixelRgb > &  image 
)
inlineoverridevirtual

Get a crop of the image from the frame grabber.

Note: this is not configuring the camera sensor to acquire a crop of the image, nor to generate a cropped version of the streaming. Instead, the full image is acquired and then a crop is created from it. If the hardware supports it, it is possible to override this method and request a hardware crop.

Parameters
cropTypeenum specifying how the crop shall be generated
verticesthe input coordinate (u,v) required by the cropType
imagethe image to be filled
Returns
true/false upon success/failure

Reimplemented from yarp::dev::IFrameGrabberOf< yarp::sig::ImageOf< yarp::sig::PixelRgb > >.

Definition at line 72 of file RemoteFrameGrabber.h.

◆ getIris()

double RemoteFrameGrabber::getIris ( )
inlineoverridevirtual

Read the iris parameter.

Returns
the current iris value.

Reimplemented from yarp::proto::framegrabber::FrameGrabberControls_Forwarder.

Definition at line 254 of file RemoteFrameGrabber.h.

◆ getSaturation()

double RemoteFrameGrabber::getSaturation ( )
inlineoverridevirtual

Read the saturation parameter.

Returns
the current saturation value.

Reimplemented from yarp::proto::framegrabber::FrameGrabberControls_Forwarder.

Definition at line 218 of file RemoteFrameGrabber.h.

◆ getSharpness()

double RemoteFrameGrabber::getSharpness ( )
inlineoverridevirtual

Read the sharpness parameter.

Returns
the current sharpness value.

Reimplemented from yarp::proto::framegrabber::FrameGrabberControls_Forwarder.

Definition at line 191 of file RemoteFrameGrabber.h.

◆ getShutter()

double RemoteFrameGrabber::getShutter ( )
inlineoverridevirtual

Read the shutter parameter.

Returns
the current shutter value.

Reimplemented from yarp::proto::framegrabber::FrameGrabberControls_Forwarder.

Definition at line 236 of file RemoteFrameGrabber.h.

◆ getWhiteBalance()

bool RemoteFrameGrabber::getWhiteBalance ( double &  blue,
double &  red 
)
inlineoverridevirtual

Read the white balance parameters.

Parameters
bluereference to return value for the red parameter.
redreference to return value for the green parameter.
Returns
true/false.

Reimplemented from yarp::proto::framegrabber::FrameGrabberControls_Forwarder.

Definition at line 200 of file RemoteFrameGrabber.h.

◆ height()

int RemoteFrameGrabber::height ( ) const
inlineoverridevirtual

Return the height of each frame.

Returns
image height

Implements yarp::dev::IFrameGrabberImageBase.

Definition at line 107 of file RemoteFrameGrabber.h.

◆ open()

bool RemoteFrameGrabber::open ( yarp::os::Searchable config)
inlineoverridevirtual

Configure with a set of options.

These are:

local Port name of this client.
remote Port name of server to connect to.
Parameters
configThe options to use
Returns
true iff the object could be configured.

Reimplemented from yarp::dev::DeviceDriver.

Definition at line 127 of file RemoteFrameGrabber.h.

◆ operator=() [1/2]

RemoteFrameGrabber & RemoteFrameGrabber::operator= ( const RemoteFrameGrabber )
delete

◆ operator=() [2/2]

RemoteFrameGrabber & RemoteFrameGrabber::operator= ( RemoteFrameGrabber &&  )
delete

◆ setBrightness()

bool RemoteFrameGrabber::setBrightness ( double  v)
inlineoverridevirtual

Set the brightness.

Parameters
vnew value for parameter.
Returns
true on success.

Reimplemented from yarp::proto::framegrabber::FrameGrabberControls_Forwarder.

Definition at line 170 of file RemoteFrameGrabber.h.

◆ setCommand() [1/2]

bool RemoteFrameGrabber::setCommand ( int  code,
double  b,
double  r 
)
inlineprotected

Definition at line 285 of file RemoteFrameGrabber.h.

◆ setCommand() [2/2]

bool RemoteFrameGrabber::setCommand ( int  code,
double  v 
)
inlineprotected

Definition at line 274 of file RemoteFrameGrabber.h.

◆ setExposure()

bool RemoteFrameGrabber::setExposure ( double  v)
inlineoverridevirtual

Set the exposure.

Parameters
vnew value for parameter.
Returns
true on success.

Reimplemented from yarp::proto::framegrabber::FrameGrabberControls_Forwarder.

Definition at line 178 of file RemoteFrameGrabber.h.

◆ setGain()

bool RemoteFrameGrabber::setGain ( double  v)
inlineoverridevirtual

Set the gain.

Parameters
vnew value for parameter.
Returns
true on success.

Reimplemented from yarp::proto::framegrabber::FrameGrabberControls_Forwarder.

Definition at line 241 of file RemoteFrameGrabber.h.

◆ setGamma()

bool RemoteFrameGrabber::setGamma ( double  v)
inlineoverridevirtual

Set the gamma.

Parameters
vnew value for parameter.
Returns
true on success.

Reimplemented from yarp::proto::framegrabber::FrameGrabberControls_Forwarder.

Definition at line 223 of file RemoteFrameGrabber.h.

◆ setHue()

bool RemoteFrameGrabber::setHue ( double  v)
inlineoverridevirtual

Set the hue.

Parameters
vnew value for parameter.
Returns
true on success.

Reimplemented from yarp::proto::framegrabber::FrameGrabberControls_Forwarder.

Definition at line 205 of file RemoteFrameGrabber.h.

◆ setIris()

bool RemoteFrameGrabber::setIris ( double  v)
inlineoverridevirtual

Set the iris.

Parameters
vnew value for parameter.
Returns
true on success.

Reimplemented from yarp::proto::framegrabber::FrameGrabberControls_Forwarder.

Definition at line 250 of file RemoteFrameGrabber.h.

◆ setSaturation()

bool RemoteFrameGrabber::setSaturation ( double  v)
inlineoverridevirtual

Set the saturation.

Parameters
vnew value for parameter.
Returns
true on success.

Reimplemented from yarp::proto::framegrabber::FrameGrabberControls_Forwarder.

Definition at line 214 of file RemoteFrameGrabber.h.

◆ setSharpness()

bool RemoteFrameGrabber::setSharpness ( double  v)
inlineoverridevirtual

Set the sharpness.

Parameters
vnew value for parameter.
Returns
true on success.

Reimplemented from yarp::proto::framegrabber::FrameGrabberControls_Forwarder.

Definition at line 187 of file RemoteFrameGrabber.h.

◆ setShutter()

bool RemoteFrameGrabber::setShutter ( double  v)
inlineoverridevirtual

Set the shutter parameter.

Parameters
vnew value for parameter.
Returns
true on success.

Reimplemented from yarp::proto::framegrabber::FrameGrabberControls_Forwarder.

Definition at line 232 of file RemoteFrameGrabber.h.

◆ setWhiteBalance()

bool RemoteFrameGrabber::setWhiteBalance ( double  blue,
double  red 
)
inlineoverridevirtual

Set the white balance for the frame grabber.

Parameters
bluecomponent gain.
redcomponent gain.
Returns
true/false if successful or not.

Reimplemented from yarp::proto::framegrabber::FrameGrabberControls_Forwarder.

Definition at line 196 of file RemoteFrameGrabber.h.

◆ width()

int RemoteFrameGrabber::width ( ) const
inlineoverridevirtual

Return the width of each frame.

Returns
image width

Implements yarp::dev::IFrameGrabberImageBase.

Definition at line 112 of file RemoteFrameGrabber.h.

Member Data Documentation

◆ Ifirewire

IFrameGrabberControlsDC1394* RemoteFrameGrabber::Ifirewire {nullptr}
protected

Definition at line 272 of file RemoteFrameGrabber.h.


The documentation for this class was generated from the following files: