Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
MFXSynchQue< T, Container > Class Template Reference

#include <MFXSynchQue.h>

Public Member Functions

void clear ()
 
bool contains (const T &item) const
 
bool empty ()
 
Container & getContainer ()
 
bool isLocked () const
 
 MFXSynchQue (const bool condition=true)
 
void pop ()
 
void push_back (T what)
 
size_t size () const
 
top ()
 
void unlock ()
 
void unsetCondition ()
 

Private Attributes

bool myCondition
 
Container myItems
 

Detailed Description

template<class T, class Container = std::list<T>>
class MFXSynchQue< T, Container >

Definition at line 39 of file MFXSynchQue.h.

Constructor & Destructor Documentation

◆ MFXSynchQue()

template<class T , class Container = std::list<T>>
MFXSynchQue< T, Container >::MFXSynchQue ( const bool  condition = true)
inline

Definition at line 41 of file MFXSynchQue.h.

Member Function Documentation

◆ clear()

template<class T , class Container = std::list<T>>
void MFXSynchQue< T, Container >::clear ( )
inline

Definition at line 142 of file MFXSynchQue.h.

References MFXSynchQue< T, Container >::myCondition, and MFXSynchQue< T, Container >::myItems.

Referenced by MSEdgeControl::executeMovements().

Here is the caller graph for this function:

◆ contains()

template<class T , class Container = std::list<T>>
bool MFXSynchQue< T, Container >::contains ( const T &  item) const
inline

◆ empty()

template<class T , class Container = std::list<T>>
bool MFXSynchQue< T, Container >::empty ( )
inline

◆ getContainer()

template<class T , class Container = std::list<T>>
Container & MFXSynchQue< T, Container >::getContainer ( )
inline

Definition at line 84 of file MFXSynchQue.h.

References MFXSynchQue< T, Container >::myCondition, and MFXSynchQue< T, Container >::myItems.

Referenced by MSEdgeControl::executeMovements(), and MSLane::integrateNewVehicles().

Here is the caller graph for this function:

◆ isLocked()

template<class T , class Container = std::list<T>>
bool MFXSynchQue< T, Container >::isLocked ( ) const
inline

Definition at line 186 of file MFXSynchQue.h.

◆ pop()

template<class T , class Container = std::list<T>>
void MFXSynchQue< T, Container >::pop ( )
inline

Definition at line 64 of file MFXSynchQue.h.

References MFXSynchQue< T, Container >::myCondition, and MFXSynchQue< T, Container >::myItems.

Referenced by GUIApplicationWindow::eventOccurred(), GNEApplicationWindow::eventOccurred(), GNERunNetgenerateDialog::onThreadEvent(), GNERunPythonToolDialog::onThreadEvent(), GNEApplicationWindow::~GNEApplicationWindow(), and GUIApplicationWindow::~GUIApplicationWindow().

Here is the caller graph for this function:

◆ push_back()

◆ size()

template<class T , class Container = std::list<T>>
size_t MFXSynchQue< T, Container >::size ( ) const
inline

Definition at line 156 of file MFXSynchQue.h.

References MFXSynchQue< T, Container >::myCondition, and MFXSynchQue< T, Container >::myItems.

Referenced by MSLane::empty().

Here is the caller graph for this function:

◆ top()

template<class T , class Container = std::list<T>>
T MFXSynchQue< T, Container >::top ( )
inline

Definition at line 48 of file MFXSynchQue.h.

References MFXSynchQue< T, Container >::myCondition, and MFXSynchQue< T, Container >::myItems.

Referenced by GUIApplicationWindow::eventOccurred(), GNEApplicationWindow::eventOccurred(), GNERunNetgenerateDialog::onThreadEvent(), GNERunPythonToolDialog::onThreadEvent(), GNEApplicationWindow::~GNEApplicationWindow(), and GUIApplicationWindow::~GUIApplicationWindow().

Here is the caller graph for this function:

◆ unlock()

template<class T , class Container = std::list<T>>
void MFXSynchQue< T, Container >::unlock ( )
inline

Definition at line 99 of file MFXSynchQue.h.

References MFXSynchQue< T, Container >::myCondition.

Referenced by MSEdgeControl::executeMovements(), and MSLane::integrateNewVehicles().

Here is the caller graph for this function:

◆ unsetCondition()

template<class T , class Container = std::list<T>>
void MFXSynchQue< T, Container >::unsetCondition ( )
inline

Definition at line 79 of file MFXSynchQue.h.

References MFXSynchQue< T, Container >::myCondition.

Referenced by MSLane::checkBufferType().

Here is the caller graph for this function:

Field Documentation

◆ myCondition

◆ myItems


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