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

#include <CarlaRecorderCollision.h>

+ Collaboration diagram for CarlaRecorderCollision:

Public Member Functions

bool operator== (const CarlaRecorderCollision &Other) const
 
void Read (std::istream &InFile)
 
void Write (std::ostream &OutFile) const
 

Public Attributes

uint32_t DatabaseId1
 
uint32_t DatabaseId2
 
uint32_t Id
 
bool IsActor1Hero
 
bool IsActor2Hero
 

Detailed Description

Definition at line 14 of file CarlaRecorderCollision.h.

Member Function Documentation

◆ operator==()

bool CarlaRecorderCollision::operator== ( const CarlaRecorderCollision Other) const

Definition at line 33 of file CarlaRecorderCollision.cpp.

References DatabaseId1, and DatabaseId2.

◆ Read()

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

Definition at line 11 of file CarlaRecorderCollision.cpp.

References DatabaseId1, DatabaseId2, Id, IsActor1Hero, and IsActor2Hero.

Referenced by CarlaRecorderQuery::QueryCollisions(), and CarlaRecorderQuery::QueryInfo().

+ Here is the caller graph for this function:

◆ Write()

void CarlaRecorderCollision::Write ( std::ostream &  OutFile) const

Definition at line 22 of file CarlaRecorderCollision.cpp.

References DatabaseId1, DatabaseId2, Id, IsActor1Hero, and IsActor2Hero.

Member Data Documentation

◆ DatabaseId1

uint32_t CarlaRecorderCollision::DatabaseId1

◆ DatabaseId2

uint32_t CarlaRecorderCollision::DatabaseId2

◆ Id

uint32_t CarlaRecorderCollision::Id

◆ IsActor1Hero

bool CarlaRecorderCollision::IsActor1Hero

◆ IsActor2Hero

bool CarlaRecorderCollision::IsActor2Hero

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