OpenDDS  Snapshot(2023/04/28-20:55)
CopyChainVisitor.inl
Go to the documentation of this file.
1 /*
2  *
3  *
4  * Distributed under the OpenDDS License.
5  * See: http://www.opendds.org/license.html
6  */
7 
8 #include "EntryExit.h"
9 
13  MessageBlockAllocator* mb_allocator,
14  DataBlockAllocator* db_allocator,
15  bool duplicate
16 ) : target_(target)
17  , mb_allocator_(mb_allocator)
18  , db_allocator_(db_allocator)
19  , status_(0)
20  , duplicate_(duplicate)
21 {
22  DBG_ENTRY_LVL("CopyChainVisitor", "CopyChainVisitor", 6);
23 }
24 
26 int
28 {
29  return status_;
30 }
CopyChainVisitor(BasicQueue< TransportQueueElement > &target, MessageBlockAllocator *mb_allocator, DataBlockAllocator *db_allocator, bool duplicate=false)
int status_
Status of visitation.
A fixed-size allocator that caches items for quicker access but if the pool is exhausted it will use ...
#define DBG_ENTRY_LVL(CNAME, MNAME, DBG_LVL)
Definition: EntryExit.h:68
#define ACE_INLINE
int status() const
Access the status.