Menge
Modular Pedestrian Simulation Framework for Research and Development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Attributes | List of all members
Menge::Agents::SCBFrameWriter Class Referenceabstract

This base class for writing a single frame of simulation data to the scb file. More...

#include <SCBWriter.h>

Inheritance diagram for Menge::Agents::SCBFrameWriter:
Menge::Agents::SCBFrameWriter1_0 Menge::Agents::SCBFrameWriter2_0 Menge::Agents::SCBFrameWriter2_1 Menge::Agents::SCBFrameWriter2_2 Menge::Agents::SCBFrameWriter2_3 Menge::Agents::SCBFrameWriter2_4

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.
 

Detailed Description

This base class for writing a single frame of simulation data to the scb file.

Member Function Documentation

virtual void Menge::Agents::SCBFrameWriter::writeFrame ( std::ofstream &  file,
SimulatorInterface sim,
BFSM::FSM fsm 
)
pure virtual

Function to write current frame's state to the file.

Parameters
fileThe file object to write to.
simA pointer to the simulator.
fsmA 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.


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