9 #ifndef YARP_DEV_FRAMEGRABBERCONTROLIMPL_H
10 #define YARP_DEV_FRAMEGRABBERCONTROLIMPL_H
22 class FrameGrabberControls_Parser;
23 class FrameGrabberControls_Sender;
41 bool hasFeature(
int feature,
bool *hasFeature)
override;
42 bool setFeature(
int feature,
double value)
override;
43 bool getFeature(
int feature,
double *value)
override;
44 bool setFeature(
int feature,
double value1,
double value2)
override;
45 bool getFeature(
int feature,
double *value1,
double *value2)
override;
46 bool hasOnOff(
int feature,
bool *HasOnOff)
override;
47 bool setActive(
int feature,
bool onoff)
override;
48 bool getActive(
int feature,
bool *isActive)
override;
49 bool hasAuto(
int feature,
bool *hasAuto)
override;
50 bool hasManual(
int feature,
bool *hasManual)
override;
51 bool hasOnePush(
int feature,
bool *hasOnePush)
override;
define common interfaces to discover remote camera capabilities
A cheap and cheerful framework for human readable/writable forms of messages to devices.
virtual ~FrameGrabberControls_Parser()
This classes implement a sender / parser for IFrameGrabberControls interface messages.
bool hasFeature(int feature, bool *hasFeature) override
Check if camera has the requested feature (saturation, brightness ...
bool setMode(int feature, FeatureMode mode) override
Set the requested mode for the feature.
bool setActive(int feature, bool onoff) override
Set the requested feature on or off.
bool hasManual(int feature, bool *hasManual) override
Check if the requested feature has the 'manual' mode.
bool getMode(int feature, FeatureMode *mode) override
Get the current mode for the feature.
FrameGrabberControls_Sender(yarp::os::Port &port)
bool setFeature(int feature, double value) override
Set the requested feature to a value (saturation, brightness ...
bool getFeature(int feature, double *value) override
Get the current value for the requested feature.
virtual ~FrameGrabberControls_Sender()
bool setOnePush(int feature) override
Set the requested feature to a value (saturation, brightness ...
bool hasOnOff(int feature, bool *HasOnOff) override
Check if the camera has the ability to turn on/off the requested feature.
bool hasAuto(int feature, bool *hasAuto) override
Check if the requested feature has the 'auto' mode.
bool getActive(int feature, bool *isActive) override
Get the current status of the feature, on or off.
bool getCameraDescription(CameraDescriptor *camera) override
Get a basic description of the camera hw.
bool hasOnePush(int feature, bool *hasOnePush) override
Check if the requested feature has the 'onePush' mode.
Control interface for frame grabber devices.
A simple collection of objects that can be described and transmitted in a portable way.
A mini-server for network communication.
The main, catch-all namespace for YARP.