Bug 888

Summary: Cannot create TAO_InputCDR by passing the right allocators
Product: TAO Reporter: Nanbor Wang <bala>
Component: ORBAssignee: DOC Center Support List (internal) <tao-support>
Status: ASSIGNED ---    
Severity: normal    
Priority: P3    
Version: 1.0.14   
Hardware: All   
OS: All   

Description Nanbor Wang 2001-04-27 14:32:06 CDT
The CDR classes does not allow  creating a stream with the right allocators. All
the constructors only favor a default allocator. The ORB_Core creates/dishes out
buffer and data_block allocators for input streams, but there is no way that we
can use that.  The answer is we need to add more constructors.  But I was just
wondering whether the omission is deliberate?
Comment 1 Carlos O'Ryan 2001-05-07 12:31:44 CDT
One of the constructors actually uses the *output* CDR allocators, the code is 
mine, but I cannot recall why it was done that way.  It could be a mistake, big 
one that is.

What do you want to do with this bug?  Who should become responsible for it?
Comment 2 Nanbor Wang 2001-05-07 12:51:12 CDT
Maybe leave it with tao-support.  Let it be a documentation detail that we can
use it to track down, if something major comes up. Moreover,  we may want to
revisit some of the allocation semantics that we do in the ORB_Core. We can
defer that to TAO 2.0, may be.   
Comment 3 Carlos O'Ryan 2001-05-16 12:10:52 CDT
Assigned to tao-support, obviously nobody has time to work on it.