PMDA++  0.4.4
Header-only C++ library for writing PCP PMDAs
Public Attributes | List of all members
pcp::cache::lookup_result_type< Type > Struct Template Reference

Structure for return results from pcp::cache::lookup functions. More...

#include <cache.hpp>

Public Attributes

char * name
 Instance name. More...
 
instance_id_type instance_id
 Instance identifier. More...
 
Type opaque
 Opaque pointer, cast to type Type. More...
 
int status
 Entry status, such as PMDA_CACHE_ACTIVE. More...
 

Detailed Description

template<typename Type>
struct pcp::cache::lookup_result_type< Type >

Structure for return results from pcp::cache::lookup functions.

Template Parameters
TypeType to cast opaque pointers to.

Definition at line 57 of file cache.hpp.

Member Data Documentation

◆ instance_id

template<typename Type>
instance_id_type pcp::cache::lookup_result_type< Type >::instance_id

Instance identifier.

Definition at line 59 of file cache.hpp.

Referenced by pcp::cache::lookup().

◆ name

template<typename Type>
char* pcp::cache::lookup_result_type< Type >::name

Instance name.

Definition at line 58 of file cache.hpp.

Referenced by pcp::cache::lookup().

◆ opaque

template<typename Type>
Type pcp::cache::lookup_result_type< Type >::opaque

Opaque pointer, cast to type Type.

Definition at line 60 of file cache.hpp.

Referenced by pcp::cache::lookup(), and pcp::cache::store().

◆ status

template<typename Type>
int pcp::cache::lookup_result_type< Type >::status

Entry status, such as PMDA_CACHE_ACTIVE.

Definition at line 61 of file cache.hpp.

Referenced by pcp::cache::lookup().


The documentation for this struct was generated from the following file: