21#include "gmock/gmock.h"
22#include "gtest/gtest.h"
23#include "yarp/dev/FrameGrabberInterfaces.h"
Mocking class created to replace the grabber object.
bool getMode(int feature, FeatureMode *mode) override
bool setOnePush(int feature) override
bool getActive(int feature, bool *isActive) override
bool hasOnePush(int feature, bool *hasOnePush) override
bool hasAuto(int feature, bool *hasAuto) override
bool getCameraDescription(CameraDescriptor *camera) override
bool getFeature(int feature, double *value1, double *value2) override
bool hasFeature(int feature, bool *hasFeature) override
MOCK_METHOD(bool, getFeature,(int, double *),(override))
MOCK_METHOD(bool, setFeature,(int, double),(override))
bool hasOnOff(int feature, bool *HasOnOff) override
bool hasManual(int feature, bool *hasManual) override
bool setFeature(int feature, double value1, double value2) override
bool setActive(int feature, bool onoff) override
bool setMode(int feature, FeatureMode mode) override
Control interface for frame grabber devices.