All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
openfluid::fluidx::AdvancedMonitoringDescriptor Class Reference

#include <fluidx/AdvancedMonitoringDescriptor.hpp>

Public Member Functions

 AdvancedMonitoringDescriptor (openfluid::fluidx::MonitoringDescriptor &MonitoringDesc)
 
 ~AdvancedMonitoringDescriptor ()
 
void checkMonitoring () const
 
const std::list
< openfluid::fluidx::ObserverDescriptor * > & 
getItems () const
 
openfluid::fluidx::ObserverDescriptorgetDescriptor (std::string ObserverID) const
 Returns the Descriptor of the Observer with ObserverID if is in the Monitoring descriptor. More...
 
void addToObserverList (std::string ObserverID)
 Adds the Observer with ObserverID to the Monitoring descriptor. More...
 
void removeFromObserverList (std::string ObserverID)
 Removes the Observer with ObserverID from the Monitoring descriptor. More...
 
void setItems (std::list< openfluid::fluidx::ObserverDescriptor * > ObserversList)
 Replace existing observers with ObserversList. More...
 
void moveItemTowardsTheBeginning (std::string ObserverID)
 
void moveItemTowardsTheEnd (std::string ObserverID)
 
int getFirstIndex (const std::string &ID) const
 
std::vector
< openfluid::ware::WareID_t
getOrderedIDs () const
 

Constructor & Destructor Documentation

openfluid::fluidx::AdvancedMonitoringDescriptor::AdvancedMonitoringDescriptor ( openfluid::fluidx::MonitoringDescriptor MonitoringDesc)
openfluid::fluidx::AdvancedMonitoringDescriptor::~AdvancedMonitoringDescriptor ( )

Member Function Documentation

void openfluid::fluidx::AdvancedMonitoringDescriptor::addToObserverList ( std::string  ObserverID)

Adds the Observer with ObserverID to the Monitoring descriptor.

void openfluid::fluidx::AdvancedMonitoringDescriptor::checkMonitoring ( ) const
openfluid::fluidx::ObserverDescriptor& openfluid::fluidx::AdvancedMonitoringDescriptor::getDescriptor ( std::string  ObserverID) const

Returns the Descriptor of the Observer with ObserverID if is in the Monitoring descriptor.

Exceptions
openfluid::base::OFExceptionif this Observer is not in the Monitoring descriptor
int openfluid::fluidx::AdvancedMonitoringDescriptor::getFirstIndex ( const std::string &  ID) const
const std::list<openfluid::fluidx::ObserverDescriptor*>& openfluid::fluidx::AdvancedMonitoringDescriptor::getItems ( ) const
std::vector<openfluid::ware::WareID_t> openfluid::fluidx::AdvancedMonitoringDescriptor::getOrderedIDs ( ) const
void openfluid::fluidx::AdvancedMonitoringDescriptor::moveItemTowardsTheBeginning ( std::string  ObserverID)
void openfluid::fluidx::AdvancedMonitoringDescriptor::moveItemTowardsTheEnd ( std::string  ObserverID)
void openfluid::fluidx::AdvancedMonitoringDescriptor::removeFromObserverList ( std::string  ObserverID)

Removes the Observer with ObserverID from the Monitoring descriptor.

Exceptions
openfluid::base::OFExceptionif this Observer is not in the Monitoring descriptor
void openfluid::fluidx::AdvancedMonitoringDescriptor::setItems ( std::list< openfluid::fluidx::ObserverDescriptor * >  ObserversList)

Replace existing observers with ObserversList.


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