CARLA
Loading...
Searching...
No Matches
CarlaRecorderQuery Class Reference

#include <CarlaRecorderQuery.h>

Classes

struct  Header

Public Member Functions

std::string QueryBlocked (std::string Filename, double MinTime=30, double MinDistance=10)
std::string QueryCollisions (std::string Filename, char Category1='a', char Category2='a')
std::string QueryInfo (std::string Filename, bool bShowAll=false)

Private Member Functions

bool CheckFileInfo (std::stringstream &Info)
bool ReadHeader (void)
void SkipPacket (void)

Private Attributes

CarlaRecorderActorBoundingBox ActorBoundingBox
CarlaRecorderAnimBiker Biker
CarlaRecorderCollision Collision
CarlaRecorderDoorVehicle DoorVehicle
CarlaRecorderEventAdd EventAdd
CarlaRecorderEventDel EventDel
CarlaRecorderEventParent EventParent
std::ifstream File
CarlaRecorderFrame Frame
Header Header
CarlaRecorderKinematics Kinematics
CarlaRecorderLightScene LightScene
CarlaRecorderLightVehicle LightVehicle
CarlaRecorderPhysicsControl PhysicsControl
CarlaRecorderPlatformTime PlatformTime
CarlaRecorderPosition Position
CarlaRecorderInfo RecInfo
CarlaRecorderStateTrafficLight StateTraffic
CarlaRecorderTrafficLightTime TrafficLightTime
CarlaRecorderAnimVehicle Vehicle
CarlaRecorderAnimWheels VehicleWheels
CarlaRecorderVisualTime VisualTime
CarlaRecorderAnimWalker Walker
CarlaRecorderWalkerBones WalkerBones
CarlaRecorderWeather Weather

Detailed Description

Definition at line 35 of file CarlaRecorderQuery.h.

Member Function Documentation

◆ CheckFileInfo()

bool CarlaRecorderQuery::CheckFileInfo ( std::stringstream & Info)
inlineprivate

◆ QueryBlocked()

◆ QueryCollisions()

◆ QueryInfo()

std::string CarlaRecorderQuery::QueryInfo ( std::string Filename,
bool bShowAll = false )

Definition at line 136 of file CarlaRecorderQuery.cpp.

