NAME

OTC_Cluster - Pool of objects which are to be deleted at the same time.

SYNOPSIS


#include <OTC/memory/cluster.hh>

class OTC_Cluster
{
  public:
    OTC_Cluster();
    OTC_Cluster(size_t theBlockSize, size_t theSlop=16);
    ~OTC_Cluster();
};

CLASS TYPE

Concrete

DESCRIPTION

The OTC_Cluster class is a pool of objects which are to be deleted at the same time. Memory for the objects is allocated from a memory arena.

EXAMPLE

INITIALISATION

OTC_Cluster();
OTC_Cluster(size_t theBlockSize, size_t theSlop=16);

DESTRUCTION

~OTC_Cluster();

SEE ALSO

OTC_MCObject, OTC_Arena

LIBRARY

OTC

AUTHOR(S)

Graham Dumpleton

COPYRIGHT

Copyright 1994 TELSTRA CORPORATION LIMITED
Copyright 1994 DUMPLETON SOFTWARE CONSULTING PTY LIMITED