COMMS
Template library intended to help with implementation of communication protocols.
Loading...
Searching...
No Matches
Classes | Namespaces
alloc.h File Reference

This file contains various generic allocator classes that may be used to allocate objects using dynamic memory or "in-place" allocations. More...

#include <memory>
#include <type_traits>
#include <array>
#include <algorithm>
#include <limits>
#include "comms/CompileControl.h"
#include "comms/Assert.h"
#include "comms/dispatch.h"
#include "comms/util/Tuple.h"
#include "comms/util/type_traits.h"
#include "comms/details/tag.h"

Go to the source code of this file.

Classes

class  comms::util::alloc::DynMemory< TInterface >
 Dynamic memory allocator. More...
 
class  comms::util::alloc::DynMemoryNoVirtualDestructor< TInterface, TAllMessages, TId, TDefaultType >
 Dynamic memory allocator for message types without virtual destructor. More...
 
class  comms::util::alloc::InPlacePool< TInterface, TSize, TAllTypes >
 In-place object pool allocator. More...
 
class  comms::util::alloc::InPlaceSingle< TInterface, TAllTypes >
 In-place single object allocator. More...
 
class  comms::util::alloc::InPlaceSingleNoVirtualDestructor< TInterface, TAllocMessages, TOrigMessages, TId, TDefaultType >
 In-place single object allocator for message objects without virtual destructor. More...
 

Namespaces

namespace  comms
 Main namespace for all classes / functions of COMMS library.
 
namespace  comms::util
 Namespace for various utility classes and/or functions used by COMMS library.
 
namespace  comms::util::alloc
 Namespace for various allocation classes.
 

Detailed Description

This file contains various generic allocator classes that may be used to allocate objects using dynamic memory or "in-place" allocations.