HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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)
 
void display (std::ostream &os) const
 

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 ( ) const
inline

Definition at line 88 of file UI_Event.h.

void UI_Event::display ( ) const
void UI_Event::display ( std::ostream &  os) 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 74 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 57 of file UI_Event.h.

UT_Array<UI_DeviceEvent>* UI_Event::myStateHistory

Definition at line 72 of file UI_Event.h.

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

Definition at line 63 of file UI_Event.h.

UI_Object* UI_Event::source

Definition at line 55 of file UI_Event.h.

UI_DeviceEvent UI_Event::state
Examples:
DM/DM_GreedyMouseHook.C, and SOP/MSS_CustomBrushState.C.

Definition at line 61 of file UI_Event.h.

UI_Object* UI_Event::target

Definition at line 56 of file UI_Event.h.

UI_EventType UI_Event::type

Definition at line 59 of file UI_Event.h.

UI_Value* UI_Event::value

Definition at line 58 of file UI_Event.h.


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