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_1 Class Reference

Writer for version 2.1. More...

#include <SCBWriter.h>

Inheritance diagram for Menge::Agents::SCBFrameWriter2_1:

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.1.

The data for an agent consists of: 4-byte float x-pos 4-byte float y-pos 4-byte float orientation (radians) 4-byte float stateID - although stored as a float, the value will be an integer value.

Member Function Documentation

void Menge::Agents::SCBFrameWriter2_1::writeFrame ( std::ofstream &  file,
SimulatorInterface sim,
BFSM::FSM fsm 

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

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: