From 37ca19ecbb89b2cdfbd6eda8a7664cdca9b9688f Mon Sep 17 00:00:00 2001 From: irfan Date: Thu, 19 Nov 1998 06:31:57 +0000 Subject: *** empty log message *** --- ace/Timeprobe_T.h | 50 +++++++++++++++++++++++++++++++++++++------------- 1 file changed, 37 insertions(+), 13 deletions(-) (limited to 'ace/Timeprobe_T.h') 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 + SELF; + // Self + + typedef ACE_Unbounded_Set + EVENT_DESCRIPTIONS; + // We can hold multiple event description tables. + ACE_Timeprobe (u_long size = ACE_DEFAULT_TABLE_SIZE); // Create Timeprobes with slots @@ -82,24 +90,16 @@ public: ACE_Timeprobe (const ACE_Timeprobe &); // Not implemented (stupid MSVC won't let it be protected). -protected: - typedef ACE_Timeprobe - SELF; - // Self - - typedef ACE_Unbounded_Set - EVENT_DESCRIPTIONS; - // We can hold multiple event description tables. + // = (Somewhat private) Accessors - EVENT_DESCRIPTIONS event_descriptions_; + ACE_Unbounded_Set &event_descriptions (void); // Event Descriptions - EVENT_DESCRIPTIONS sorted_event_descriptions_; + ACE_Unbounded_Set &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 @@ -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 -- cgit v1.2.1