O --- O
libPEDSIM Documentation
[HOME] [EXAMPLES] [ECOSYSTEM] [DOCUMENTATION] [DOWNLOAD]
O --- O
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Ped::FileOutputWriter Class Reference

#include <ped_outputwriter.h>

+ Inheritance diagram for Ped::FileOutputWriter:

Public Member Functions

 FileOutputWriter ()
 
virtual ~FileOutputWriter ()
 
- Public Member Functions inherited from Ped::XMLOutputWriter
 XMLOutputWriter ()
 
 XMLOutputWriter (string scenarioname)
 
virtual ~XMLOutputWriter ()
 
virtual void writeTimeStep (long int timestep)
 
virtual void setScenarioName (string name)
 
virtual void drawLine (const Tvector &s, const Tvector &e, int duration=1, double red=1.0, double green=0.0, double blue=0.0)
 
virtual void writeMetrics (std::unordered_map< std::string, std::string > hash)
 
virtual void defineScene (Tscene &s)
 
virtual void addObstacle (Tobstacle &o)
 
virtual void addAgent (Tagent &a)
 
virtual void removeAgent (Tagent &a)
 
virtual void addWaypoint (Twaypoint &w)
 
virtual void setCamera (Ped::Tvector pos, Ped::Tvector direction, string id="")
 
virtual void drawAgent (Tagent &a)
 
virtual void drawObstacle (Tobstacle &o)
 
virtual void drawWaypoint (Twaypoint &w)
 

Protected Member Functions

virtual void write (string message)
 

Protected Attributes

ofstream outfile_
 

Detailed Description

Class that defines a frame-by-frame proprietary XMLOutputWriter. For supported tags, see XML Messaging Format Specification.

Author
chgloor
Date
2016-08-09
Examples:
examples/example01.cpp.

Definition at line 147 of file ped_outputwriter.h.

Constructor & Destructor Documentation

Ped::FileOutputWriter::FileOutputWriter ( )

Constructor used to open the output file

Date
2016-07-02

Definition at line 50 of file ped_outputwriter.cpp.

Ped::FileOutputWriter::~FileOutputWriter ( )
virtual

Destructor used to close the output file

Date
2016-10-09

Definition at line 57 of file ped_outputwriter.cpp.


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

⁠(c) Christian Gloor [ c|h|g|l|o|o|r|@|s|i|l|m|a|r|i|l|.|o|r|g| ]