Hasty Badger
Small UI library (a branch of Turbo Badger)
 All Classes Namespaces Functions Variables Enumerations Enumerator Friends Groups Pages
tb::TBMessageData Class Reference

TBMessageData holds custom data to send with a posted message. More...

#include <tb_msg.h>

Inheritance diagram for tb::TBMessageData:
tb::TBTypedObject

Public Member Functions

 TBMessageData (int v1, int v2)
 
- Public Member Functions inherited from tb::TBTypedObject
virtual bool IsOfTypeId (const TB_TYPE_ID type_id) const
 Returns true if the class or the base class matches the type id.
 
template<class T >
T * SafeCastTo () const
 Returns this object as the given type or nullptr if it's not that type. More...
 
template<class T >
bool IsOfType () const
 Return true if this object can safely be casted to the given type. More...
 
virtual const char * GetClassName () const
 Get the classname of the object. More...
 

Public Attributes

TBValue v1
 Use for anything.
 
TBValue v2
 Use for anything.
 
TBID id1
 Use for anything.
 
TBID id2
 Use for anything.
 

Additional Inherited Members

- Static Public Member Functions inherited from tb::TBTypedObject
template<class T >
static TB_TYPE_ID GetTypeId ()
 A static template method that returns a unique id for each type. More...
 

Detailed Description

TBMessageData holds custom data to send with a posted message.


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