Library: Util
Package: Timer
Header: Poco/Util/TimerTaskAdapter.h
This class template simplifies the implementation of TimerTask objects by allowing a member function of an object to be called as task.
Direct Base Classes: TimerTask
All Base Classes: Poco::RefCountedObject, Poco::Runnable, TimerTask
Member Functions: run
Inherited Functions: cancel, duplicate, isCancelled, lastExecution, referenceCount, release, run
typedef void (C::* Callback)(TimerTask &);
 
 TimerTaskAdapter(
    C & object,
    Callback method
);
Creates the TimerTaskAdapter, using the given object and its member function as task target.
The member function must accept one argument, a reference to a TimerTask object.
 
   
   
 ~TimerTaskAdapter();
Destroys the TimerTaskAdapter.
 
   
 void run();
See also: Poco::Runnable::run()