CARLA
Public Member Functions | Public Attributes | List of all members
carla::rpc::Color Class Reference

#include <Color.h>

+ Collaboration diagram for carla::rpc::Color:

Public Member Functions

 Color ()=default
 
 Color (const Color &)=default
 
 Color (uint8_t r, uint8_t g, uint8_t b)
 
 MSGPACK_DEFINE_ARRAY (r, g, b)
 
Coloroperator= (const Color &)=default
 

Public Attributes

uint8_t b = 0u
 
uint8_t g = 0u
 
uint8_t r = 0u
 

Detailed Description

Definition at line 20 of file rpc/Color.h.

Constructor & Destructor Documentation

◆ Color() [1/3]

carla::rpc::Color::Color ( )
default

Referenced by Color().

+ Here is the caller graph for this function:

◆ Color() [2/3]

carla::rpc::Color::Color ( const Color )
default

◆ Color() [3/3]

carla::rpc::Color::Color ( uint8_t  r,
uint8_t  g,
uint8_t  b 
)
inline

Definition at line 30 of file rpc/Color.h.

References b, Color(), g, MSGPACK_DEFINE_ARRAY(), operator=(), and r.

+ Here is the call graph for this function:

Member Function Documentation

◆ MSGPACK_DEFINE_ARRAY()

carla::rpc::Color::MSGPACK_DEFINE_ARRAY ( r  ,
g  ,
b   
)

Referenced by Color().

+ Here is the caller graph for this function:

◆ operator=()

Color& carla::rpc::Color::operator= ( const Color )
default

Referenced by Color().

+ Here is the caller graph for this function:

Member Data Documentation

◆ b

uint8_t carla::rpc::Color::b = 0u

Definition at line 25 of file rpc/Color.h.

Referenced by Color().

◆ g

uint8_t carla::rpc::Color::g = 0u

Definition at line 24 of file rpc/Color.h.

Referenced by Color().

◆ r

uint8_t carla::rpc::Color::r = 0u

Definition at line 23 of file rpc/Color.h.

Referenced by Color().


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