|
SAGA Adaptor CPI v.1.0
|
#include <metric.hpp>
Inheritance diagram for saga::adaptors::metric:Public Types | |
| typedef saga::metric::frequency | frequency |
| typedef saga::monitorable::cookie_handle | metric_cookie |
| typedef std::vector< std::string > | strvec_type |
| Attribute string vector type. | |
| typedef std::map< std::string, std::string > | strmap_type |
| Attribute string map type. | |
Public Member Functions | |
| metric () | |
| metric (saga::object const &o) | |
| metric (saga::metric const &m) | |
| ~metric () | |
| metric & | operator= (saga::object const &o) |
| metric & | operator= (saga::metric const &m) |
| void | fire (saga::context ctx=saga::context()) |
| metric_cookie | add_callback (saga::callback f) |
| void | remove_callback (metric_cookie cookie) |
| saga::impl::attribute_interface * | get_attr () const |
| void | set_attribute (std::string key, std::string value) |
| Brief description starts here. | |
| void | set_vector_attribute (std::string key, strvec_type value) |
| Brief description starts here. | |
| void | remove_attribute (std::string key) |
| Brief description starts here. | |
Protected Member Functions | |
| saga::impl::metric * | get_impl (void) const |
| TR1::shared_ptr < saga::impl::metric > | get_impl_sp (void) const |
| metric (saga::impl::metric *impl) | |
Friends | |
| bool | operator== (metric const &lhs, metric const &rhs) |
Definition at line 31 of file adaptors/metric.hpp.
Definition at line 45 of file adaptors/metric.hpp.
Definition at line 46 of file adaptors/metric.hpp.
| typedef std::vector<std::string> saga::adaptors::metric::strvec_type |
Attribute string vector type.
Reimplemented from saga::detail::attribute< metric >.
Definition at line 72 of file adaptors/metric.hpp.
| typedef std::map<std::string, std::string> saga::adaptors::metric::strmap_type |
Attribute string map type.
Reimplemented from saga::detail::attribute< metric >.
Definition at line 73 of file adaptors/metric.hpp.
| saga::metric::metric | ( | saga::impl::metric * | impl | ) | [explicit, protected] |
Definition at line 28 of file metric.cpp.
| saga::adaptors::metric::metric | ( | ) |
Definition at line 21 of file adaptors/metric.cpp.
| saga::adaptors::metric::metric | ( | saga::object const & | o | ) | [explicit] |
Definition at line 31 of file adaptors/metric.cpp.
References saga::BadParameter, saga::object::get_type(), and saga::object::Metric.
| saga::adaptors::metric::metric | ( | saga::metric const & | m | ) |
Definition at line 51 of file adaptors/metric.cpp.
| saga::adaptors::metric::~metric | ( | ) |
Definition at line 26 of file adaptors/metric.cpp.
| saga::impl::metric * saga::adaptors::metric::get_impl | ( | void | ) | const [protected] |
Definition at line 63 of file adaptors/metric.cpp.
Referenced by add_callback(), fire(), get_attr(), saga::adaptors::operator==(), and remove_callback().
| TR1::shared_ptr< saga::impl::metric > saga::adaptors::metric::get_impl_sp | ( | void | ) | const [protected] |
Definition at line 69 of file adaptors/metric.cpp.
| metric & saga::adaptors::metric::operator= | ( | saga::object const & | o | ) |
Definition at line 40 of file adaptors/metric.cpp.
References saga::BadParameter, saga::object::get_type(), and saga::object::Metric.
Referenced by operator=().
| metric & saga::adaptors::metric::operator= | ( | saga::metric const & | m | ) |
Definition at line 56 of file adaptors/metric.cpp.
References operator=().
| void saga::adaptors::metric::fire | ( | saga::context | ctx = saga::context() | ) |
Definition at line 98 of file adaptors/metric.cpp.
References get_impl().
| metric::metric_cookie saga::adaptors::metric::add_callback | ( | saga::callback | f | ) |
Definition at line 88 of file adaptors/metric.cpp.
References get_impl().
| void saga::adaptors::metric::remove_callback | ( | metric_cookie | cookie | ) |
Definition at line 93 of file adaptors/metric.cpp.
References get_impl().
| impl::attribute_interface * saga::detail::attribute< Derived >::get_attr | ( | void | ) | const |
Definition at line 76 of file adaptors/metric.cpp.
References get_impl().
| void saga::adaptors::metric::set_attribute | ( | std::string | key, |
| std::string | value | ||
| ) | [inline] |
Brief description starts here.
Definition at line 92 of file adaptors/metric.hpp.
| void saga::adaptors::metric::set_vector_attribute | ( | std::string | key, |
| strvec_type | value | ||
| ) | [inline] |
Brief description starts here.
Definition at line 102 of file adaptors/metric.hpp.
| void saga::adaptors::metric::remove_attribute | ( | std::string | key | ) | [inline] |
Brief description starts here.
Definition at line 112 of file adaptors/metric.hpp.
Definition at line 82 of file adaptors/metric.cpp.