RavEngine
Loading...
Searching...
No Matches
physx::pvdsdk::PvdPropertyDefinitionHelper Class Referenceabstract

Public Member Functions

virtual void pushName (const char *inName, const char *inAppendStr=".")=0
 
virtual void pushBracketedName (const char *inName, const char *leftBracket="[", const char *rightBracket="]")=0
 
virtual void popName ()=0
 
virtual void clearNameStack ()=0
 
virtual const char * getTopName ()=0
 
virtual void addNamedValue (const char *name, uint32_t value)=0
 
virtual void clearNamedValues ()=0
 
virtual DataRef< NamedValue > getNamedValues ()=0
 
virtual void createProperty (const NamespacedName &clsName, const char *inSemantic, const NamespacedName &dtypeName, PropertyType::Enum propType=PropertyType::Scalar)=0
 
template<typename TClsType , typename TDataType >
void createProperty (const char *inSemantic="", PropertyType::Enum propType=PropertyType::Scalar)
 
virtual void addPropertyMessageArg (const NamespacedName &inDatatype, uint32_t inOffset, uint32_t inSize)=0
 
template<typename TDataType >
void addPropertyMessageArg (uint32_t offset)
 
virtual void addPropertyMessage (const NamespacedName &clsName, const NamespacedName &msgName, uint32_t inStructSizeInBytes)=0
 
template<typename TClsType , typename TMsgType >
void addPropertyMessage ()
 
virtual void clearPropertyMessageArgs ()=0
 
void clearBufferedData ()
 

Member Function Documentation

◆ createProperty()

virtual void physx::pvdsdk::PvdPropertyDefinitionHelper::createProperty ( const NamespacedName &  clsName,
const char *  inSemantic,
const NamespacedName &  dtypeName,
PropertyType::Enum  propType = PropertyType::Scalar 
)
pure virtual

Define a property using the top of the name stack and the passed-in semantic

◆ getTopName()

virtual const char * physx::pvdsdk::PvdPropertyDefinitionHelper::getTopName ( )
pure virtual

Get the current name at the top of the name stack. Would return "a.b.c" or "a.b[c]" in the above examples.

◆ popName()

virtual void physx::pvdsdk::PvdPropertyDefinitionHelper::popName ( )
pure virtual

Pop the current name

◆ pushBracketedName()

virtual void physx::pvdsdk::PvdPropertyDefinitionHelper::pushBracketedName ( const char *  inName,
const char *  leftBracket = "[",
const char *  rightBracket = "]" 
)
pure virtual

Push a name c such that it appends like a.b[c]

◆ pushName()

virtual void physx::pvdsdk::PvdPropertyDefinitionHelper::pushName ( const char *  inName,
const char *  inAppendStr = "." 
)
pure virtual

Push a name c such that it appends such as a.b.c.


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