summaryrefslogtreecommitdiff
path: root/ACE/ace/Monitor_Base.h
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2008-07-15 17:20:17 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2008-07-15 17:20:17 +0000
commit595f79ce24c5c32ad3b2257770379824bb19f017 (patch)
tree446ae3fc2a5f4ba03495c4f4a71d9b2b4e4de77c /ACE/ace/Monitor_Base.h
parent9a044f15e993030933bd1945ea43d06e236e4274 (diff)
downloadATCD-595f79ce24c5c32ad3b2257770379824bb19f017.tar.gz
ChangeLogTag: Tue Jul 15 17:19:14 UTC 2008 Jeff Parsons <j.parsons@vanderbilt.edu>
Diffstat (limited to 'ACE/ace/Monitor_Base.h')
-rw-r--r--ACE/ace/Monitor_Base.h26
1 files changed, 3 insertions, 23 deletions
diff --git a/ACE/ace/Monitor_Base.h b/ACE/ace/Monitor_Base.h
index 444f18b1216..bea38206cc8 100644
--- a/ACE/ace/Monitor_Base.h
+++ b/ACE/ace/Monitor_Base.h
@@ -52,22 +52,11 @@ namespace ACE
: private ACE_Refcountable_T<ACE_SYNCH_MUTEX>
{
public:
- /// A monitor can hold various types of data and maintains stats
- /// differently depending upon the type of information stored.
- enum Information_Type
- {
- MC_COUNTER,
- MC_NUMBER,
- MC_TIME,
- MC_INTERVAL,
- MC_LIST,
- MC_GROUP
- };
-
typedef Monitor_Control_Types::ConstraintList CONSTRAINTS;
typedef CONSTRAINTS::const_iterator CONSTRAINT_ITERATOR;
- Monitor_Base (const char* name, Information_Type type);
+ Monitor_Base (const char* name,
+ Monitor_Control_Types::Information_Type type);
virtual ~Monitor_Base (void);
/// Implemented by the most-derived class. Does the actual
@@ -132,7 +121,7 @@ namespace ACE
double last_sample (void) const;
/// Return the type of this statistic
- Information_Type type (void) const;
+ Monitor_Control_Types::Information_Type type (void) const;
/// Return the list or error msg if wrong type.
Monitor_Control_Types::NameList get_list (void) const;
@@ -150,15 +139,6 @@ namespace ACE
private:
ACE_CString name_;
- Information_Type type_;
-
- size_t index_;
- bool minimum_set_;
- double minimum_;
- double maximum_;
- double sum_;
- double sum_of_squares_;
- double last_;
};
}
}