|
SAGA C++ API 1.5.3
|
Brief description starts here. More...
#include <metric.hpp>

Public Types | |
| enum | frequency { Unknown = -1, Cont = 0, Descreet = 1, Pull = 2, Push = 3, Event = 4 } |
Brief description starts here. More... | |
| typedef saga::monitorable::cookie_handle | metric_cookie |
| Brief description starts here. | |
Public Member Functions | |
| metric (void) | |
| Brief description starts here. | |
| metric (saga::object const &o) | |
| Brief description starts here. | |
| metric (saga::object target, std::string name, std::string desc, std::string mode, std::string unit, std::string type, std::string val) | |
| Brief description starts here. | |
| ~metric (void) | |
| Brief description starts here. | |
| metric & | operator= (saga::object const &o) |
| Brief description starts here. | |
| void | fire (saga::context ctx=saga::context()) |
| Brief description starts here. | |
| metric_cookie | add_callback (saga::callback f) |
| Brief description starts here. | |
| void | remove_callback (metric_cookie cookie) |
| 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) |
| Brief description starts here. | |
Brief description starts here.
Brief description starts here.
| saga::metric::metric | ( | saga::impl::metric * | impl | ) | [explicit, protected] |
| saga::metric::metric | ( | void | ) |
Brief description starts here.
| saga::metric::metric | ( | saga::object const & | o | ) | [explicit] |
Brief description starts here.
References saga::BadParameter, saga::object::get_type(), and saga::object::Metric.
| saga::metric::metric | ( | saga::object | target, |
| std::string | name, | ||
| std::string | desc, | ||
| std::string | mode, | ||
| std::string | unit, | ||
| std::string | type, | ||
| std::string | val | ||
| ) |
Brief description starts here.
References saga::BadParameter, saga::detail::attribute< metric >::init(), saga::detail::attribute< metric >::init_keynames(), saga::attributes::metric_description, saga::attributes::metric_mode, saga::attributes::metric_mode_final, saga::attributes::metric_mode_readonly, saga::attributes::metric_mode_readwrite, saga::attributes::metric_name, saga::attributes::metric_type, saga::attributes::metric_unit, and saga::attributes::metric_value.
| saga::metric::~metric | ( | void | ) |
Brief description starts here.
| saga::impl::metric * saga::metric::get_impl | ( | void | ) | const [protected] |
@ TR1::shared_ptr <saga::impl::metric> get_impl_sp (void) const;
Reimplemented from saga::object.
Referenced by add_callback(), fire(), saga::operator==(), and remove_callback().
| metric & saga::metric::operator= | ( | saga::object const & | o | ) |
Brief description starts here.
References saga::BadParameter, saga::object::get_type(), and saga::object::Metric.
| void saga::metric::fire | ( | saga::context | ctx = saga::context() | ) |
Brief description starts here.
References saga::detail::attribute< metric >::get_attribute(), get_impl(), saga::attributes::metric_mode, saga::attributes::metric_mode_readonly, saga::attributes::metric_name, and saga::PermissionDenied.
| metric::metric_cookie saga::metric::add_callback | ( | saga::callback | f | ) |
Brief description starts here.
References get_impl().
| void saga::metric::remove_callback | ( | metric_cookie | cookie | ) |
Brief description starts here.
References get_impl().