ALBA
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
albaEvent Class Reference

#include <albaEvent.h>

Inheritance diagram for albaEvent:
Inheritance graph
[legend]
Collaboration diagram for albaEvent:
Collaboration graph
[legend]

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 ()
 
albaStringGetString ()
 
albaViewGetView ()
 
albaVMEGetVme ()
 
albaOpGetOp ()
 
albaMatrixGetMatrix ()
 
albaMatrixGetOldMatrix ()
 
albaObjectGetMafObject ()
 
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)
 
albaEventCopy ()
 
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 albaObjectNewObjectInstance () const =0
 
virtual const albaTypeIDGetTypeId () 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
 
albaStringm_ALBAString
 
albaVMEm_Vme
 
albaViewm_View
 
albaOpm_Op
 
albaMatrixm_Matrix
 
albaMatrixm_OldMatrix
 
albaObjectm_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 albaTypeIDGetStaticTypeId ()
 
static albaObjectSafeDownCast (albaObject *o)
 

Detailed Description

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.

See also
albaEventBase albaSubject albaObserver

Definition at line 54 of file albaEvent.h.

Constructor & Destructor Documentation

◆ albaEvent() [1/13]

albaEvent::albaEvent ( )

◆ albaEvent() [2/13]

albaEvent::albaEvent ( void *  sender,
int  id,
long  arg = 0 
)

◆ albaEvent() [3/13]

albaEvent::albaEvent ( void *  sender,
int  id,
bool  b,
long  arg = 0 
)

◆ albaEvent() [4/13]

albaEvent::albaEvent ( void *  sender,
int  id,
double  f,
long  arg = 0 
)

◆ albaEvent() [5/13]

albaEvent::albaEvent ( void *  sender,
int  id,
albaString s,
long  arg = 0 
)

◆ albaEvent() [6/13]

albaEvent::albaEvent ( void *  sender,
int  id,
albaString s,
int  x,
int  y,
int  width,
int  height,
long  arg = 0 
)

◆ albaEvent() [7/13]

albaEvent::albaEvent ( void *  sender,
int  id,
albaVME vme,
bool  b = false,
long  arg = 0 
)

◆ albaEvent() [8/13]

albaEvent::albaEvent ( void *  sender,
int  id,
albaView view,
wxWindow *  win = NULL 
)

◆ albaEvent() [9/13]

albaEvent::albaEvent ( void *  sender,
int  id,
albaOp op,
long  arg = 0 
)

◆ albaEvent() [10/13]

albaEvent::albaEvent ( void *  sender,
int  id,
albaObject albaobj,
long  arg = 0 
)

◆ albaEvent() [11/13]

albaEvent::albaEvent ( void *  sender,
int  id,
albaObject albaobj,
albaString s,
long  arg = 0 
)

◆ albaEvent() [12/13]

albaEvent::albaEvent ( void *  sender,
int  id,
WidgetDataType widget_data,
long  arg = 0 
)

◆ albaEvent() [13/13]

albaEvent::albaEvent ( void *  sender,
int  id,
albaMatrix m1,
albaMatrix m2 = NULL 
)

Member Function Documentation

◆ albaTypeMacro()

albaEvent::albaTypeMacro ( albaEvent  ,
albaEventBase   
)

◆ DeepCopy()

virtual void albaEvent::DeepCopy ( const albaEventBase alba_event)
virtual

Reimplemented from albaEventBase.

◆ GetArg()

long albaEvent::GetArg ( )
inline

Definition at line 75 of file albaEvent.h.

◆ GetBool()

bool albaEvent::GetBool ( )
inline

Definition at line 76 of file albaEvent.h.

◆ GetDouble()

double albaEvent::GetDouble ( )
inline

Definition at line 77 of file albaEvent.h.

◆ GetString()

albaString * albaEvent::GetString ( )

◆ GetView()

albaView * albaEvent::GetView ( )
inline

Definition at line 79 of file albaEvent.h.

◆ GetVme()

albaVME * albaEvent::GetVme ( )
inline

Definition at line 80 of file albaEvent.h.

◆ GetOp()

albaOp * albaEvent::GetOp ( )
inline

Definition at line 81 of file albaEvent.h.

◆ GetMatrix()

albaMatrix * albaEvent::GetMatrix ( )
inline

Definition at line 82 of file albaEvent.h.

◆ GetOldMatrix()

albaMatrix * albaEvent::GetOldMatrix ( )
inline

Definition at line 83 of file albaEvent.h.

◆ GetMafObject()

albaObject * albaEvent::GetMafObject ( )
inline

Definition at line 84 of file albaEvent.h.

◆ GetX()

int albaEvent::GetX ( )
inline

