00001
00002
00003
00004
00005 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
00006
00007 template<class ACE_LOCK> ACE_INLINE
00008 ACE_Locked_Data_Block<ACE_LOCK>::ACE_Locked_Data_Block (void)
00009 {
00010 this->locking_strategy_ = &this->lock_;
00011 }
00012
00013 template<class ACE_LOCK> ACE_INLINE
00014 ACE_Locked_Data_Block<ACE_LOCK>::
00015 ACE_Locked_Data_Block (size_t size,
00016 ACE_Message_Block::ACE_Message_Type msg_type,
00017 const char *msg_data,
00018 ACE_Allocator *allocator_strategy,
00019 ACE_Message_Block::Message_Flags flags,
00020 ACE_Allocator *data_block_allocator)
00021 : ACE_Data_Block (size,
00022 msg_type,
00023 msg_data,
00024 allocator_strategy,
00025 &lock_,
00026 flags,
00027 data_block_allocator)
00028 {
00029 }
00030
00031 ACE_END_VERSIONED_NAMESPACE_DECL