27 #ifndef INCLUDED_AlignedMemory_h_GUID_552DA92F_420A_4ADB_BCD2_493486A1C7A1 28 #define INCLUDED_AlignedMemory_h_GUID_552DA92F_420A_4ADB_BCD2_493486A1C7A1 49 throw std::runtime_error(
"Could not perform aligned allocation!");
65 #endif // INCLUDED_AlignedMemory_h_GUID_552DA92F_420A_4ADB_BCD2_493486A1C7A1 Definition: RunLoopManager.h:42
The default (and core-utilized) alignment of imaging buffers, etc.
Definition: AlignedMemoryC.h:47
The main namespace for all C++ elements of the framework, internal and external.
Definition: namespace_osvr.dox:3
Deleter class matching alignedAlloc.
Definition: AlignedMemory.h:59
OSVR_UTIL_EXPORT void osvrAlignedFree(void *p)
Aligned deallocation function, uses the pointer to the original memory block to deallocate it...
Definition: AlignedMemoryC.cpp:64
void * alignedAlloc(size_t bytes, size_t alignment=OSVR_DEFAULT_ALIGN_SIZE)
Aligned allocation function, gives a pointer to a block of memory aligned to a memory boundary...
Definition: AlignedMemory.h:45
void alignedFree(void *p)
Aligned deallocation function, uses the pointer to the original memory block to deallocate it...
Definition: AlignedMemory.h:56
OSVR_UTIL_EXPORT void * osvrAlignedAlloc(size_t bytes, size_t alignment OSVR_CPP_ONLY(=OSVR_DEFAULT_ALIGN_SIZE))
Aligned allocation function, gives a pointer to a block of memory aligned to a memory boundary...