#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::ObserverDescriptor & | getDescriptor (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 |
openfluid::fluidx::AdvancedMonitoringDescriptor::AdvancedMonitoringDescriptor | ( | openfluid::fluidx::MonitoringDescriptor & | MonitoringDesc | ) |
openfluid::fluidx::AdvancedMonitoringDescriptor::~AdvancedMonitoringDescriptor | ( | ) |
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.
openfluid::base::OFException | if 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.
openfluid::base::OFException | if this Observer is not in the Monitoring descriptor |
void openfluid::fluidx::AdvancedMonitoringDescriptor::setItems | ( | std::list< openfluid::fluidx::ObserverDescriptor * > | ObserversList | ) |
Replace existing observers with ObserversList.