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
union {
   int   i
   float   d
union {
   int   i
   float   d
union {
   int   i
   float   d

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 49 of file UT_Interrupt.h.

Constructor & Destructor Documentation

UT_InterruptMessage::UT_InterruptMessage ( )

Definition at line 52 of file UT_Interrupt.h.

UT_InterruptMessage::UT_InterruptMessage ( UT_InterruptMessageCB  cb)

Definition at line 53 of file UT_Interrupt.h.

UT_InterruptMessage::UT_InterruptMessage ( UT_InterruptMessageCB  cb,
const UT_StringHolder str 

Definition at line 54 of file UT_Interrupt.h.

Member Function Documentation

const UT_StringHolder& UT_InterruptMessage::buildMessage ( ) const

Definition at line 56 of file UT_Interrupt.h.

Member Data Documentation

float UT_InterruptMessage::d

Definition at line 77 of file UT_Interrupt.h.

int UT_InterruptMessage::i

Definition at line 76 of file UT_Interrupt.h.

UT_StringHolder UT_InterruptMessage::myText

Definition at line 70 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: