ACE  6.1.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
ACE::Monitor_Control::Size_Monitor Class Reference

Base class from which ACE monitors of size are derived. More...

#include <Monitor_Size.h>

Inheritance diagram for ACE::Monitor_Control::Size_Monitor:
Inheritance graph
Collaboration diagram for ACE::Monitor_Control::Size_Monitor:
Collaboration graph

Public Member Functions

 Size_Monitor (void)
 Size_Monitor (const char *name)
virtual ~Size_Monitor (void)
virtual void update (void)
virtual void clear (void)
 Reset function. More...
- Public Member Functions inherited from ACE::Monitor_Control::Monitor_Base
 Monitor_Base (const char *name, Monitor_Control_Types::Information_Type type)
virtual ~Monitor_Base (void)
virtual void receive (double data)
 Updates the monitor's data if it is a numeric floating point. More...
virtual void receive (size_t data)
 Updates the monitor's data if it is an integer size. More...
virtual void receive (const Monitor_Control_Types::NameList &data)
 Updates the monitor's data if it is a string type. More...
long add_constraint (const char *expression, Control_Action *action=0)
 Add a constraint, returns a unique constraint id. More...
Control_Actionremove_constraint (const long constraint_id)
CONSTRAINTSconstraints (void)
 Get all constraints. More...
void retrieve (Monitor_Control_Types::Data &data) const
 Data accessors. More...
void retrieve_and_clear (Monitor_Control_Types::Data &data)
void add_to_registry (const ACE_Time_Value &time=ACE_Time_Value::zero)
 Common to all monitors. More...
void remove_from_registry (void)
const char * name (void) const
void name (const char *new_name)
void add_ref (void)
void remove_ref (void)
double average (void) const
 Calculate the average of the accumulated samples. More...
double sum_of_squares (void) const
 Calculate the sum of the squares of the samples. More...
size_t count (void) const
 Returns the number of samples. More...
double minimum_sample (void) const
 Returns the minimum sample value. More...
double maximum_sample (void) const
 Returns the maximum sample value. More...
double last_sample (void) const
 Returns the most recent sample value. More...
Monitor_Control_Types::Information_Type type (void) const
 Return the type of this statistic. More...
Monitor_Control_Types::NameList get_list (void) const
 Return the list or error msg if wrong type. More...

Additional Inherited Members

- Public Types inherited from ACE::Monitor_Control::Monitor_Base
- Protected Member Functions inherited from ACE::Monitor_Control::Monitor_Base
virtual void clear_i (void)
- Protected Attributes inherited from ACE::Monitor_Control::Monitor_Base
Monitor_Control_Types::Data data_
CONSTRAINTS constraints_

Detailed Description

Base class from which ACE monitors of size are derived.

Constructor & Destructor Documentation

ACE::Monitor_Control::Size_Monitor::Size_Monitor ( void  )
ACE::Monitor_Control::Size_Monitor::Size_Monitor ( const char *  name)
ACE::Monitor_Control::Size_Monitor::~Size_Monitor ( void  )

Member Function Documentation

void ACE::Monitor_Control::Size_Monitor::clear ( void  )

Reset function.

Reimplemented from ACE::Monitor_Control::Monitor_Base.

void ACE::Monitor_Control::Size_Monitor::update ( void  )

Implemented by the most-derived class. Does the actual work of fetching the monitored value.

Reimplemented from ACE::Monitor_Control::Monitor_Base.

The documentation for this class was generated from the following files: