Statistic Class Reference

#include <Statistics.h>

List of all members.

Public Types

typedef unsigned OID
 unique OID of statistic

Public Member Functions

 Statistic (OID o, const char *n, Receptor *r)
virtual ~Statistic ()
const char * name () const
OID oid () const
Receptorreceptor () const

Protected Attributes

OID _oid
char * _name
Receptor_pReceptor


Detailed Description

Statistic represents "idetificable sensor"

Definition at line 147 of file Statistics.h.


Member Typedef Documentation

typedef unsigned OID
 

unique OID of statistic

Definition at line 149 of file Statistics.h.


Constructor & Destructor Documentation

Statistic OID  o,
const char *  n,
Receptor r
[inline]
 

Contructor

Parameters:
o unique OID
n name of the statistic
r receptor associated with this statistic

Definition at line 164 of file Statistics.h.

References Statistic::_name.

virtual ~Statistic  )  [inline, virtual]
 

Destructor

Definition at line 172 of file Statistics.h.

References Statistic::_name, and Statistic::_pReceptor.


Member Function Documentation

const char* name  )  const [inline]
 

Returns:
name of the statistic

Definition at line 180 of file Statistics.h.

References Statistic::_name.

OID oid  )  const [inline]
 

Returns:
OID of the statistic

Definition at line 185 of file Statistics.h.

References Statistic::_oid.

Receptor* receptor  )  const [inline]
 

Returns:
reference to the receptor associated with the statistic

Definition at line 190 of file Statistics.h.

References Statistic::_pReceptor.


Member Data Documentation

char* _name [protected]
 

Definition at line 153 of file Statistics.h.

Referenced by Statistic::name(), Statistic::Statistic(), and Statistic::~Statistic().

OID _oid [protected]
 

Definition at line 152 of file Statistics.h.

Referenced by Statistic::oid().

Receptor* _pReceptor [protected]
 

Definition at line 154 of file Statistics.h.

Referenced by Statistic::receptor(), and Statistic::~Statistic().


The documentation for this class was generated from the following file:
Generated on Wed Jun 28 12:24:36 2006 for esg by  doxygen 1.4.6