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

Writer for version 2.0. More...

#include <SCBWriter.h>

Inheritance diagram for Menge::Agents::SCBFrameWriter2_0:
Menge::Agents::SCBFrameWriter

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.
 

Detailed Description

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)

Member Function Documentation

void Menge::Agents::SCBFrameWriter2_0::writeFrame ( std::ofstream &  file,
SimulatorInterface sim,
BFSM::FSM fsm 
)
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.

Implements Menge::Agents::SCBFrameWriter.


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