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

#include <MFXSynchSet.h>

Public Member Functions

void clear ()
 
bool contains (const T &item) const
 
size_t count (T what)
 
bool empty ()
 
void erase (T what)
 
Container & getContainer ()
 
void insert (T what)
 
bool isLocked () const
 
 MFXSynchSet (const bool condition=true)
 
size_t size () const
 
void unlock ()
 
void unsetCondition ()
 

Private Attributes

bool myCondition
 
Container myItems
 

Detailed Description

template<class T, class Container = std::set<T>>
class MFXSynchSet< T, Container >

Definition at line 38 of file MFXSynchSet.h.

Constructor & Destructor Documentation

◆ MFXSynchSet()

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

Definition at line 40 of file MFXSynchSet.h.

Member Function Documentation

◆ clear()

template<class T , class Container = std::set<T>>
void MFXSynchSet< T, Container >::clear ( )
inline

Definition at line 140 of file MFXSynchSet.h.

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

Referenced by MSEdgeControl::detectCollisions().

Here is the caller graph for this function:

◆ contains()

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

◆ count()

template<class T , class Container = std::set<T>>
size_t MFXSynchSet< T, Container >::count ( what)
inline

◆ empty()

template<class T , class Container = std::set<T>>
bool MFXSynchSet< T, Container >::empty ( )
inline

◆ erase()

template<class T , class Container = std::set<T>>
void MFXSynchSet< T, Container >::erase ( what)
inline

◆ getContainer()

template<class T , class Container = std::set<T>>
Container & MFXSynchSet< T, Container >::getContainer ( )
inline

Definition at line 53 of file MFXSynchSet.h.

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

Referenced by MSEdgeControl::detectCollisions().

Here is the caller graph for this function:

◆ insert()

template<class T , class Container = std::set<T>>
void MFXSynchSet< T, Container >::insert ( what)
inline

Definition at line 82 of file MFXSynchSet.h.

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

Referenced by MSEdgeControl::checkCollisionForInactive().

Here is the caller graph for this function:

◆ isLocked()

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

Definition at line 184 of file MFXSynchSet.h.

◆ size()

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

Definition at line 154 of file MFXSynchSet.h.

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

Referenced by MSEdgeControl::detectCollisions().

Here is the caller graph for this function:

◆ unlock()

template<class T , class Container = std::set<T>>
void MFXSynchSet< T, Container >::unlock ( )
inline

Definition at line 68 of file MFXSynchSet.h.

References MFXSynchSet< T, Container >::myCondition.

Referenced by MSEdgeControl::detectCollisions().

Here is the caller graph for this function:

◆ unsetCondition()

template<class T , class Container = std::set<T>>
void MFXSynchSet< T, Container >::unsetCondition ( )
inline

Definition at line 48 of file MFXSynchSet.h.

References MFXSynchSet< T, Container >::myCondition.

Field Documentation

◆ myCondition

◆ myItems


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