#include <messages/ISimulatedWorldMsgs/idl_generated_code/Color.h>
|
| std::int16_t | r {0} |
| |
| std::int16_t | g {0} |
| |
| std::int16_t | b {0} |
| |
Definition at line 17 of file Color.h.
◆ unwrapped
◆ Color() [1/2]
◆ Color() [2/2]
| Color::Color |
( |
const std::int16_t |
r, |
|
|
const std::int16_t |
g, |
|
|
const std::int16_t |
b |
|
) |
| |
◆ read() [1/2]
Read this object from a network connection.
Override this for your particular class.
- Parameters
-
| reader | an interface to the network connection for reading |
- Returns
- true iff the object is successfully read
Implements yarp::os::Portable.
Definition at line 43 of file Color.cpp.
◆ read() [2/2]
◆ toString()
| std::string Color::toString |
( |
| ) |
const |
◆ write() [1/2]
◆ write() [2/2]
Write this object to a network connection.
Override this for your particular class. Be aware that depending on the nature of the connections a port has, and what protocol they use, and how efficient the YARP implementation is, this method may be called once, twice, or many times, as the result of a single call to Port::write
- Parameters
-
| writer | an interface to the network connection for writing |
- Returns
- true iff the object is successfully written
Implements yarp::os::Portable.
Definition at line 74 of file Color.cpp.
| std::int16_t Color::b {0} |
| std::int16_t Color::g {0} |
| std::int16_t Color::r {0} |
The documentation for this class was generated from the following files:
- src/devices/messages/ISimulatedWorldMsgs/idl_generated_code/Color.h
- src/devices/messages/ISimulatedWorldMsgs/idl_generated_code/Color.cpp