PMDA++
0.4.4
Header-only C++ library for writing PCP PMDAs
|
Sets up common PMDA++ library macros. More...
#include <boost/date_time/posix_time/posix_time_duration.hpp>
#include <boost/program_options.hpp>
#include <pcp/pmapi.h>
#include <pcp/impl.h>
#include <pcp/pmda.h>
Go to the source code of this file.
Namespaces | |
pcp | |
Macros | |
#define | PCP_CPP_BOOST_PO_IMPLICIT_VALUE(...) |
Sets a command line option's implicit value, if supported by the version of Boost.Program_Options being built against. More... | |
#define | PCP_CPP_BOOST_PO_VALUE_NAME(name) |
Sets a command line option's value name, if supported by the version of Boost.Program_Options being built against. More... | |
#define | PCP_CPP_PMDA_INTERFACE_VERSION PMDA_INTERFACE_LATEST |
PMDA interface version to use; defaults to "latest". More... | |
#define | PCP_CPP_UNUSED(name) (void)name; |
Let the compiler know that a parameter is unsed. More... | |
Functions | |
template<typename Type > | |
Type | pcp::get_pcp_runtime_version () |
Get the PCP runtime version as a numeric value. More... | |
template<> | |
char * | pcp::get_pcp_runtime_version () |
Get the PCP runtime version as a string. More... | |
Sets up common PMDA++ library macros.
Definition in file config.hpp.
#define PCP_CPP_BOOST_PO_IMPLICIT_VALUE | ( | ... | ) |
Sets a command line option's implicit value, if supported by the version of Boost.Program_Options being built against.
Definition at line 40 of file config.hpp.
Referenced by pcp::pmda::get_supported_options(), and pcp::pmda::pcp_builtin_options().
#define PCP_CPP_BOOST_PO_VALUE_NAME | ( | name | ) |
Sets a command line option's value name, if supported by the version of Boost.Program_Options being built against.
name | Option's value name |
Definition at line 46 of file config.hpp.
Referenced by pcp::pmda::get_supported_options(), and pcp::pmda::pcp_builtin_options().
#define PCP_CPP_PMDA_INTERFACE_VERSION PMDA_INTERFACE_LATEST |
PMDA interface version to use; defaults to "latest".
Definition at line 56 of file config.hpp.
Referenced by pcp::pmda::display_version(), pcp::pmda::initialize_dso(), and pcp::pmda::run_daemon().
#define PCP_CPP_UNUSED | ( | name | ) | (void)name; |
Let the compiler know that a parameter is unsed.
name | The name of the unused parameter. |
Definition at line 106 of file config.hpp.
Referenced by pcp::pmda::store_value().