References ActorBoundingBox, All, CarlaRecorderKinematics::AngularVelocity, AnimBiker, AnimVehicle, AnimVehicleWheels, AnimWalker, CarlaRecorderActorDescription::Attributes, CarlaRecorderAnimVehicle::bHandbrake, Biker, CarlaRecorderLightScene::bOn, CarlaRecorderWalkerBones::Bones, CarlaRecorderActorBoundingBox::BoundingBox, BoundingBox, CarlaRecorderAnimVehicle::Brake, CheckFileInfo(), CarlaRecorderWalkerBones::Clear(), CarlaRecorderWeather::Cloudiness, Collision, Collision, CarlaRecorderLightScene::Color, CarlaRecorderActorBoundingBox::DatabaseId, CarlaRecorderAnimBiker::DatabaseId, CarlaRecorderAnimVehicle::DatabaseId, CarlaRecorderAnimWalker::DatabaseId, CarlaRecorderAnimWheels::DatabaseId, CarlaRecorderDoorVehicle::DatabaseId, CarlaRecorderEventAdd::DatabaseId, CarlaRecorderEventDel::DatabaseId, CarlaRecorderEventParent::DatabaseId, CarlaRecorderKinematics::DatabaseId, CarlaRecorderLightVehicle::DatabaseId, CarlaRecorderPhysicsControl::DatabaseId, CarlaRecorderPosition::DatabaseId, CarlaRecorderStateTrafficLight::DatabaseId, CarlaRecorderTrafficLightTime::DatabaseId, CarlaRecorderWalkerBones::DatabaseId, CarlaRecorderCollision::DatabaseId1, CarlaRecorderCollision::DatabaseId2, CarlaRecorderEventParent::DatabaseIdParent, CarlaRecorderEventAdd::Description, CarlaRecorderDoorVehicle::Doors, DoorVehicle, CarlaRecorderWeather::DustStorm, CarlaRecorderFrame::Elapsed, CarlaRecorderStateTrafficLight::ElapsedTime, CarlaRecorderAnimBiker::EngineRotation, EventAdd, EventAdd, EventDel, EventDel, EventParent, EventParent, CarlaRecorderBoundingBox::Extension, File, FL, CarlaRecorderWeather::FogDensity, CarlaRecorderWeather::FogDistance, CarlaRecorderWeather::FogFalloff, FormatCurveLike(), FormatVectorLike(), CarlaRecorderAnimBiker::ForwardSpeed, FR, Frame, FrameEnd, FrameStart, carla::rpc::VehiclePhysicsControl::FromFVehiclePhysicsControl(), CarlaRecorderAnimVehicle::Gear, GetRecorderFilename(), CarlaRecorderTrafficLightTime::GreenTime, Hood, CarlaRecorderActorDescription::Id, CarlaRecorderCollision::Id, CarlaRecorderFrame::Id, CarlaRecorderQuery::Header::Id, CarlaRecorderLightScene::Intensity, CarlaRecorderCollision::IsActor1Hero, CarlaRecorderCollision::IsActor2Hero, CarlaRecorderStateTrafficLight::IsFrozen, Kinematics, Kinematics, CarlaRecorderLightScene::LightId, LightScene, LightVehicle, CarlaRecorderKinematics::LinearVelocity, CarlaRecorderEventAdd::Location, CarlaRecorderPosition::Location, WheelInfo::Location, CarlaRecorderWeather::MieScatteringScale, CarlaRecorderBoundingBox::Origin, PhysicsControl, PhysicsControl, PlatformTime, PlatformTime, Position, Position, CarlaRecorderWeather::Precipitation, CarlaRecorderWeather::PrecipitationDeposits, CarlaRecorderWeather::RayleighScatteringScale, CarlaRecorderActorBoundingBox::Read(), CarlaRecorderAnimBiker::Read(), CarlaRecorderAnimVehicle::Read(), CarlaRecorderAnimWalker::Read(), CarlaRecorderAnimWheels::Read(), CarlaRecorderCollision::Read(), CarlaRecorderDoorVehicle::Read(), CarlaRecorderEventAdd::Read(), CarlaRecorderEventDel::Read(), CarlaRecorderEventParent::Read(), CarlaRecorderFrame::Read(), CarlaRecorderKinematics::Read(), CarlaRecorderLightScene::Read(), CarlaRecorderLightVehicle::Read(), CarlaRecorderPhysicsControl::Read(), CarlaRecorderPlatformTime::Read(), CarlaRecorderPosition::Read(), CarlaRecorderStateTrafficLight::Read(), CarlaRecorderTrafficLightTime::Read(), CarlaRecorderVisualTime::Read(), CarlaRecorderWalkerBones::Read(), CarlaRecorderWeather::Read(), ReadHeader(), ReadValue(), CarlaRecorderTrafficLightTime::RedTime, RL, CarlaRecorderPosition::Rotation, RR, CarlaRecorderWeather::ScatteringIntensity, SceneLight, SkipPacket(), CarlaRecorderAnimWalker::Speed, CarlaRecorderLightVehicle::State, State, CarlaRecorderStateTrafficLight::State, StateTraffic, CarlaRecorderAnimVehicle::Steering, WheelInfo::SteeringAngle, CarlaRecorderWeather::SunAltitudeAngle, CarlaRecorderWeather::SunAzimuthAngle, CarlaRecorderAnimVehicle::Throttle, CarlaRecorderPlatformTime::Time, CarlaRecorderVisualTime::Time, WheelInfo::TireRotation, TrafficLightTime, TrafficLightTime, TriggerVolume, Trunk, CarlaRecorderEventAdd::Type, Vehicle, VehicleDoor, VehicleLight, CarlaRecorderPhysicsControl::VehiclePhysicsControl, VehicleWheels, VisualTime, VisualTime, Walker, WalkerBones, WalkerBones, Weather, Weather, CarlaRecorderWeather::Wetness, CarlaRecorderAnimWheels::WheelValues, CarlaRecorderWeather::WindIntensity, and CarlaRecorderTrafficLightTime::YellowTime.

Referenced by ACarlaRecorder::ShowFileInfo().

◆ ReadHeader()

bool CarlaRecorderQuery::ReadHeader ( void )
inlineprivate

◆ SkipPacket()

void CarlaRecorderQuery::SkipPacket ( void )
inlineprivate

Definition at line 102 of file CarlaRecorderQuery.cpp.

References File, and CarlaRecorderQuery::Header::Size.

Referenced by QueryBlocked(), QueryCollisions(), and QueryInfo().

Member Data Documentation

◆ ActorBoundingBox

CarlaRecorderActorBoundingBox CarlaRecorderQuery::ActorBoundingBox
private

Definition at line 75 of file CarlaRecorderQuery.h.

Referenced by QueryInfo().

◆ Biker

CarlaRecorderAnimBiker CarlaRecorderQuery::Biker
private

Definition at line 70 of file CarlaRecorderQuery.h.

Referenced by QueryInfo().

