summaryrefslogtreecommitdiff
path: root/ace/Timeprobe_T.h
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-11-19 06:31:57 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-11-19 06:31:57 +0000
commit37ca19ecbb89b2cdfbd6eda8a7664cdca9b9688f (patch)
tree937d70c7e0071f4956f236c83c2aa012d52aedc8 /ace/Timeprobe_T.h
parent668ab2b34e957a07a9bdc9db38989710888523f4 (diff)
downloadATCD-37ca19ecbb89b2cdfbd6eda8a7664cdca9b9688f.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/Timeprobe_T.h')
-rw-r--r--ace/Timeprobe_T.h50
1 files changed, 37 insertions, 13 deletions
diff --git a/ace/Timeprobe_T.h b/ace/Timeprobe_T.h
index a95617ab891..fe5e031396c 100644
--- a/ace/Timeprobe_T.h
+++ b/ace/Timeprobe_T.h
@@ -54,6 +54,14 @@ public:
// Default size of the slots in Timeprobe
};
+ typedef ACE_Timeprobe<ACE_LOCK>
+ SELF;
+ // Self
+
+ typedef ACE_Unbounded_Set<ACE_Event_Descriptions>
+ EVENT_DESCRIPTIONS;
+ // We can hold multiple event description tables.
+
ACE_Timeprobe (u_long size = ACE_DEFAULT_TABLE_SIZE);
// Create Timeprobes with <size> slots
@@ -82,24 +90,16 @@ public:
ACE_Timeprobe (const ACE_Timeprobe<ACE_LOCK> &);
// Not implemented (stupid MSVC won't let it be protected).
-protected:
- typedef ACE_Timeprobe<ACE_LOCK>
- SELF;
- // Self
-
- typedef ACE_Unbounded_Set<ACE_Event_Descriptions>
- EVENT_DESCRIPTIONS;
- // We can hold multiple event description tables.
+ // = (Somewhat private) Accessors
- EVENT_DESCRIPTIONS event_descriptions_;
+ ACE_Unbounded_Set<ACE_Event_Descriptions> &event_descriptions (void);
// Event Descriptions
- EVENT_DESCRIPTIONS sorted_event_descriptions_;
+ ACE_Unbounded_Set<ACE_Event_Descriptions> &sorted_event_descriptions (void);
// Sorted Event Descriptions.
- u_int *current_slot_vme_address_;
- // Added sections below here to make compatible with the VMETRO
- // board test.
+ u_int *current_slot_vme_address (void);
+ // VME slot address.
const char *find_description_i (u_long i);
// Find description of event <i>
@@ -107,6 +107,30 @@ protected:
void sort_event_descriptions_i (void);
// Sort event descriptions
+ ACE_timeprobe_t *timeprobes (void);
+ // Time probe slots
+
+ ACE_LOCK &lock (void);
+ // Synchronization variable.
+
+ u_long max_size (void);
+ // Max size of timestamp table
+
+ u_long current_size (void);
+ // Current size of timestamp table
+
+protected:
+
+ EVENT_DESCRIPTIONS event_descriptions_;
+ // Event Descriptions
+
+ EVENT_DESCRIPTIONS sorted_event_descriptions_;
+ // Sorted Event Descriptions.
+
+ u_int *current_slot_vme_address_;
+ // Added sections below here to make compatible with the VMETRO
+ // board test.
+
ACE_timeprobe_t *timeprobes_;
// Time probe slots