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

#include <UI_Event.h>

Public Member Functions

 UI_Event ()
 
 ~UI_Event ()
 
 UI_Event (const UI_Event &e)
 
UI_Eventoperator= (const UI_Event &e)
 
 UI_Event (UI_EventType t, UI_Object *to, UI_Object *from=(UI_Object *) 0, UI_DeviceEvent *e=(UI_DeviceEvent *) 0)
 
 UI_Event (UI_Value *v, UI_Object *to, UI_Object *from=(UI_Object *) 0, UI_Reason r=UI_VALUE_CHANGED)
 
 UI_Event (UI_Value *v, UI_Object *to, UI_EventMethod callback, UI_Object *from=(UI_Object *) 0, UI_Reason r=UI_VALUE_CHANGED)
 
 UI_Event (UI_EventType t, UI_Object *to, UI_EventMethod callback, UI_Object *from=(UI_Object *) 0)
 
void trigger ()
 
const char * name () const
 
const char * className () const
 
void display () const
 
void mergeEvent (const UI_Event *prevevent)
 

Static Public Member Functions

static const char * type_name (UI_EventType type)
 
static const char * reason_name (UI_Reason reason)
 

Public Attributes

UI_Objectsource
 
UI_Objecttarget
 
UI_EventMethod method
 
UI_Valuevalue
 
UI_EventType type
 
UI_DeviceEvent state
 
UI_Reason reason
 
UT_Array< UI_DeviceEvent > * myStateHistory
 

Detailed Description

Constructor & Destructor Documentation

UI_Event::UI_Event ( )
UI_Event::~UI_Event ( )
UI_Event::UI_Event ( const UI_Event e)
UI_Event::UI_Event ( UI_EventType  t,
UI_Object to,
UI_Object from = (UI_Object *) 0,
UI_DeviceEvent e = (UI_DeviceEvent *) 0 
)
UI_Event::UI_Event ( UI_Value v,
UI_Object to,
UI_Object from = (UI_Object *) 0,
UI_Reason  r = UI_VALUE_CHANGED 
)
UI_Event::UI_Event ( UI_Value v,
UI_Object to,
UI_EventMethod  callback,
UI_Object from = (UI_Object *) 0,
UI_Reason  r = UI_VALUE_CHANGED 
)
UI_Event::UI_Event ( UI_EventType  t,
UI_Object to,
UI_EventMethod  callback,
UI_Object from = (UI_Object *) 0 
)

Member Function Documentation

const char* UI_Event::className ( void  ) const
inline

Definition at line 85 of file UI_Event.h.

void UI_Event::display ( ) const
void UI_Event::mergeEvent ( const UI_Event prevevent)
const char* UI_Event::name ( ) const
UI_Event& UI_Event::operator= ( const UI_Event e)
static const char* UI_Event::reason_name ( UI_Reason  reason)
static
void UI_Event::trigger ( )
inline

Definition at line 71 of file UI_Event.h.

static const char* UI_Event::type_name ( UI_EventType  type)
static

Member Data Documentation

UI_EventMethod UI_Event::method

Definition at line 54 of file UI_Event.h.

UT_Array<UI_DeviceEvent>* UI_Event::myStateHistory

Definition at line 69 of file UI_Event.h.

UI_Reason UI_Event::reason
Examples:
SOP/MSS_CustomBrushState.C.

Definition at line 60 of file UI_Event.h.

UI_Object* UI_Event::source

Definition at line 52 of file UI_Event.h.

UI_DeviceEvent UI_Event::state
Examples:
SOP/MSS_CustomBrushState.C.

Definition at line 58 of file UI_Event.h.

UI_Object* UI_Event::target

Definition at line 53 of file UI_Event.h.

UI_EventType UI_Event::type

Definition at line 56 of file UI_Event.h.

UI_Value* UI_Event::value
Examples:
SOP/MSS_BrushHairLen.C.

Definition at line 55 of file UI_Event.h.


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