class Sp_Handler

The base class to receive Messages

Inheritance:


Public Methods

[more] Sp_Handler(Sp_Looper *)
Constructor with a looper
[more] Sp_Handler(Sp_Handler *)
Constructor with an handler
[more]void Quit()
Tell Looper that we don't need it
[more]virtual ~Sp_Handler()
Destructor: Don't use it
[more]void Activate()
allow this handler to receive messages
[more]void UnActivate()
prevent to receive messages
[more]int IsActive()
Test if Handler is active
[more]void MessageReceived(Sp_Message *)
Hook function: When this handler receives a messages, it send to this function
[more]void PostMessage(Sp_Message *)
Hook function: Send a message to this handler


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 Sp_Handler(Sp_Looper *)
Constructor with a looper

o Sp_Handler(Sp_Handler *)
Constructor with an handler

ovoid Quit()
Tell Looper that we don't need it

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

ovoid Activate()
allow this handler to receive messages

ovoid UnActivate()
prevent to receive messages

oint IsActive()
Test if Handler is active

ovoid MessageReceived(Sp_Message *)
Hook function: When this handler receives a messages, it send to this function

ovoid PostMessage(Sp_Message *)
Hook function: Send a message to this handler


Direct child classes:
Sp_Prog
Sp_Looper

Alphabetic index HTML hierarchy of classes or Java



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