Eclipse SUMO - Simulation of Urban MObility
MSCModel_NonInteracting Class Reference

The container following model for tranship. More...

#include <MSCModel_NonInteracting.h>

Collaboration diagram for MSCModel_NonInteracting:

Data Structures

class  MoveToNextEdge
 

Public Member Functions

CStateadd (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_NonInteractinggetModel ()
 

Private Attributes

MSNetmyNet
 the net to which to issue moveToNextEdge commands More...
 

Static Private Attributes

static MSCModel_NonInteractingmyModel
 

Detailed Description

The container following model for tranship.

Definition at line 50 of file MSCModel_NonInteracting.h.

Constructor & Destructor Documentation

◆ MSCModel_NonInteracting()

MSCModel_NonInteracting::MSCModel_NonInteracting ( MSNet net)

Constructor (it should not be necessary to construct more than one instance)

Definition at line 51 of file MSCModel_NonInteracting.cpp.

References myNet.

Referenced by getModel().

◆ ~MSCModel_NonInteracting()

MSCModel_NonInteracting::~MSCModel_NonInteracting ( )

Definition at line 57 of file MSCModel_NonInteracting.cpp.

Member Function Documentation

◆ add()

CState * MSCModel_NonInteracting::add ( MSTransportable container,
MSContainer::MSContainerStage_Tranship stage,
SUMOTime  now 
)

register the given container as a transhiped container

Definition at line 70 of file MSCModel_NonInteracting.cpp.

References MSEventControl::addEvent(), CState::computeTranshipTime(), MSNet::getBeginOfTimestepEvents(), and myNet.

Referenced by MSContainer::MSContainerStage_Tranship::proceed().

◆ cleanup()

void MSCModel_NonInteracting::cleanup ( )
static

remove state at simulation end

Definition at line 79 of file MSCModel_NonInteracting.cpp.

References myModel.

Referenced by MSNet::clearAll().

◆ getModel()

MSCModel_NonInteracting * MSCModel_NonInteracting::getModel ( )
static

Field Documentation

◆ myModel

MSCModel_NonInteracting * MSCModel_NonInteracting::myModel
staticprivate

Definition at line 67 of file MSCModel_NonInteracting.h.

Referenced by cleanup(), and getModel().

◆ myNet

MSNet* MSCModel_NonInteracting::myNet
private

the net to which to issue moveToNextEdge commands

Definition at line 87 of file MSCModel_NonInteracting.h.

Referenced by add(), and MSCModel_NonInteracting().


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