CARLA
Public Member Functions | Public Attributes | List of all members
CarlaRecorderTrafficLightTime Struct Reference

#include <CarlaRecorderTraficLightTime.h>

+ Collaboration diagram for CarlaRecorderTrafficLightTime:

Public Member Functions

void Read (std::istream &InFile)
 
void Write (std::ostream &OutFile)
 

Public Attributes

uint32_t DatabaseId
 
float GreenTime = 0
 
float RedTime = 0
 
float YellowTime = 0
 

Detailed Description

Definition at line 13 of file CarlaRecorderTraficLightTime.h.

Member Function Documentation

◆ Read()

void CarlaRecorderTrafficLightTime::Read ( std::istream &  InFile)

Definition at line 20 of file CarlaRecorderTraficLightTime.cpp.

References DatabaseId, GreenTime, ReadValue(), RedTime, and YellowTime.

Referenced by CarlaRecorderQuery::QueryInfo().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Write()

void CarlaRecorderTrafficLightTime::Write ( std::ostream &  OutFile)

Definition at line 12 of file CarlaRecorderTraficLightTime.cpp.

References DatabaseId, GreenTime, RedTime, WriteValue(), and YellowTime.

+ Here is the call graph for this function:

Member Data Documentation

◆ DatabaseId

uint32_t CarlaRecorderTrafficLightTime::DatabaseId

Definition at line 15 of file CarlaRecorderTraficLightTime.h.

Referenced by CarlaRecorderQuery::QueryInfo(), Read(), and Write().

◆ GreenTime

float CarlaRecorderTrafficLightTime::GreenTime = 0

Definition at line 16 of file CarlaRecorderTraficLightTime.h.

Referenced by CarlaRecorderQuery::QueryInfo(), Read(), and Write().

◆ RedTime

float CarlaRecorderTrafficLightTime::RedTime = 0

Definition at line 18 of file CarlaRecorderTraficLightTime.h.

Referenced by CarlaRecorderQuery::QueryInfo(), Read(), and Write().

◆ YellowTime

float CarlaRecorderTrafficLightTime::YellowTime = 0

Definition at line 17 of file CarlaRecorderTraficLightTime.h.

Referenced by CarlaRecorderQuery::QueryInfo(), Read(), and Write().


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