Flext support class.
More...
Flext support class.
A number of methods (most are static functions) are defined here for convenience. This class doesn't define any data members, hence it can be inherited to all classes (not only PD objects) to profit from the cross-platform functionality. Examples are the overloaded memory allocation, atom and atom list functions, thread functions and classes, the sample buffer class and others.
This class can also be used for a non-object class (not representing an external object) and won't give any extra burden to it.
◆ DELTHROW
◆ NEWTHROW
#define NEWTHROW throw(std::bad_alloc) |
◆ FLEXT_CLASSDEF() [1/3]
◆ FLEXT_CLASSDEF() [2/3]
◆ FLEXT_CLASSDEF() [3/3]
◆ FLEXT_TEMPINST() [1/2]
◆ FLEXT_TEMPINST() [2/2]
typedef FLEXT_TEMPINST |
( |
FLEXT_SHARE |
FLEXT_CLASSDEFflext_root | ) |
|
◆ operator delete()
void flext_root::operator delete |
( |
void * |
blk | ) |
|
throw | ( | |
| ) | | |
|
inline |
We need system locking here for secondary threads!
◆ operator delete[]()
void operator delete[] |
( |
void * |
blk | ) |
|
throw | ( | |
| ) | | |
|
inline |
◆ operator new()
void * flext_root::operator new |
( |
size_t |
bytes | ) |
|
throw | ( | std::bad_alloc |
| ) | | |
|
inline |
We need system locking here for secondary threads!
◆ operator new[]()
void* operator new[] |
( |
size_t |
bytes | ) |
|
throw | ( | std::bad_alloc |
| ) | | |
|
inline |