CARLA
Unreal
CarlaUE4
Plugins
Carla
Source
Carla
Recorder
CarlaRecorderAnimWalker.h
Go to the documentation of this file.
1
// Copyright (c) 2017 Computer Vision Center (CVC) at the Universitat Autonoma
2
// de Barcelona (UAB).
3
//
4
// This work is licensed under the terms of the MIT license.
5
// For a copy, see <https://opensource.org/licenses/MIT>.
6
7
#pragma once
8
9
#include <sstream>
10
#include <vector>
11
12
#pragma pack(push, 1)
13
struct
CarlaRecorderAnimWalker
14
{
15
uint32_t
DatabaseId
;
16
float
Speed
;
17
18
void
Read
(std::istream &InFile);
19
20
void
Write
(std::ostream &OutFile);
21
22
};
23
#pragma pack(pop)
24
25
class
CarlaRecorderAnimWalkers
26
{
27
public
:
28
29
void
Add(
const
CarlaRecorderAnimWalker
&InObj);
30
31
void
Clear(
void
);
32
33
void
Write
(std::ostream &OutFile);
34
35
void
Read
(std::istream &InFile);
36
37
const
std::vector<CarlaRecorderAnimWalker>& GetWalkers();
38
39
private
:
40
41
std::vector<CarlaRecorderAnimWalker>
Walkers
;
42
};
CarlaRecorderAnimWalker::Speed
float Speed
Definition:
CarlaRecorderAnimWalker.h:16
CarlaRecorderAnimWalkers
Definition:
CarlaRecorderAnimWalker.h:25
CarlaRecorderAnimWalker
Definition:
CarlaRecorderAnimWalker.h:13
CarlaRecorderAnimWalkers::Walkers
std::vector< CarlaRecorderAnimWalker > Walkers
Definition:
CarlaRecorderAnimWalker.h:41
CarlaRecorderAnimWalker::DatabaseId
uint32_t DatabaseId
Definition:
CarlaRecorderAnimWalker.h:15
CarlaRecorderAnimWalker::Read
void Read(std::istream &InFile)
Definition:
CarlaRecorderAnimWalker.cpp:17
CarlaRecorderAnimWalker::Write
void Write(std::ostream &OutFile)
Definition:
CarlaRecorderAnimWalker.cpp:11
Generated by
1.8.13