template class Poco::ActiveRunnable<ResultType, void, OwnerType>
Overview
This class is used by ActiveMethod. Moreā¦
#include <ActiveRunnable.h> template < class ResultType, class OwnerType > class ActiveRunnable<ResultType, void, OwnerType>: public Poco::ActiveRunnableBase { public: // typedefs typedef ResultType(OwnerType::* Callback)(); typedef ActiveResult<ResultType> ActiveResultType; // construction ActiveRunnable( OwnerType* pOwner, Callback method, const ActiveResultType& result ); // methods virtual void run(); };
Inherited Members
public: // typedefs typedef AutoPtr<ActiveRunnableBase> Ptr; // methods virtual void run() = 0; void duplicate() const; void release() const; int referenceCount() const;
Detailed Documentation
This class is used by ActiveMethod.
See the ActiveMethod class for more information.
Methods
virtual void run()
Do whatever the thread needs to do.
Must be overridden by subclasses.