summaryrefslogtreecommitdiff
path: root/ace/Message_Block.h
diff options
context:
space:
mode:
authorjxh <jxh@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-01-27 23:50:57 +0000
committerjxh <jxh@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-01-27 23:50:57 +0000
commitc02ea002f0db85072d33e0c302c4bca5218cad0c (patch)
treec4ebbd0668f97c30825b4fa5a74d27cc6a9861b7 /ace/Message_Block.h
parent585ab5ba3e9c00214b20f5d18b2d6f4f2dacb453 (diff)
downloadATCD-c02ea002f0db85072d33e0c302c4bca5218cad0c.tar.gz
Added a ACE_Message_Block::reset() method that puts the
rd_ptr() and wr_ptr() back to the beginning of the message block.
Diffstat (limited to 'ace/Message_Block.h')
-rw-r--r--ace/Message_Block.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ace/Message_Block.h b/ace/Message_Block.h
index a6b750c212c..901cfb05f9f 100644
--- a/ace/Message_Block.h
+++ b/ace/Message_Block.h
@@ -294,6 +294,10 @@ public:
void crunch (void);
// Normalizes data in the top-level <Message_Block> to align with the base.
+ void reset (void);
+ // Resets the Message Block data to contain nothing, i.e., sets the
+ // read and write pointers to align with the base.
+
char *base (void) const;
// Get message data.