AGX Dynamics 2.42.3.0
Loading...
Searching...
No Matches
agxData::CallbackList Class Reference

List of callbacks used by the primitive type handling by user code. More...

#include <Format.h>

Public Types

typedef agx::Callback2< agx::UInt32, agx::UInt32 > CallbackType
 

Public Member Functions

 CallbackList (CallbackType callbackReal32, CallbackType callbackReal64, CallbackType callbackInt8, CallbackType callbackUInt8, CallbackType callbackInt16, CallbackType callbackUInt16, CallbackType callbackInt32, CallbackType callbackUInt32, CallbackType callbackInt64, CallbackType callbackUInt64, CallbackType callbackBool)
 
void callBool (agx::UInt32 stride, agx::UInt32 padding)
 
void callInt16 (agx::UInt32 stride, agx::UInt32 padding)
 
void callInt32 (agx::UInt32 stride, agx::UInt32 padding)
 
void callInt64 (agx::UInt32 stride, agx::UInt32 padding)
 
void callInt8 (agx::UInt32 stride, agx::UInt32 padding)
 
void callReal32 (agx::UInt32 stride, agx::UInt32 padding)
 
void callReal64 (agx::UInt32 stride, agx::UInt32 padding)
 
void callUInt16 (agx::UInt32 stride, agx::UInt32 padding)
 
void callUInt32 (agx::UInt32 stride, agx::UInt32 padding)
 
void callUInt64 (agx::UInt32 stride, agx::UInt32 padding)
 
void callUInt8 (agx::UInt32 stride, agx::UInt32 padding)
 
bool hasBool () const
 
bool hasInt16 () const
 
bool hasInt32 () const
 
bool hasInt64 () const
 
bool hasInt8 () const
 
bool hasReal32 () const
 
bool hasReal64 () const
 
bool hasUInt16 () const
 
bool hasUInt32 () const
 
bool hasUInt64 () const
 
bool hasUInt8 () const
 

Detailed Description

List of callbacks used by the primitive type handling by user code.

Supply a format and an instance of the CallbackList to Format::callFormatPrimitive(.) and the correct callback from the list will be called based on the primitive type of the format.

Definition at line 399 of file Format.h.

Member Typedef Documentation

◆ CallbackType

Constructor & Destructor Documentation

◆ CallbackList()

agxData::CallbackList::CallbackList ( CallbackType  callbackReal32,
CallbackType  callbackReal64,
CallbackType  callbackInt8,
CallbackType  callbackUInt8,
CallbackType  callbackInt16,
CallbackType  callbackUInt16,
CallbackType  callbackInt32,
CallbackType  callbackUInt32,
CallbackType  callbackInt64,
CallbackType  callbackUInt64,
CallbackType  callbackBool 
)

Member Function Documentation

◆ callBool()

void agxData::CallbackList::callBool ( agx::UInt32  stride,
agx::UInt32  padding 
)
inline

Definition at line 420 of file Format.h.

◆ callInt16()

void agxData::CallbackList::callInt16 ( agx::UInt32  stride,
agx::UInt32  padding 
)
inline

Definition at line 414 of file Format.h.

◆ callInt32()

void agxData::CallbackList::callInt32 ( agx::UInt32  stride,
agx::UInt32  padding 
)
inline

Definition at line 416 of file Format.h.

◆ callInt64()

void agxData::CallbackList::callInt64 ( agx::UInt32  stride,
agx::UInt32  padding 
)
inline

Definition at line 418 of file Format.h.

◆ callInt8()

void agxData::CallbackList::callInt8 ( agx::UInt32  stride,
agx::UInt32  padding 
)
inline

Definition at line 412 of file Format.h.

◆ callReal32()

void agxData::CallbackList::callReal32 ( agx::UInt32  stride,
agx::UInt32  padding 
)
inline

Definition at line 410 of file Format.h.

◆ callReal64()

void agxData::CallbackList::callReal64 ( agx::UInt32  stride,
agx::UInt32  padding 
)
inline

Definition at line 411 of file Format.h.

◆ callUInt16()

void agxData::CallbackList::callUInt16 ( agx::UInt32  stride,
agx::UInt32  padding 
)
inline

Definition at line 415 of file Format.h.

◆ callUInt32()

void agxData::CallbackList::callUInt32 ( agx::UInt32  stride,
agx::UInt32  padding 
)
inline

Definition at line 417 of file Format.h.

◆ callUInt64()

void agxData::CallbackList::callUInt64 ( agx::UInt32  stride,
agx::UInt32  padding 
)
inline

Definition at line 419 of file Format.h.

◆ callUInt8()

void agxData::CallbackList::callUInt8 ( agx::UInt32  stride,
agx::UInt32  padding 
)
inline

Definition at line 413 of file Format.h.

◆ hasBool()

bool agxData::CallbackList::hasBool ( ) const
inline

Definition at line 432 of file Format.h.

◆ hasInt16()

bool agxData::CallbackList::hasInt16 ( ) const
inline

Definition at line 426 of file Format.h.

◆ hasInt32()

bool agxData::CallbackList::hasInt32 ( ) const
inline

Definition at line 428 of file Format.h.

◆ hasInt64()

bool agxData::CallbackList::hasInt64 ( ) const
inline

Definition at line 430 of file Format.h.

◆ hasInt8()

bool agxData::CallbackList::hasInt8 ( ) const
inline

Definition at line 424 of file Format.h.

◆ hasReal32()

bool agxData::CallbackList::hasReal32 ( ) const
inline

Definition at line 422 of file Format.h.

◆ hasReal64()

bool agxData::CallbackList::hasReal64 ( ) const
inline

Definition at line 423 of file Format.h.

◆ hasUInt16()

bool agxData::CallbackList::hasUInt16 ( ) const
inline

Definition at line 427 of file Format.h.

◆ hasUInt32()

bool agxData::CallbackList::hasUInt32 ( ) const
inline

Definition at line 429 of file Format.h.

◆ hasUInt64()

bool agxData::CallbackList::hasUInt64 ( ) const
inline

Definition at line 431 of file Format.h.

◆ hasUInt8()

bool agxData::CallbackList::hasUInt8 ( ) const
inline

Definition at line 425 of file Format.h.


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