HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_InterruptMessage Class Reference

#include <UT_Interrupt.h>

Public Member Functions

 UT_InterruptMessage ()
 
 UT_InterruptMessage (UT_InterruptMessageCB cb)
 
 UT_InterruptMessage (UT_InterruptMessageCB cb, const UT_StringHolder &str)
 
const UT_StringHolderbuildMessage () const
 

Public Attributes

UT_StringHolder myText
 
union {
   int   i
 
   float   d
 
value1
 
union {
   int   i
 
   float   d
 
value2
 
union {
   int   i
 
   float   d
 
value3
 
union {
   int   i
 
   float   d
 
value4
 

Detailed Description

An intentionally light weight class to hold interrupt messages The idea is people can format them with their callback methods. This isn't virtual as we want to build an array of them by value at this level. You should harden any info you need. Do not rely on your callback being invoked in your thread or during your scope!

Definition at line 44 of file UT_Interrupt.h.

Constructor & Destructor Documentation

UT_InterruptMessage::UT_InterruptMessage ( )
inline

Definition at line 47 of file UT_Interrupt.h.

UT_InterruptMessage::UT_InterruptMessage ( UT_InterruptMessageCB  cb)
inline

Definition at line 48 of file UT_Interrupt.h.

UT_InterruptMessage::UT_InterruptMessage ( UT_InterruptMessageCB  cb,
const UT_StringHolder str 
)
inline

Definition at line 49 of file UT_Interrupt.h.

Member Function Documentation

const UT_StringHolder& UT_InterruptMessage::buildMessage ( ) const
inline

Definition at line 51 of file UT_Interrupt.h.

Member Data Documentation

float UT_InterruptMessage::d

Definition at line 72 of file UT_Interrupt.h.

int UT_InterruptMessage::i

Definition at line 71 of file UT_Interrupt.h.

UT_StringHolder UT_InterruptMessage::myText

Definition at line 65 of file UT_Interrupt.h.

union { ... } UT_InterruptMessage::value1
union { ... } UT_InterruptMessage::value2
union { ... } UT_InterruptMessage::value3
union { ... } UT_InterruptMessage::value4

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