AGX Dynamics 2.42.1.1
Loading...
Searching...
No Matches
Format.h File Reference
#include <typeinfo>
#include <agx/agx.h>
#include <agx/agxCore_export.h>
#include <agx/String.h>
#include <agx/Model.h>
#include <agx/Name.h>
#include <iostream>

Go to the source code of this file.

Classes

class  agxData::ArrayFormat
 
class  agxData::CallbackList
 List of callbacks used by the primitive type handling by user code. More...
 
class  agxData::ContainerFormat
 Container format, eg. More...
 
class  agxData::Format
 A format is an implementation of a agxData::Type. More...
 
class  agxData::FormatCaller
 
class  agxData::FormatCallerT< T >
 
class  agxData::FormatInitializer
 
struct  agxData::FormatMoveSwap< T >
 
struct  agxData::FormatMoveSwap< agx::HashSet< T > >
 
struct  agxData::FormatMoveSwap< agx::HashTable< KeyT, DataT > >
 
struct  agxData::FormatMoveSwap< agx::Vector< T > >
 
struct  agxData::FormatMoveSwapContainer< T >
 
class  agxData::FormatT< T >
 Templated format, connects the type abstractions to the programming language. More...
 
class  agxData::GenericFormat
 
struct  agxData::GenericStruct< NUM_BYTES >
 

Namespaces

namespace  agxData
 Contains classes for low level data storage for AGX.
 

Macros

#define AGX_FORMAT_INITIALIZER(_Name)
 

Typedefs

typedef agx::observer_ptr< const Format > agxData::FormatConstObserver
 
typedef agx::ref_ptr< const Format > agxData::FormatConstRef
 
typedef agx::observer_ptr< Format > agxData::FormatObserver
 
typedef agx::ref_ptr< Format > agxData::FormatRef
 
typedef void(* agxData::TransformFunction) (void *target, const void *source, size_t numElements)
 
typedef agx::HashTable< const agxData::Format *, FormatCaller * > agxData::TypeCallerTable
 

Functions

template<typename T >
bool agxData::callDispatch (CallbackList *, agx::UInt32, agx::UInt32)
 
template<>
bool agxData::callDispatch< agx::Bool > (CallbackList *callbackList, agx::UInt32 stride, agx::UInt32 padding)
 
template<>
bool agxData::callDispatch< agx::Int16 > (CallbackList *callbackList, agx::UInt32 stride, agx::UInt32 padding)
 
template<>
bool agxData::callDispatch< agx::Int32 > (CallbackList *callbackList, agx::UInt32 stride, agx::UInt32 padding)
 
template<>
bool agxData::callDispatch< agx::Int64 > (CallbackList *callbackList, agx::UInt32 stride, agx::UInt32 padding)
 
template<>
bool agxData::callDispatch< agx::Int8 > (CallbackList *callbackList, agx::UInt32 stride, agx::UInt32 padding)
 
template<>
bool agxData::callDispatch< agx::Real32 > (CallbackList *callbackList, agx::UInt32 stride, agx::UInt32 padding)
 
template<>
bool agxData::callDispatch< agx::Real64 > (CallbackList *callbackList, agx::UInt32 stride, agx::UInt32 padding)
 
template<>
bool agxData::callDispatch< agx::UInt16 > (CallbackList *callbackList, agx::UInt32 stride, agx::UInt32 padding)
 
template<>
bool agxData::callDispatch< agx::UInt32 > (CallbackList *callbackList, agx::UInt32 stride, agx::UInt32 padding)
 
template<>
bool agxData::callDispatch< agx::UInt64 > (CallbackList *callbackList, agx::UInt32 stride, agx::UInt32 padding)
 
template<>
bool agxData::callDispatch< agx::UInt8 > (CallbackList *callbackList, agx::UInt32 stride, agx::UInt32 padding)
 
template<class T , typename std::enable_if< std::is_copy_constructible< T >::value >::type * = nullptr>
void agxData::FormatTdoInitializeElement (T *element, const T *value)
 
template<typename T >
void agxData::GenericCopyFunction (void *target, const void *source, size_t numElements)
 
template<typename TargetT , typename SourceT >
void agxData::GenericTransformFunction (void *targetBuffer, const void *sourceBuffer, size_t numElements)
 
TransformFunction AGXCORE_EXPORT agxData::getTransformer (const Format *targetFormat, const Format *sourceFormat)
 Get a specific transformer.
 
void AGXCORE_EXPORT agxData::registerTransformer (TransformFunction transformer, const Format *targetFormat, const Format *sourceFormat)
 Register a format-format transformer.
 
void AGXCORE_EXPORT agxData::Swap16Function (void *target, const void *source, size_t numElements)
 
void AGXCORE_EXPORT agxData::Swap2x32Function (void *target, const void *source, size_t numElements)
 
void AGXCORE_EXPORT agxData::Swap2x64Function (void *target, const void *source, size_t numElements)
 
void AGXCORE_EXPORT agxData::Swap32Function (void *target, const void *source, size_t numElements)
 
void AGXCORE_EXPORT agxData::Swap3x32Function (void *target, const void *source, size_t numElements)
 
void AGXCORE_EXPORT agxData::Swap3x64Function (void *target, const void *source, size_t numElements)
 
void AGXCORE_EXPORT agxData::Swap4x32Function (void *target, const void *source, size_t numElements)
 
void AGXCORE_EXPORT agxData::Swap4x64Function (void *target, const void *source, size_t numElements)
 
void AGXCORE_EXPORT agxData::Swap64Function (void *target, const void *source, size_t numElements)
 
void AGXCORE_EXPORT agxData::Swap6x32Function (void *target, const void *source, size_t numElements)
 
void AGXCORE_EXPORT agxData::Swap6x64Function (void *target, const void *source, size_t numElements)
 
void AGXCORE_EXPORT agxData::Swap8Function (void *target, const void *source, size_t numElements)
 Standard swap functions.
 
void AGXCORE_EXPORT agxData::Swap8x32Function (void *target, const void *source, size_t numElements)
 
void AGXCORE_EXPORT agxData::Swap8x64Function (void *target, const void *source, size_t numElements)
 
void AGXCORE_EXPORT agxData::transform (void *target, const Format *targetFormat, const void *source, const Format *sourceFormat, size_t numElements)
 Transform data between two buffers.
 

Variables

AGXCORE_EXPORT TypeCallerTable agxData::__agx_typeCallerTable
 

Macro Definition Documentation

◆ AGX_FORMAT_INITIALIZER

#define AGX_FORMAT_INITIALIZER (   _Name)
Value:
static void AGX_CONCAT(__agx_createFormat, __LINE__)(); \
static agxData::FormatInitializer AGX_CONCAT(__agx_formatInitializer, __LINE__)(_Name, &AGX_CONCAT(__agx_createFormat, __LINE__)); \
static void AGX_CONCAT(__agx_createFormat, __LINE__)()
#define AGX_CONCAT(x, y)
Definition: macros.h:39

Definition at line 546 of file Format.h.