VR-Vantage 3.2 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes
ImSpanAllocator< CHUNKS > Struct Template Reference

Public Member Functions

 ImSpanAllocator ()
void Reserve (int n, size_t sz, int a=4)
int GetArenaSizeInBytes ()
void SetArenaBasePtr (void *base_ptr)
void * GetSpanPtrBegin (int n)
void * GetSpanPtrEnd (int n)
template<typename T >
void GetSpan (int n, ImSpan< T > *span)

Public Attributes

char * BasePtr
int CurrOff
int CurrIdx
int Offsets [CHUNKS]
int Sizes [CHUNKS]

Constructor & Destructor Documentation

template<int CHUNKS>
ImSpanAllocator< CHUNKS >::ImSpanAllocator ( )
inline

Member Function Documentation

template<int CHUNKS>
void ImSpanAllocator< CHUNKS >::Reserve ( int  n,
size_t  sz,
int  a = 4 
)
inline
template<int CHUNKS>
int ImSpanAllocator< CHUNKS >::GetArenaSizeInBytes ( )
inline
template<int CHUNKS>
void ImSpanAllocator< CHUNKS >::SetArenaBasePtr ( void *  base_ptr)
inline
template<int CHUNKS>
void* ImSpanAllocator< CHUNKS >::GetSpanPtrBegin ( int  n)
inline
template<int CHUNKS>
void* ImSpanAllocator< CHUNKS >::GetSpanPtrEnd ( int  n)
inline
template<int CHUNKS>
template<typename T >
void ImSpanAllocator< CHUNKS >::GetSpan ( int  n,
ImSpan< T > *  span 
)
inline

Member Data Documentation

template<int CHUNKS>
char* ImSpanAllocator< CHUNKS >::BasePtr
template<int CHUNKS>
int ImSpanAllocator< CHUNKS >::CurrOff
template<int CHUNKS>
int ImSpanAllocator< CHUNKS >::CurrIdx
template<int CHUNKS>
int ImSpanAllocator< CHUNKS >::Offsets[CHUNKS]
template<int CHUNKS>
int ImSpanAllocator< CHUNKS >::Sizes[CHUNKS]

The documentation for this struct was generated from the following file:


Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)