1#ifndef XF_INTERFACE_BEHAVIOR_H
2#define XF_INTERFACE_BEHAVIOR_H
8class XFDispatcherActiveDefault;
10class XFDispatcherActivePort;
26 friend class ::XFDispatcher;
27 friend class ::XFDispatcherPort;
Dispatcher used in an IDF (no underlying OS).
Definition: dispatcher.h:36
Base class for all types of events and timeouts.
Definition: event.h:23
Interface to receive and process events.
Definition: behavior.h:24
virtual void startBehavior()=0
Starts the behavior.
virtual bool deleteOnTerminate() const =0
Tells XF to delete behavior when receiving terminate event.
virtual void pushEvent(XFEvent *pEvent)=0
Injects an event into the class.
virtual void setDeleteOnTerminate(bool deleteBehaviour)=0
Sets/Clears the 'delete on terminate' property.
virtual TerminateBehavior process(const XFEvent *pEvent)=0
Called by the dispatcher to process an event.
bool TerminateBehavior
Type returned by the process() method.
Definition: behavior.h:30