In file execabl.hxx:

(e) namespace vos class IExecutable : virtual public NAMESPACE_VOS IReferenceCounter

IExecutable The IExecutable-interface is to be understood as wrapper around your application-code, which allows it to be executed asynchronously

Inheritance:


Public Methods

virtual Boolean execute ()
Overload to implement your functionality
virtual Boolean operator< (const IExecutable&)
STL demands this operators if you want to place IExecutables per value in collections
virtual Boolean unblock ()
If you use blocking calls within your execute-function, you should provide here a means to unblock cleanly

Inherited from IReferenceCounter:


Documentation

IExecutable The IExecutable-interface is to be understood as wrapper around your application-code, which allows it to be executed asynchronously. Wether you want real asynchronous behaviour or just pseudo-multitasking depends on which kind of execution-service you use to execute your executable. (E.g. Threadpool/Fiberpool)
virtual Boolean execute()
Overload to implement your functionality. Return True, if you want "execute()" to be called again.

virtual Boolean unblock()
If you use blocking calls within your execute-function, you should provide here a means to unblock cleanly. @Return False if you are not able to unblock the thread.

virtual Boolean operator<(const IExecutable&)
STL demands this operators if you want to place IExecutables per value in collections


Direct child classes:
OExecutable
Author:
Bernd Hofner
Version:
0.1

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