summaryrefslogtreecommitdiff
path: root/ace/Active_Map_Manager.h
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-02-06 04:25:54 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-02-06 04:25:54 +0000
commit0d8ee7e4258f06f26d0a9dbb467ecf573dc5d689 (patch)
treea00a40326372f5fade152590802b12891788f2a3 /ace/Active_Map_Manager.h
parent93735413191d08c245df27e593d79aba9482efc2 (diff)
downloadATCD-0d8ee7e4258f06f26d0a9dbb467ecf573dc5d689.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/Active_Map_Manager.h')
-rw-r--r--ace/Active_Map_Manager.h25
1 files changed, 16 insertions, 9 deletions
diff --git a/ace/Active_Map_Manager.h b/ace/Active_Map_Manager.h
index b28d45f5ea8..90e98caaa7a 100644
--- a/ace/Active_Map_Manager.h
+++ b/ace/Active_Map_Manager.h
@@ -43,24 +43,31 @@ public:
// generation number from the client.
u_long index (void) const;
- // Get the index.
+ void index (u_long i);
+ // Get/Set the index.
u_long generation (void) const;
- // Get the generation number.
+ void generation (u_long g);
+ // Get/Set the generation number.
+ static size_t size (void);
+ // Size required to store information about active key.
+
+ void decode (const void *data);
+ // Recover state of active key from <data>. User must make sure
+ // that <data> encoded using the <encode> method.
+
+ void encode (void *data) const;
+ // Encode state of the active key into <data>. <data> must be as
+ // big as the value returned from <size>.
+
int operator== (const ACE_Active_Map_Manager_Key &rhs) const;
int operator!= (const ACE_Active_Map_Manager_Key &rhs) const;
// Compare keys.
- // = These really should be protected but because of template
+ // = This really should be protected but because of template
// friends, they are not.
- void index (u_long i);
- // Set the index.
-
- void generation (u_long g);
- // Set the generation number.
-
void increment_generation_count (void);
// Increment the generation number.