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

#include <ped_outputwriter.h>

+ Inheritance diagram for Ped::UDPOutputWriter:

Public Member Functions

 UDPOutputWriter ()
 
virtual ~UDPOutputWriter ()
 
- 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

SOCKET socket_
 

Detailed Description

Class that defines a frame-by-frame proprietary XMLOutputWriter that sends output over the network. For supported tags, see XML Messaging Format Specification.

Author
chgloor
Date
2016-10-09
Examples:
examples/example03.cpp, examples/example04.cpp, and examples/example05.cpp.

Definition at line 161 of file ped_outputwriter.h.

Constructor & Destructor Documentation

Ped::UDPOutputWriter::UDPOutputWriter ( )

Constructor used to open the network socket

Date
2016-10-09

Definition at line 69 of file ped_outputwriter.cpp.

Ped::UDPOutputWriter::~UDPOutputWriter ( )
virtual

Destructor used to close the network socket

Date
2016-10-09

Definition at line 63 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| ]