PMDA++
0.4.4
Header-only C++ library for writing PCP PMDAs
|
A cluster of metric descriptions. More...
#include <metric_description.hpp>
Public Member Functions | |
metric_cluster (const cluster_id_type id, const std::string &name) | |
Constructor. More... | |
cluster_id_type | get_cluster_id () const |
Get this cluster's ID. More... | |
std::string | get_cluster_name () const |
Get this cluster's name. More... | |
metric_cluster & | operator() (const item_id_type item_id, const std::string &metric_name, const atom_type_type type, const semantic_type semantic, const pmUnits &units, const metric_flags flags=static_cast< metric_flags >(0), instance_domain *const domain=NULL, const std::string &short_description=std::string(), const std::string &verbose_description=std::string(), void *const opaque=NULL) |
Metric insertion functor. More... | |
metric_cluster & | operator() (const item_id_type item_id, const std::string &metric_name, const atom_type_type type, const semantic_type semantic, const pmUnits &units, instance_domain *const domain, const metric_flags flags=static_cast< metric_flags >(0), const std::string &short_description=std::string(), const std::string &verbose_description=std::string(), void *const opaque=NULL) |
Metric insertion functor. More... | |
metric_cluster & | operator() (const item_id_type item_id, const std::string &metric_name, const atom_type_type type, const semantic_type semantic, const pmUnits &units, instance_domain *const domain=NULL, const std::string &short_description=std::string(), const std::string &verbose_description=std::string(), void *const opaque=NULL, const metric_flags flags=static_cast< metric_flags >(0)) |
Metric insertion functor. More... | |
A cluster of metric descriptions.
Definition at line 126 of file metric_description.hpp.
|
inline |
Constructor.
id | ID for this cluster. |
name | Name for this cluster. |
Definition at line 136 of file metric_description.hpp.
|
inline |
Get this cluster's ID.
Definition at line 149 of file metric_description.hpp.
Referenced by pcp::pmda::initialize_pmda(), and pcp::pmda::set_callbacks().
|
inline |
Get this cluster's name.
Definition at line 159 of file metric_description.hpp.
Referenced by pcp::pmda::set_callbacks().
|
inline |
Metric insertion functor.
This functor allows for chained insertion of metrics into this cluster.
item_id | ID for the metric being inserted. |
metric_name | Metric name. |
type | Atom type. |
semantic | PCP semantic. |
units | PCP units. |
flags | Optional metric flags. |
domain | Optional instance domain. |
short_description | Short description. |
verbose_description | Verbose description. |
opaque | Opaque value to track. |
Definition at line 182 of file metric_description.hpp.
References pcp::metric_description::metric_description().
|
inline |
Metric insertion functor.
This functor allows for chained insertion of metrics into this cluster.
item_id | ID for the metric being inserted. |
metric_name | Metric name. |
type | Atom type. |
semantic | PCP semantic. |
units | PCP units. |
domain | Optional instance domain. |
flags | Optional metric flags. |
short_description | Short description. |
verbose_description | Verbose description. |
opaque | Opaque value to track. |
Definition at line 216 of file metric_description.hpp.
References pcp::metric_description::metric_description().
|
inline |
Metric insertion functor.
This functor allows for chained insertion of metrics into this cluster.
item_id | ID for the metric being inserted. |
metric_name | Metric name. |
type | Atom type. |
semantic | PCP semantic. |
units | PCP units. |
domain | Optional instance domain. |
short_description | Short description. |
verbose_description | Verbose description. |
opaque | Opaque value to track. |
flags | Optional metric flags. |
Definition at line 250 of file metric_description.hpp.
References pcp::metric_description::metric_description().