Menge
Modular Pedestrian Simulation Framework for Research and Development
|
This base class for writing a single frame of simulation data to the scb file. More...
#include <SCBWriter.h>
Public Member Functions | |
virtual void | writeFrame (std::ofstream &file, SimulatorInterface *sim, BFSM::FSM *fsm)=0 |
Function to write current frame's state to the file. More... | |
Static Public Attributes | |
static const int | ZERO = 0 |
Simple static variable for writing binary zeros to the file. | |
This base class for writing a single frame of simulation data to the scb file.
|
pure 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. |
Implemented in Menge::Agents::SCBFrameWriter2_4, Menge::Agents::SCBFrameWriter2_3, Menge::Agents::SCBFrameWriter2_2, Menge::Agents::SCBFrameWriter2_1, Menge::Agents::SCBFrameWriter2_0, and Menge::Agents::SCBFrameWriter1_0.