class MessageKeeper

Catches keys and analyses if the word is typed : a word is in fact a list of raw key codes

Inheritance:


Public Methods

MessageKeeper() throw()
virtual ~MessageKeeper() throw()
virtual void work(const Key& key) throw(Exception)
Send to this class the keys to manage
virtual void message(List< int >& listKey, int idAction) throw()
The list is a raw key code list, it is deleted here

Protected Classes

class Tcontained
List < int > mot
int idAction
Tcontained(List< int >& _mot, int idAction)
~Tcontained()

Protected Fields

List < Tcontained * > list

Protected Methods

void incContained(Tcontained *c) throw(Exception)
virtual void action(int idAction) throw(Exception)

Documentation

Catches keys and analyses if the word is typed : a word is in fact a list of raw key codes. When you want that the MessageKeeper manages an action on a word, you must inherite this class and define the function action() : now you can add message to manage (in list of int form). With this class, the game can be a shell !!!
class Tcontained

List < int > mot

int idAction

Tcontained(List< int >& _mot, int idAction)

~Tcontained()

List < Tcontained * > list

void incContained(Tcontained *c) throw(Exception)

virtual void action(int idAction) throw(Exception)

MessageKeeper() throw()

virtual ~MessageKeeper() throw()

virtual void work(const Key& key) throw(Exception)
Send to this class the keys to manage

virtual void message(List< int >& listKey, int idAction) throw()
The list is a raw key code list, it is deleted here


Direct child classes:
Main
Author:
David FAUTHOUX

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de