20bool FrameGrabberControlsDC1394_Forwarder::setCommand(
int code,
double v)
28 m_port.
write(cmd, response);
33bool FrameGrabberControlsDC1394_Forwarder::setCommand(
int code,
double b,
double r)
42 m_port.
write(cmd, response);
47double FrameGrabberControlsDC1394_Forwarder::getCommand(
int code)
const
54 m_port.
write(cmd, response);
60bool FrameGrabberControlsDC1394_Forwarder::getCommand(
int code,
double& b,
double& r)
const
67 m_port.
write(cmd, response);
81 m_port.
write(cmd, response);
82 return static_cast<unsigned int>(response.
get(0).
asInt32());
92 m_port.
write(cmd, response);
93 return static_cast<unsigned int>(response.
get(0).
asInt32());
104 m_port.
write(cmd, response);
115 m_port.
write(cmd, response);
116 return static_cast<unsigned int>(response.
get(0).
asInt32());
126 m_port.
write(cmd, response);
127 return static_cast<unsigned int>(response.
get(0).
asInt32());
138 m_port.
write(cmd, response);
149 m_port.
write(cmd, response);
150 return static_cast<unsigned int>(response.
get(0).
asInt32());
161 m_port.
write(cmd, response);
173 m_port.
write(cmd, response);
174 return static_cast<unsigned int>(response.
get(0).
asInt32());
184 m_port.
write(cmd, response);
185 return static_cast<unsigned int>(response.
get(0).
asInt32());
196 m_port.
write(cmd, response);
205 unsigned int& xoffstep,
206 unsigned int& yoffstep)
212 m_port.
write(cmd, response);
230 m_port.
write(cmd, response);
249 m_port.
write(cmd, response);
261 m_port.
write(cmd, response);
272 m_port.
write(cmd, response);
284 m_port.
write(cmd, response);
295 m_port.
write(cmd, response);
306 cmd.
addInt32(
static_cast<int>(onoff));
307 m_port.
write(cmd, response);
318 m_port.
write(cmd, response);
329 m_port.
write(cmd, response);
340 cmd.
addInt32(
static_cast<int>(onoff));
341 m_port.
write(cmd, response);
353 m_port.
write(cmd, response);
365 m_port.
write(cmd, response);
376 m_port.
write(cmd, response);
377 return static_cast<unsigned int>(response.
get(0).
asInt32());
constexpr yarp::conf::vocab32_t VOCAB_DRGETISO
constexpr yarp::conf::vocab32_t VOCAB_DRSETFPS
constexpr yarp::conf::vocab32_t VOCAB_DRSETDEF
constexpr yarp::conf::vocab32_t VOCAB_DRSETVMD
constexpr yarp::conf::vocab32_t VOCAB_FRAMEGRABBER_CONTROL_DC1394
constexpr yarp::conf::vocab32_t VOCAB_DRSETWF7
constexpr yarp::conf::vocab32_t VOCAB_DRGETF7M
constexpr yarp::conf::vocab32_t VOCAB_DRSETBCS
constexpr yarp::conf::vocab32_t VOCAB_DRSETCAP
constexpr yarp::conf::vocab32_t VOCAB_DRSETCOD
constexpr yarp::conf::vocab32_t VOCAB_DRGETMSK
constexpr yarp::conf::vocab32_t VOCAB_DRGETFPS
constexpr yarp::conf::vocab32_t VOCAB_DRSETOPM
constexpr yarp::conf::vocab32_t VOCAB_DRGETBPP
constexpr yarp::conf::vocab32_t VOCAB_DRSETPWR
constexpr yarp::conf::vocab32_t VOCAB_DRGETCCM
constexpr yarp::conf::vocab32_t VOCAB_DRGETTXM
constexpr yarp::conf::vocab32_t VOCAB_DRSETRST
constexpr yarp::conf::vocab32_t VOCAB_DRSETBPP
constexpr yarp::conf::vocab32_t VOCAB_DRGETWF7
constexpr yarp::conf::vocab32_t VOCAB_DRGETVMD
constexpr yarp::conf::vocab32_t VOCAB_DRGETFPM
constexpr yarp::conf::vocab32_t VOCAB_DRSETTXM
constexpr yarp::conf::vocab32_t VOCAB_DRGETCOD
constexpr yarp::conf::vocab32_t VOCAB_DRSETISO
constexpr yarp::conf::vocab32_t VOCAB_DRGETOPM
constexpr yarp::conf::vocab32_t VOCAB_GET
constexpr yarp::conf::vocab32_t VOCAB_SET
A simple collection of objects that can be described and transmitted in a portable way.
void addVocab32(yarp::conf::vocab32_t x)
Places a vocabulary item in the bottle, at the end of the list.
void addFloat64(yarp::conf::float64_t x)
Places a 64-bit floating point number in the bottle, at the end of the list.
Value & get(size_type index) const
Reads a Value v from a certain part of the list.
void addInt32(std::int32_t x)
Places a 32-bit integer in the bottle, at the end of the list.
A mini-server for network communication.
bool write(const PortWriter &writer, const PortWriter *callback=nullptr) const override
Write an object to the port.
virtual yarp::conf::float64_t asFloat64() const
Get 64-bit floating point value.
virtual bool asBool() const
Get boolean value.
virtual std::int32_t asInt32() const
Get 32-bit integer value.
unsigned int getVideoModeMaskDC1394() override
bool getTransmissionDC1394() override
bool getFormat7WindowDC1394(unsigned int &xdim, unsigned int &ydim, int &x0, int &y0) override
bool setBroadcastDC1394(bool onoff) override
unsigned int getVideoModeDC1394() override
unsigned int getBytesPerPacketDC1394() override
unsigned int getColorCodingDC1394() override
unsigned int getISOSpeedDC1394() override
FrameGrabberControlsDC1394_Forwarder(yarp::os::Port &port)
unsigned int getFPSDC1394() override
bool setTransmissionDC1394(bool bTxON) override
bool setFormat7WindowDC1394(unsigned int xdim, unsigned int ydim, int x0, int y0) override
unsigned int getColorCodingMaskDC1394(unsigned int video_mode) override
bool setISOSpeedDC1394(int speed) override
bool setResetDC1394() override
bool setVideoModeDC1394(int video_mode) override
bool setColorCodingDC1394(int coding) override
bool setDefaultsDC1394() override
bool getOperationModeDC1394() override
unsigned int getFPSMaskDC1394() override
bool setCaptureDC1394(bool bON) override
bool setBytesPerPacketDC1394(unsigned int bpp) override
bool getFormat7MaxWindowDC1394(unsigned int &xdim, unsigned int &ydim, unsigned int &xstep, unsigned int &ystep, unsigned int &xoffstep, unsigned int &yoffstep) override
bool setFPSDC1394(int fps) override
bool setOperationModeDC1394(bool b1394b) override
bool setPowerDC1394(bool onoff) override