![]() |
SUMO - Simulation of Urban MObility
|
The container following model for tranship. More...
#include <MSCModel_NonInteracting.h>
Data Structures | |
class | MoveToNextEdge |
Public Member Functions | |
CState * | add (MSTransportable *container, MSContainer::MSContainerStage_Tranship *stage, SUMOTime now) |
register the given container as a transhiped container More... | |
MSCModel_NonInteracting (MSNet *net) | |
Constructor (it should not be necessary to construct more than one instance) More... | |
~MSCModel_NonInteracting () | |
Static Public Member Functions | |
static void | cleanup () |
remove state at simulation end More... | |
static MSCModel_NonInteracting * | getModel () |
Private Attributes | |
MSNet * | myNet |
the net to which to issue moveToNextEdge commands More... | |
Static Private Attributes | |
static MSCModel_NonInteracting * | myModel |
The container following model for tranship.
Definition at line 58 of file MSCModel_NonInteracting.h.
MSCModel_NonInteracting::MSCModel_NonInteracting | ( | MSNet * | net | ) |
Constructor (it should not be necessary to construct more than one instance)
Definition at line 58 of file MSCModel_NonInteracting.cpp.
References myNet.
Referenced by getModel().
MSCModel_NonInteracting::~MSCModel_NonInteracting | ( | ) |
Definition at line 64 of file MSCModel_NonInteracting.cpp.
CState * MSCModel_NonInteracting::add | ( | MSTransportable * | container, |
MSContainer::MSContainerStage_Tranship * | stage, | ||
SUMOTime | now | ||
) |
register the given container as a transhiped container
Definition at line 77 of file MSCModel_NonInteracting.cpp.
References MSEventControl::addEvent(), CState::computeTranshipTime(), MSNet::getBeginOfTimestepEvents(), and myNet.
Referenced by MSContainer::MSContainerStage_Tranship::proceed().
|
static |
remove state at simulation end
Definition at line 86 of file MSCModel_NonInteracting.cpp.
References myModel.
Referenced by MSNet::clearAll().
|
static |
Definition at line 68 of file MSCModel_NonInteracting.cpp.
References MSNet::getInstance(), MSCModel_NonInteracting(), and myModel.
Referenced by MSContainer::MSContainerStage_Tranship::proceed().
|
staticprivate |
Definition at line 75 of file MSCModel_NonInteracting.h.
Referenced by cleanup(), and getModel().
|
private |
the net to which to issue moveToNextEdge commands
Definition at line 95 of file MSCModel_NonInteracting.h.
Referenced by add(), and MSCModel_NonInteracting().