CFugue
|
#include <EventHandler.h>
Inherited by CEventedProperty< DATATYPE >, CFugue::CParser, and OIL::CInvokableEventT< TEventHandlerArgs > [protected]
.
Protected Member Functions | |
template<typename TEventSource , typename TEventHandlerArgs > | |
void | RaiseEvent (CEventT< TEventSource, TEventHandlerArgs > *pEvent, TEventHandlerArgs *pArgs) |
template<typename TEventSource , typename TEventHandlerArgs > | |
void | RaiseEvent (CEventT< TEventSource, const TEventHandlerArgs > *pEvent, const TEventHandlerArgs *pArgs) |
Only CEventSource derived classes can raise events. So to raise events from your class, declare CEventT variables in your class and derive it from CEventSource. Use CEventSource::RaiseEvent() method when required to raise the event.
See CEventT for sample usage.
If you want to use events outside classes, then use the CInvokableEventT class.
Definition at line 305 of file EventHandler.h.
|
protected |
Invokes the Event.
Definition at line 320 of file EventHandler.h.
Referenced by CFugue::CParser::Error().
|
protected |
Invokes the Event.
Definition at line 331 of file EventHandler.h.
CFugue, the C++ Music Programming Library | © Copyright 2009 Cenacle Research India Private Limited | Gopalakrishna Palem |