Queued_Data.cpp File Reference

#include "tao/Queued_Data.h"
#include "tao/debug.h"
#include "ace/Log_Msg.h"
#include "ace/Malloc_Base.h"
Include dependency graph for Queued_Data.cpp:

Functions

 ACE_RCSID (tao, Queued_Data,"$Id: Queued_Data.cpp 84443 2009-02-12 20:26:35Z johnnyw $") 1static ACE_Message_Block *clone_mb_nocopy_size(ACE_Message_Block *mb
 Allocate and return a new empty message block of size span_size mimicking parameters of mb.

Function Documentation

ACE_RCSID ( tao  ,
Queued_Data  ,
"$Id: Queued_Data.cpp 84443 2009-02-12 20:26:35Z johnnyw $"   
)

Allocate and return a new empty message block of size span_size mimicking parameters of mb.

This function allocates a new aligned message block using the same allocators and flags as found in mb. The size of the new message block is at least span_size; the size may be adjusted up in order to accomodate alignment requirements and still fit span_size bytes into the aligned buffer.

Parameters:
mb message block whose parameters should be mimicked
span_size size of the new message block (will be adjusted for proper alignment)
Returns:
an aligned message block with rd_ptr sitting at correct alignment spot, 0 on failure
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Fri Sep 11 04:07:19 2009 for TAO by  doxygen 1.6.1