Eclipse SUMO - Simulation of Urban MObility
libsumo::TraCIColor Struct Reference

A color. More...

#include <TraCIDefs.h>

Inheritance diagram for libsumo::TraCIColor:
Collaboration diagram for libsumo::TraCIColor:

Public Member Functions

std::string getString ()
 
 TraCIColor ()
 
 TraCIColor (int r, int g, int b, int a=255)
 

Data Fields

int a
 
int b
 
int g
 
int r
 

Detailed Description

A color.

Definition at line 136 of file TraCIDefs.h.

Constructor & Destructor Documentation

◆ TraCIColor() [1/2]

libsumo::TraCIColor::TraCIColor ( )
inline

Definition at line 137 of file TraCIDefs.h.

◆ TraCIColor() [2/2]

libsumo::TraCIColor::TraCIColor ( int  r,
int  g,
int  b,
int  a = 255 
)
inline

Definition at line 138 of file TraCIDefs.h.

Member Function Documentation

◆ getString()

std::string libsumo::TraCIColor::getString ( )
inlinevirtual

Reimplemented from libsumo::TraCIResult.

Definition at line 139 of file TraCIDefs.h.

References a, b, g, and r.

Referenced by TraCITestClient::testAPI().

Field Documentation

◆ a

◆ b

◆ g

◆ r


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