gazebo-yarp-plugins
Gazebo Plugins exposing YARP interfaces.
Loading...
Searching...
No Matches
GazeboYarpPlugins::Color Class Reference

#include <Color.h>

Inheritance diagram for GazeboYarpPlugins::Color:
Collaboration diagram for GazeboYarpPlugins::Color:

Public Types

typedef yarp::os::idl::Unwrapped< Colorunwrapped
 
typedef yarp::os::idl::Unwrapped< Colorunwrapped
 

Public Member Functions

 Color ()=default
 
 Color (const std::int16_t r, const std::int16_t g, const std::int16_t b)
 
bool read (yarp::os::idl::WireReader &reader) override
 
bool read (yarp::os::ConnectionReader &connection) override
 
bool write (const yarp::os::idl::WireWriter &writer) const override
 
bool write (yarp::os::ConnectionWriter &connection) const override
 
std::string toString () const
 
 Color ()=default
 
 Color (const std::int16_t r, const std::int16_t g, const std::int16_t b)
 
bool read (yarp::os::idl::WireReader &reader) override
 
bool read (yarp::os::ConnectionReader &connection) override
 
bool write (const yarp::os::idl::WireWriter &writer) const override
 
bool write (yarp::os::ConnectionWriter &connection) const override
 
std::string toString () const
 

Public Attributes

std::int16_t r {0}
 
std::int16_t g {0}
 
std::int16_t b {0}
 

Member Typedef Documentation

◆ unwrapped [1/2]

typedef yarp::os::idl::Unwrapped<Color> GazeboYarpPlugins::Color::unwrapped

◆ unwrapped [2/2]

typedef yarp::os::idl::Unwrapped<Color> GazeboYarpPlugins::Color::unwrapped

Constructor & Destructor Documentation

◆ Color() [1/4]

GazeboYarpPlugins::Color::Color ( )
default

◆ Color() [2/4]

GazeboYarpPlugins::Color::Color ( const std::int16_t r,
const std::int16_t g,
const std::int16_t b )

◆ Color() [3/4]

GazeboYarpPlugins::Color::Color ( )
default

◆ Color() [4/4]

GazeboYarpPlugins::Color::Color ( const std::int16_t r,
const std::int16_t g,
const std::int16_t b )

Member Function Documentation

◆ read() [1/4]

bool GazeboYarpPlugins::Color::read ( yarp::os::idl::WireReader & reader)
override

◆ read() [2/4]

bool GazeboYarpPlugins::Color::read ( yarp::os::ConnectionReader & connection)
override

◆ write() [1/4]

bool GazeboYarpPlugins::Color::write ( const yarp::os::idl::WireWriter & writer) const
override

◆ write() [2/4]

bool GazeboYarpPlugins::Color::write ( yarp::os::ConnectionWriter & connection) const
override

◆ toString() [1/2]

std::string GazeboYarpPlugins::Color::toString ( ) const

◆ read() [3/4]

bool GazeboYarpPlugins::Color::read ( yarp::os::idl::WireReader & reader)
override

◆ read() [4/4]

bool GazeboYarpPlugins::Color::read ( yarp::os::ConnectionReader & connection)
override

◆ write() [3/4]

bool GazeboYarpPlugins::Color::write ( const yarp::os::idl::WireWriter & writer) const
override

◆ write() [4/4]

bool GazeboYarpPlugins::Color::write ( yarp::os::ConnectionWriter & connection) const
override

◆ toString() [2/2]

std::string GazeboYarpPlugins::Color::toString ( ) const

Member Data Documentation

◆ r

std::int16_t GazeboYarpPlugins::Color::r {0}

◆ g

std::int16_t GazeboYarpPlugins::Color::g {0}

◆ b

std::int16_t GazeboYarpPlugins::Color::b {0}

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