ALBA
|
#include <albaEvent.h>
Public Member Functions | |
albaTypeMacro (albaEvent, albaEventBase) | |
albaEvent () | |
albaEvent (void *sender, int id, long arg=0) | |
albaEvent (void *sender, int id, bool b, long arg=0) | |
albaEvent (void *sender, int id, double f, long arg=0) | |
albaEvent (void *sender, int id, albaString *s, long arg=0) | |
albaEvent (void *sender, int id, albaString *s, int x, int y, int width, int height, long arg=0) | |
albaEvent (void *sender, int id, albaVME *vme, bool b=false, long arg=0) | |
albaEvent (void *sender, int id, albaView *view, wxWindow *win=NULL) | |
albaEvent (void *sender, int id, albaOp *op, long arg=0) | |
albaEvent (void *sender, int id, albaObject *albaobj, long arg=0) | |
albaEvent (void *sender, int id, albaObject *albaobj, albaString *s, long arg=0) | |
albaEvent (void *sender, int id, WidgetDataType &widget_data, long arg=0) | |
albaEvent (void *sender, int id, albaMatrix *m1, albaMatrix *m2=NULL) | |
virtual void | DeepCopy (const albaEventBase *alba_event) |
long | GetArg () |
bool | GetBool () |
double | GetDouble () |
albaString * | GetString () |
albaView * | GetView () |
albaVME * | GetVme () |
albaOp * | GetOp () |
albaMatrix * | GetMatrix () |
albaMatrix * | GetOldMatrix () |
albaObject * | GetMafObject () |
int | GetX () |
int | GetY () |
int | GetWidth () |
int | GetHeight () |
void | SetVmeVector (std::vector< albaVME * > vmeVector) |
std::vector< albaVME * > | GetVmeVector () |
void | GetWidgetData (WidgetDataType &widget_data) |
void | SetArg (long arg) |
void | SetBool (bool b) |
void | SetDouble (double f) |
void | SetString (albaString *s) |
void | SetView (albaView *view) |
void | SetVme (albaVME *vme) |
void | SetOp (albaOp *op) |
void | SetMatrix (albaMatrix *mat) |
void | SetOldMatrix (albaMatrix *mat2) |
void | SetMafObject (albaObject *obj) |
void | SetWidgetData (WidgetDataType &widget_data) |
void * | GetPointer () const |
void | SetPointer (void *pointer) |
albaEvent * | Copy () |
void | Log () |
Public Member Functions inherited from albaEventBase | |
albaEventBase (void *sender=NULL, albaID id=ID_NO_EVENT, void *data=NULL, albaID channel=MCH_UP) | |
virtual | ~albaEventBase () |
albaTypeMacro (albaEventBase, albaObject) | |
albaEventBase (const albaEventBase &c) | |
virtual void | DeepCopy (const albaEventBase *alba_event) |
void | SetSender (void *sender) |
void * | GetSender () |
void | SetId (albaID id) |
albaID | GetId () |
albaID | GetChannel () |
void | SetChannel (albaID channel) |
void | SetData (void *calldata) |
void * | GetData () |
Public Member Functions inherited from albaObject | |
albaObject () | |
virtual | ~albaObject () |
virtual void | Delete () |
virtual const char * | GetTypeName () const |
virtual bool | IsA (const char *type_name) const |
virtual bool | IsA (const albaTypeID &type_id) const |
virtual albaObject * | NewObjectInstance () const =0 |
virtual const albaTypeID & | GetTypeId () const |
virtual void | Print (std::ostream &os, const int indent=0) const |
albaObject (const albaObject &c) | |
Protected Member Functions | |
void | Init (void *sender, int id, long arg=0) |
Protected Attributes | |
long | m_Arg |
bool | m_Bool |
double | m_Double |
albaString * | m_ALBAString |
albaVME * | m_Vme |
albaView * | m_View |
albaOp * | m_Op |
albaMatrix * | m_Matrix |
albaMatrix * | m_OldMatrix |
albaObject * | m_MafObject |
std::vector< albaVME * > | m_VmeVector |
WidgetDataType | m_WidgetData |
void * | m_Pointer |
int | m_x |
int | m_y |
int | m_width |
int | m_height |
Protected Attributes inherited from albaEventBase | |
void * | m_Sender |
void * | m_Data |
albaID | m_Id |
albaID | m_Channel |
Protected Attributes inherited from albaObject | |
bool | m_HeapFlag |
Additional Inherited Members | |
Static Public Member Functions inherited from albaObject | |
static const char * | GetStaticTypeName () |
static bool | IsStaticType (const char *type_name) |
static bool | IsStaticType (const albaTypeID &type_id) |
static const albaTypeID & | GetStaticTypeId () |
static albaObject * | SafeDownCast (albaObject *o) |
albaEvent - Class implementing ALBA application events.
This class implements a type of event object similar to original albaEvent, where all kind of possible information traveling around the ALBA is defined.
Definition at line 54 of file albaEvent.h.
albaEvent::albaEvent | ( | ) |
albaEvent::albaEvent | ( | void * | sender, |
int | id, | ||
long | arg = 0 |
||
) |
albaEvent::albaEvent | ( | void * | sender, |
int | id, | ||
bool | b, | ||
long | arg = 0 |
||
) |
albaEvent::albaEvent | ( | void * | sender, |
int | id, | ||
double | f, | ||
long | arg = 0 |
||
) |
albaEvent::albaEvent | ( | void * | sender, |
int | id, | ||
albaString * | s, | ||
long | arg = 0 |
||
) |
albaEvent::albaEvent | ( | void * | sender, |
int | id, | ||
albaString * | s, | ||
int | x, | ||
int | y, | ||
int | width, | ||
int | height, | ||
long | arg = 0 |
||
) |
albaEvent::albaEvent | ( | void * | sender, |
int | id, | ||
albaVME * | vme, | ||
bool | b = false , |
||
long | arg = 0 |
||
) |
albaEvent::albaEvent | ( | void * | sender, |
int | id, | ||
albaView * | view, | ||
wxWindow * | win = NULL |
||
) |
albaEvent::albaEvent | ( | void * | sender, |
int | id, | ||
albaOp * | op, | ||
long | arg = 0 |
||
) |
albaEvent::albaEvent | ( | void * | sender, |
int | id, | ||
albaObject * | albaobj, | ||
long | arg = 0 |
||
) |
albaEvent::albaEvent | ( | void * | sender, |
int | id, | ||
albaObject * | albaobj, | ||
albaString * | s, | ||
long | arg = 0 |
||
) |
albaEvent::albaEvent | ( | void * | sender, |
int | id, | ||
WidgetDataType & | widget_data, | ||
long | arg = 0 |
||
) |
albaEvent::albaEvent | ( | void * | sender, |
int | id, | ||
albaMatrix * | m1, | ||
albaMatrix * | m2 = NULL |
||
) |
albaEvent::albaTypeMacro | ( | albaEvent | , |
albaEventBase | |||
) |
|
virtual |
Reimplemented from albaEventBase.
|
inline |
Definition at line 75 of file albaEvent.h.
|
inline |
Definition at line 76 of file albaEvent.h.
|
inline |
Definition at line 77 of file albaEvent.h.
albaString * albaEvent::GetString | ( | ) |
|
inline |
Definition at line 79 of file albaEvent.h.
|
inline |
Definition at line 80 of file albaEvent.h.
|
inline |
Definition at line 81 of file albaEvent.h.
|
inline |
Definition at line 82 of file albaEvent.h.
|
inline |
Definition at line 83 of file albaEvent.h.
|
inline |
Definition at line 84 of file albaEvent.h.
|
inline |
Definition at line 86 of file albaEvent.h.
|
inline |
Definition at line 87 of file albaEvent.h.
|
inline |
Definition at line 88 of file albaEvent.h.
|
inline |
Definition at line 89 of file albaEvent.h.
void albaEvent::SetVmeVector | ( | std::vector< albaVME * > | vmeVector | ) |
set call data, data sent by sender (event's invoker) to all observers.
Be aware that the vmeVector argument will be empty after the Set
std::vector< albaVME * > albaEvent::GetVmeVector | ( | ) |
return call data, data sent by sender (event's invoker) to all observers
void albaEvent::GetWidgetData | ( | WidgetDataType & | widget_data | ) |
|
inline |
Definition at line 100 of file albaEvent.h.
|
inline |
Definition at line 101 of file albaEvent.h.
|
inline |
Definition at line 102 of file albaEvent.h.
void albaEvent::SetString | ( | albaString * | s | ) |
|
inline |
Definition at line 104 of file albaEvent.h.
|
inline |
Definition at line 105 of file albaEvent.h.
|
inline |
Definition at line 106 of file albaEvent.h.
|
inline |
Definition at line 107 of file albaEvent.h.
|
inline |
Definition at line 108 of file albaEvent.h.
|
inline |
Definition at line 109 of file albaEvent.h.
void albaEvent::SetWidgetData | ( | WidgetDataType & | widget_data | ) |
|
inline |
Returns Pointer.
Definition at line 114 of file albaEvent.h.
|
inline |
Sets Pointer.
Definition at line 117 of file albaEvent.h.
albaEvent * albaEvent::Copy | ( | ) |
void albaEvent::Log | ( | ) |
|
protected |
|
protected |
Definition at line 120 of file albaEvent.h.
|
protected |
Definition at line 121 of file albaEvent.h.
|
protected |
Definition at line 122 of file albaEvent.h.
|
protected |
Definition at line 123 of file albaEvent.h.
|
protected |
Definition at line 125 of file albaEvent.h.
|
protected |
Definition at line 126 of file albaEvent.h.
|
protected |
Definition at line 127 of file albaEvent.h.
|
protected |
Definition at line 128 of file albaEvent.h.
|
protected |
Definition at line 129 of file albaEvent.h.
|
protected |
Definition at line 130 of file albaEvent.h.
|
protected |
Definition at line 131 of file albaEvent.h.
|
protected |
Definition at line 132 of file albaEvent.h.
|
protected |
Definition at line 133 of file albaEvent.h.
|
protected |
Definition at line 135 of file albaEvent.h.
|
protected |
Definition at line 136 of file albaEvent.h.
|
protected |
Definition at line 137 of file albaEvent.h.
|
protected |
Definition at line 138 of file albaEvent.h.