class Stk_Handler

The base class to receive Messages.

Inheritance:


Public Methods

[more] Stk_Handler()
Null constructor (No Looper & no father)
[more] Stk_Handler(Stk_Looper *)
Constructor with a looper (usefull for prog)
[more] Stk_Handler(Stk_Handler *)
Constructor with an handler
[more]virtual ~Stk_Handler()
Destructor: Don't use it
[more]void AddHandler(Stk_Handler *)
Add a son handler
[more]void RemHandler(Stk_Handler *)
Rem a son handler
[more]virtual void Dispatch(Stk_Message *)
Redistribuate messages
[more]virtual void MessageReceived(Stk_Message *)
Hook function: When this handler receives a messages, it send to this function
[more]virtual void StkPostMessage(Stk_Message *)
Hook function: Send a message to this handler

Protected Fields

[more]list<Stk_Handler *> handlers
list of sons
[more]Stk_Looper* looper
a pointer on the looper which handler belongs to
[more]Stk_Handler* father
father


Documentation

The base class to receive Messages. A handler depends on a Looper. So don't use his destructor. The looper will do it. When you don't need this handler just call the "Quit" function.
o Stk_Handler()
Null constructor (No Looper & no father)

o Stk_Handler(Stk_Looper *)
Constructor with a looper (usefull for prog)

o Stk_Handler(Stk_Handler *)
Constructor with an handler

ovirtual ~Stk_Handler()
Destructor: Don't use it

ovoid AddHandler(Stk_Handler *)
Add a son handler

ovoid RemHandler(Stk_Handler *)
Rem a son handler

ovirtual void Dispatch(Stk_Message *)
Redistribuate messages

ovirtual void MessageReceived(Stk_Message *)
Hook function: When this handler receives a messages, it send to this function

ovirtual void StkPostMessage(Stk_Message *)
Hook function: Send a message to this handler

olist<Stk_Handler *> handlers
list of sons

oStk_Looper* looper
a pointer on the looper which handler belongs to

oStk_Handler* father
father


Direct child classes:
Stk_Prog
Stk_Gui_Widget

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.