#include <SafetyProfileSequence.h>
Public Member Functions | |
seq_size_type | maximum () const |
seq_size_type | max_size () const |
void | replace (seq_size_type length, T *data, seq_flag_type release=false) |
Static Public Member Functions | |
static T * | allocbuf () |
Protected Member Functions | |
AllocPolicy (seq_size_type=N) | |
T * | allocate (seq_size_type=N) const |
void | swap (AllocPolicy &) throw () |
Definition at line 54 of file SafetyProfileSequence.h.
OpenDDS::SafetyProfile::AllocPolicy< T, Sequence, Bounded< N > >::AllocPolicy | ( | seq_size_type | = N |
) | [inline, explicit, protected] |
Definition at line 63 of file SafetyProfileSequence.h.
T* OpenDDS::SafetyProfile::AllocPolicy< T, Sequence, Bounded< N > >::allocate | ( | seq_size_type | = N |
) | const [inline, protected] |
Definition at line 64 of file SafetyProfileSequence.h.
00064 { return allocbuf(); }
T * OpenDDS::SafetyProfile::AllocPolicy< T, Sequence, Bounded< N > >::allocbuf | ( | ) | [inline, static] |
Definition at line 334 of file SafetyProfileSequence.h.
References ACE_Allocator::instance(), and ACE_Allocator::malloc().
00335 { 00336 void* const raw = 00337 ACE_Allocator::instance()->malloc(N * sizeof(T)); 00338 T* const mem = static_cast<T*>(raw); 00339 Sequence::ElementPolicy::construct(mem, N, false); 00340 return mem; 00341 }
seq_size_type OpenDDS::SafetyProfile::AllocPolicy< T, Sequence, Bounded< N > >::max_size | ( | ) | const [inline] |
Definition at line 57 of file SafetyProfileSequence.h.
seq_size_type OpenDDS::SafetyProfile::AllocPolicy< T, Sequence, Bounded< N > >::maximum | ( | ) | const [inline] |
Definition at line 56 of file SafetyProfileSequence.h.
void OpenDDS::SafetyProfile::AllocPolicy< T, Sequence, Bounded< N > >::replace | ( | seq_size_type | length, | |
T * | data, | |||
seq_flag_type | release = false | |||
) | [inline] |
Definition at line 58 of file SafetyProfileSequence.h.
References release().
00059 { 00060 static_cast<Sequence&>(*this).replace_i(N, length, data, release); 00061 }
void OpenDDS::SafetyProfile::AllocPolicy< T, Sequence, Bounded< N > >::swap | ( | AllocPolicy< T, Sequence, Bounded< N > > & | ) | throw () [inline, protected] |
Definition at line 65 of file SafetyProfileSequence.h.