Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

MemoryGate.h File Reference

#include "Utility.h"
#include "Atomic.h"
#include "Fifo.h"
#include "MessagePort.h"
#include "MemoryMessage.h"
#include "MemoryGatePolicies.h"
#include <stdexcept>
#include <boost/shared_ptr.hpp>

Namespaces

namespace  ark

Classes

class  ark::MemoryGate< BufferDeallocPolicy, ObjectDeallocPolicy, ArrayDeallocPolicy, LateDeallocPolicy, SignalServerPolicy >
class  ark::MemoryGate< BufferDeallocPolicy, ObjectDeallocPolicy, ArrayDeallocPolicy, LateDeallocPolicy, SignalServerPolicy >::ServerRemover

Defines

#define ARK_MEMORY_GATE_DEFAULT_BUFFER_DEALLOC_POLICY   memory_gate_policies::NoBufferDealloc
#define ARK_MEMORY_GATE_DEFAULT_OBJECT_DEALLOC_POLICY   memory_gate_policies::NoObjectDealloc
#define ARK_MEMORY_GATE_DEFAULT_ARRAY_DEALLOC_POLICY   memory_gate_policies::NoArrayDealloc
#define ARK_MEMORY_GATE_DEFAULT_LATE_DEALLOC_POLICY   memory_gate_policies::DefaultLateDealloc
#define ARK_MEMORY_GATE_DEFAULT_SIGNAL_SERVER_POLICY   memory_gate_policies::PeriodicSignalServer

Define Documentation

#define ARK_MEMORY_GATE_DEFAULT_ARRAY_DEALLOC_POLICY   memory_gate_policies::NoArrayDealloc
 

#define ARK_MEMORY_GATE_DEFAULT_BUFFER_DEALLOC_POLICY   memory_gate_policies::NoBufferDealloc
 

MemoryGate MemoryGate is a sophisticated deallocator for time-constrained threads.

Deallocation Precedence:

  • RELEVANT_POLICY::preDealloc
  • Return to server
  • RELEVANT_POLICY::postDealloc
  • RELEVANT_POLICY::lateDealloc
  • Error handler
Additionally there are fast interfaces for choosing specific alloc/dealloc strategies in isolation.

#define ARK_MEMORY_GATE_DEFAULT_LATE_DEALLOC_POLICY   memory_gate_policies::DefaultLateDealloc
 

#define ARK_MEMORY_GATE_DEFAULT_OBJECT_DEALLOC_POLICY   memory_gate_policies::NoObjectDealloc
 

#define ARK_MEMORY_GATE_DEFAULT_SIGNAL_SERVER_POLICY   memory_gate_policies::PeriodicSignalServer
 


Generated on Tue Sep 6 14:54:36 2005 for Arkonnekt Sound by  doxygen 1.4.4