◆ Collision

CarlaRecorderCollision CarlaRecorderQuery::Collision
private

Definition at line 65 of file CarlaRecorderQuery.h.

Referenced by QueryCollisions(), and QueryInfo().

◆ DoorVehicle

CarlaRecorderDoorVehicle CarlaRecorderQuery::DoorVehicle
private

Definition at line 80 of file CarlaRecorderQuery.h.

Referenced by QueryInfo().

◆ EventAdd

CarlaRecorderEventAdd CarlaRecorderQuery::EventAdd
private

Definition at line 61 of file CarlaRecorderQuery.h.

Referenced by QueryBlocked(), QueryCollisions(), and QueryInfo().

◆ EventDel

CarlaRecorderEventDel CarlaRecorderQuery::EventDel
private

Definition at line 62 of file CarlaRecorderQuery.h.

Referenced by QueryBlocked(), QueryCollisions(), and QueryInfo().

◆ EventParent

CarlaRecorderEventParent CarlaRecorderQuery::EventParent
private

Definition at line 63 of file CarlaRecorderQuery.h.

Referenced by QueryInfo().

◆ File

std::ifstream CarlaRecorderQuery::File
private

◆ Frame

CarlaRecorderFrame CarlaRecorderQuery::Frame
private

Definition at line 60 of file CarlaRecorderQuery.h.

Referenced by QueryBlocked(), QueryCollisions(), and QueryInfo().

◆ Header

Header CarlaRecorderQuery::Header
private

Definition at line 58 of file CarlaRecorderQuery.h.

◆ Kinematics

CarlaRecorderKinematics CarlaRecorderQuery::Kinematics
private

Definition at line 74 of file CarlaRecorderQuery.h.

Referenced by QueryInfo().

◆ LightScene

CarlaRecorderLightScene CarlaRecorderQuery::LightScene
private

Definition at line 73 of file CarlaRecorderQuery.h.

Referenced by QueryInfo().

◆ LightVehicle

CarlaRecorderLightVehicle CarlaRecorderQuery::LightVehicle
private

Definition at line 72 of file CarlaRecorderQuery.h.

Referenced by QueryInfo().

◆ PhysicsControl

CarlaRecorderPhysicsControl CarlaRecorderQuery::PhysicsControl
private

Definition at line 77 of file CarlaRecorderQuery.h.

Referenced by QueryInfo().

◆ PlatformTime

CarlaRecorderPlatformTime CarlaRecorderQuery::PlatformTime
private

Definition at line 76 of file CarlaRecorderQuery.h.

Referenced by QueryInfo().

◆ Position

CarlaRecorderPosition CarlaRecorderQuery::Position
private

Definition at line 64 of file CarlaRecorderQuery.h.

Referenced by QueryBlocked(), and QueryInfo().

◆ RecInfo

CarlaRecorderInfo CarlaRecorderQuery::RecInfo
private

Definition at line 59 of file CarlaRecorderQuery.h.

Referenced by CheckFileInfo().

◆ StateTraffic

CarlaRecorderStateTrafficLight CarlaRecorderQuery::StateTraffic
private

Definition at line 66 of file CarlaRecorderQuery.h.

Referenced by QueryInfo().

◆ TrafficLightTime

CarlaRecorderTrafficLightTime CarlaRecorderQuery::TrafficLightTime
private

Definition at line 78 of file CarlaRecorderQuery.h.

Referenced by QueryInfo().

◆ Vehicle

CarlaRecorderAnimVehicle CarlaRecorderQuery::Vehicle
private

Definition at line 67 of file CarlaRecorderQuery.h.

Referenced by QueryInfo().

◆ VehicleWheels

CarlaRecorderAnimWheels CarlaRecorderQuery::VehicleWheels
private

Definition at line 69 of file CarlaRecorderQuery.h.

Referenced by QueryInfo().

◆ VisualTime

CarlaRecorderVisualTime CarlaRecorderQuery::VisualTime
private

Definition at line 71 of file CarlaRecorderQuery.h.

Referenced by QueryInfo().

◆ Walker

CarlaRecorderAnimWalker CarlaRecorderQuery::Walker
private

Definition at line 68 of file CarlaRecorderQuery.h.

Referenced by QueryInfo().

◆ WalkerBones

CarlaRecorderWalkerBones CarlaRecorderQuery::WalkerBones
private

Definition at line 79 of file CarlaRecorderQuery.h.

Referenced by QueryInfo().

◆ Weather

CarlaRecorderWeather CarlaRecorderQuery::Weather
private

Definition at line 81 of file CarlaRecorderQuery.h.

Referenced by QueryInfo().


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