#include <monitorable.hpp>

Public Types | |
| typedef saga::monitorable::cookie_handle | cookie_handle |
| A cookie_handle is a unique identifier for a callback. | |
Public Member Functions | |
| std::vector< saga::metric > | list_metrics (void) const |
| Lists all metrics assiciated with this object instance. | |
| saga::metric | get_metric (std::string name) const |
| Returns a metric associated with this object instance. | |
| cookie_handle | add_callback (std::string name, saga::callback cb) |
| Adds a callback to this object instance. | |
| void | remove_callback (std::string name, cookie_handle cookie) |
| Removes a callback from this object instance. | |
TODO .
| typedef saga::monitorable::cookie_handle saga::detail::monitorable< Derived >::cookie_handle |
A cookie_handle is a unique identifier for a callback.
TODO .
| std::vector< saga::metric > saga::detail::monitorable< Derived >::list_metrics | ( | void | ) | const [inline] |
Lists all metrics assiciated with this object instance.
References saga::IncorrectState.
| saga::metric saga::detail::monitorable< Derived >::get_metric | ( | std::string | name | ) | const [inline] |
Returns a metric associated with this object instance.
| name | The metric's name |
References saga::IncorrectState.
| saga::monitorable::cookie_handle saga::detail::monitorable< Derived >::add_callback | ( | std::string | name, | |
| saga::callback | cb | |||
| ) | [inline] |
Adds a callback to this object instance.
| name | The new callback's name | |
| cb | The callback object |
References saga::IncorrectState.
| void saga::detail::monitorable< Derived >::remove_callback | ( | std::string | name, | |
| cookie_handle | cookie | |||
| ) |
Removes a callback from this object instance.
| name | The callback's name | |
| cookie | The callback's unique handle |
1.5.6