Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

KoduInterpreter::KoduEventListener Class Reference

#include <KoduInterpreter.h>

Inheritance diagram for KoduInterpreter::KoduEventListener:

Detailed Description

Definition at line 63 of file KoduInterpreter.h.

List of all members.

Public Member Functions

 KoduEventListener (Kodu::KoduState *st, Kodu::KoduAgent *ka)
 KoduEventListener (const KoduEventListener &other)
 don't call this
KoduEventListeneroperator= (const KoduEventListener &other)
 don't call this
void listenTo (int hostAddr)
virtual void doEvent ()
 Delegate function for event processing, the event itself is pointed to (only for the duration of the doEvent() call!) by event.

Private Attributes

Kodu::KoduState_kodustate
Kodu::KoduAgent_thisAgent

Constructor & Destructor Documentation

KoduInterpreter::KoduEventListener::KoduEventListener ( Kodu::KoduState st,
Kodu::KoduAgent ka 
)

Definition at line 69 of file KoduInterpreter.h.

KoduInterpreter::KoduEventListener::KoduEventListener ( const KoduEventListener other  ) 

don't call this


Member Function Documentation

virtual void KoduInterpreter::KoduEventListener::doEvent (  )  [virtual]

Delegate function for event processing, the event itself is pointed to (only for the duration of the doEvent() call!) by event.

Default implementation watches for 'private' text message events (those forwarded by a BehaviorSwitchControl from ControllerGUI input) and will publically rebroadcast them. The idea is that your own processEvent gets first dibs, but if the behavior doesn't handle the text message, it will be handed off for others.

Reimplemented from BehaviorBase.

Definition at line 79 of file KoduInterpreter.h.

void KoduInterpreter::KoduEventListener::listenTo ( int  hostAddr  ) 

Definition at line 75 of file KoduInterpreter.h.

Referenced by KoduInterpreter::new_robot_callback().

KoduEventListener& KoduInterpreter::KoduEventListener::operator= ( const KoduEventListener other  ) 

don't call this


Member Data Documentation

Definition at line 65 of file KoduInterpreter.h.

Referenced by doEvent().

Definition at line 66 of file KoduInterpreter.h.

Referenced by doEvent().


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

Tekkotsu v5.1CVS
Generated Mon May 9 04:59:11 2016 by Doxygen 1.6.3