Menge
Modular Pedestrian Simulation Framework for Research and Development
|
Writer for version 2.0. More...
#include <SCBWriter.h>
Public Member Functions | |
virtual void | writeFrame (std::ofstream &file, SimulatorInterface *sim, BFSM::FSM *fsm) |
Function to write current frame's state to the file. More... | |
Additional Inherited Members | |
Static Public Attributes inherited from Menge::Agents::SCBFrameWriter | |
static const int | ZERO = 0 |
Simple static variable for writing binary zeros to the file. | |
Writer for version 2.0.
The data for an agent consists of: 4-byte float x-pos 4-byte float y-pos 4-byte float orientation (radians)
|
virtual |
Function to write current frame's state to the file.
file | The file object to write to. |
sim | A pointer to the simulator. |
fsm | A pointer to the behavior fsm for the simulator. |
Implements Menge::Agents::SCBFrameWriter.