Reference

ACE_Malloc_Header(3)

This is the control block header. It's used by ACE_Malloc to keep track of each chunk of data when it's in the free list or in use.

NAME

ACE_Malloc_Header - This is the control block header. It's used by ACE_Malloc to keep track of each chunk of data when it's in the free list or in use.

SYNOPSIS

#include <ace/Malloc.h>
class ACE_Malloc_Header
{
  public:
    ACE_Malloc_Header (void);
    ACE_MALLOC_HEADER_PTR next_block_;
    size_t size_;
        long padding_[ACE_MALLOC_PADDING_SIZE < 1 : ACE_MALLOC_PADDING_SIZE];
        
    void dump (void) const;
  private:
    inline ACE_UNIMPLEMENTED_FUNC (
        void operator= (const ACE_Malloc_Header &)
        );
};

PUBLIC MEMBERS

ACE_Malloc_Header (void);

ACE_MALLOC_HEADER_PTR next_block_;

Points to next block if on free list.

size_t size_;

Size of this header control block.

long padding_[ACE_MALLOC_PADDING_SIZE < 1 : ACE_MALLOC_PADDING_SIZE];

void dump (void) const;

Dump the state of the object.

PRIVATE MEMBERS

inline ACE_UNIMPLEMENTED_FUNC (
    void operator= (const ACE_Malloc_Header &)
    );

AUTHOR

Doug Schmidt and Irfan Pyarali

LIBRARY

ace