Definition at line 86 of file albaEvent.h.

◆ GetY()

int albaEvent::GetY ( )
inline

Definition at line 87 of file albaEvent.h.

◆ GetWidth()

int albaEvent::GetWidth ( )
inline

Definition at line 88 of file albaEvent.h.

◆ GetHeight()

int albaEvent::GetHeight ( )
inline

Definition at line 89 of file albaEvent.h.

◆ SetVmeVector()

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

◆ GetVmeVector()

std::vector< albaVME * > albaEvent::GetVmeVector ( )

return call data, data sent by sender (event's invoker) to all observers

◆ GetWidgetData()

void albaEvent::GetWidgetData ( WidgetDataType widget_data)

◆ SetArg()

void albaEvent::SetArg ( long  arg)
inline

Definition at line 100 of file albaEvent.h.

◆ SetBool()

void albaEvent::SetBool ( bool  b)
inline

Definition at line 101 of file albaEvent.h.

◆ SetDouble()

void albaEvent::SetDouble ( double  f)
inline

Definition at line 102 of file albaEvent.h.

◆ SetString()

void albaEvent::SetString ( albaString s)

◆ SetView()

void albaEvent::SetView ( albaView view)
inline

Definition at line 104 of file albaEvent.h.

◆ SetVme()

void albaEvent::SetVme ( albaVME vme)
inline

Definition at line 105 of file albaEvent.h.

◆ SetOp()

void albaEvent::SetOp ( albaOp op)
inline

Definition at line 106 of file albaEvent.h.

◆ SetMatrix()

void albaEvent::SetMatrix ( albaMatrix mat)
inline

Definition at line 107 of file albaEvent.h.

◆ SetOldMatrix()

void albaEvent::SetOldMatrix ( albaMatrix mat2)
inline

Definition at line 108 of file albaEvent.h.

◆ SetMafObject()

void albaEvent::SetMafObject ( albaObject obj)
inline

Definition at line 109 of file albaEvent.h.

◆ SetWidgetData()

void albaEvent::SetWidgetData ( WidgetDataType widget_data)

◆ GetPointer()

void * albaEvent::GetPointer ( ) const
inline

Returns Pointer.

Definition at line 114 of file albaEvent.h.

◆ SetPointer()

void albaEvent::SetPointer ( void *  pointer)
inline

Sets Pointer.

Definition at line 117 of file albaEvent.h.

◆ Copy()

albaEvent * albaEvent::Copy ( )

◆ Log()

void albaEvent::Log ( )

◆ Init()

void albaEvent::Init ( void *  sender,
int  id,
long  arg = 0 
)
protected

Member Data Documentation

◆ m_Arg

long albaEvent::m_Arg
protected

Definition at line 120 of file albaEvent.h.

◆ m_Bool

bool albaEvent::m_Bool
protected

Definition at line 121 of file albaEvent.h.

◆ m_Double

double albaEvent::m_Double
protected

Definition at line 122 of file albaEvent.h.

◆ m_ALBAString

albaString* albaEvent::m_ALBAString
protected

Definition at line 123 of file albaEvent.h.

◆ m_Vme

albaVME* albaEvent::m_Vme
protected

Definition at line 125 of file albaEvent.h.

◆ m_View

albaView* albaEvent::m_View
protected

Definition at line 126 of file albaEvent.h.

◆ m_Op

albaOp* albaEvent::m_Op
protected

Definition at line 127 of file albaEvent.h.

◆ m_Matrix

albaMatrix* albaEvent::m_Matrix
protected

Definition at line 128 of file albaEvent.h.

◆ m_OldMatrix

albaMatrix* albaEvent::m_OldMatrix
protected

Definition at line 129 of file albaEvent.h.

◆ m_MafObject

albaObject* albaEvent::m_MafObject
protected

Definition at line 130 of file albaEvent.h.

◆ m_VmeVector

std::vector<albaVME*> albaEvent::m_VmeVector
protected

Definition at line 131 of file albaEvent.h.

◆ m_WidgetData

WidgetDataType albaEvent::m_WidgetData
protected

Definition at line 132 of file albaEvent.h.

◆ m_Pointer

void* albaEvent::m_Pointer
protected

Definition at line 133 of file albaEvent.h.

◆ m_x

int albaEvent::m_x
protected

Definition at line 135 of file albaEvent.h.

◆ m_y

int albaEvent::m_y
protected

Definition at line 136 of file albaEvent.h.

◆ m_width

int albaEvent::m_width
protected

Definition at line 137 of file albaEvent.h.

◆ m_height

int albaEvent::m_height
protected

Definition at line 138 of file albaEvent.h.


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