00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef __CODEX_APSS_TRIGEREVENT_H__
00019 #define __CODEX_APSS_TRIGEREVENT_H__
00020
00021 #include "CODEX_Events/Event.h"
00022 #include "TriggerActivity.h"
00023
00024 namespace CODEX_APSS
00025 {
00029 class TriggerEvent : public CODEX_Events::EventBase
00030 {
00031 public :
00033 TriggerEvent( CODEX_Events::Activity* source,
00034 TriggerActivity* destination ) :
00035 CODEX_Events::EventBase( source ),
00036 m_destination( destination )
00037 {
00038 }
00039
00041 virtual ~TriggerEvent() {}
00042
00043 bool handle() { return m_destination->handler( *this ); }
00044
00045 private :
00046 TriggerActivity* m_destination;
00047 };
00048
00049 }
00050
00051 #endif