|
SUMO - Simulation of Urban MObility
|
#include <MSTriggeredReader.h>
Public Member Functions | |
| void | init () |
| bool | isInitialised () const |
| SUMOTime | wrappedExecute (SUMOTime current) |
| virtual | ~MSTriggeredReader () |
| Destructor. More... | |
Protected Member Functions | |
| virtual void | inputEndReached ()=0 |
| MSTriggeredReader (MSNet &net) | |
| Constructor (for an abstract class) More... | |
| virtual void | myInit ()=0 |
| virtual bool | processNextEntryReaderTriggered ()=0 |
| Processes the next event Returns true if the next element shall be read (a new timestemp is then available also) Returns false if the action could not be accomplished; this method is then called in the next step again. More... | |
| virtual bool | readNextTriggered ()=0 |
| Reads from the file. More... | |
Protected Attributes | |
| SUMOTime | myOffset |
| The offset to the next event. More... | |
| bool | myWasInitialised |
Private Member Functions | |
| MSTriggeredReader (const MSTriggeredReader &) | |
| Invalidated copy constructor. More... | |
| MSTriggeredReader & | operator= (const MSTriggeredReader &) |
| Invalidated assignment operator. More... | |
Superclass for structures that read from a file where the times the next reading is performed are triggered by events,
Definition at line 46 of file MSTriggeredReader.h.
|
virtual |
Destructor.
Definition at line 47 of file MSTriggeredReader.cpp.
|
protected |
Constructor (for an abstract class)
Definition at line 43 of file MSTriggeredReader.cpp.
|
private |
Invalidated copy constructor.
| void MSTriggeredReader::init | ( | ) |
Definition at line 51 of file MSTriggeredReader.cpp.
References myInit(), and myWasInitialised.
Referenced by wrappedExecute().
|
protectedpure virtual |
| bool MSTriggeredReader::isInitialised | ( | ) | const |
Definition at line 58 of file MSTriggeredReader.cpp.
References myWasInitialised.
Referenced by wrappedExecute().
|
protectedpure virtual |
Referenced by init().
|
private |
Invalidated assignment operator.
|
protectedpure virtual |
Processes the next event Returns true if the next element shall be read (a new timestemp is then available also) Returns false if the action could not be accomplished; this method is then called in the next step again.
Referenced by wrappedExecute().
|
protectedpure virtual |
Reads from the file.
Referenced by wrappedExecute().
Definition at line 64 of file MSTriggeredReader.cpp.
References DELTA_T, init(), isInitialised(), myOffset, processNextEntryReaderTriggered(), and readNextTriggered().
|
protected |
The offset to the next event.
Definition at line 74 of file MSTriggeredReader.h.
Referenced by wrappedExecute().
|
protected |
Definition at line 75 of file MSTriggeredReader.h.
Referenced by init(), and isInitialised().