Ark Server API (ASE) - Wiki
Loading...
Searching...
No Matches
Poco::ActiveRunnable< ResultType, void, OwnerType > Class Template Reference

#include <ActiveRunnable.h>

+ Inheritance diagram for Poco::ActiveRunnable< ResultType, void, OwnerType >:
+ Collaboration diagram for Poco::ActiveRunnable< ResultType, void, OwnerType >:

Public Types

typedef ResultType(OwnerType::* Callback) ()
 
typedef ActiveResult< ResultType > ActiveResultType
 
- Public Types inherited from Poco::ActiveRunnableBase
using Ptr = AutoPtr<ActiveRunnableBase>
 

Public Member Functions

 ActiveRunnable (OwnerType *pOwner, Callback method, const ActiveResultType &result)
 
void run ()
 
- Public Member Functions inherited from Poco::Runnable
 Runnable ()
 
virtual ~Runnable ()
 
- Public Member Functions inherited from Poco::RefCountedObject
 RefCountedObject ()
 
void duplicate () const
 
void release () const noexcept
 Increments the object's reference count.
 
int referenceCount () const
 

Private Attributes

OwnerType * _pOwner
 
Callback _method
 
ActiveResultType _result
 

Additional Inherited Members

- Protected Member Functions inherited from Poco::RefCountedObject
virtual ~RefCountedObject ()
 Returns the reference count.
 

Detailed Description

template<class ResultType, class OwnerType>
class Poco::ActiveRunnable< ResultType, void, OwnerType >

This class is used by ActiveMethod. See the ActiveMethod class for more information.

Definition at line 137 of file ActiveRunnable.h.

Member Typedef Documentation

◆ ActiveResultType

template<class ResultType , class OwnerType >
typedef ActiveResult<ResultType> Poco::ActiveRunnable< ResultType, void, OwnerType >::ActiveResultType

Definition at line 143 of file ActiveRunnable.h.

◆ Callback

template<class ResultType , class OwnerType >
typedef ResultType(OwnerType::* Poco::ActiveRunnable< ResultType, void, OwnerType >::Callback) ()

Definition at line 142 of file ActiveRunnable.h.

Constructor & Destructor Documentation

◆ ActiveRunnable()

template<class ResultType , class OwnerType >
Poco::ActiveRunnable< ResultType, void, OwnerType >::ActiveRunnable ( OwnerType * pOwner,
Callback method,
const ActiveResultType & result )
inline

Definition at line 145 of file ActiveRunnable.h.

Member Function Documentation

◆ run()

template<class ResultType , class OwnerType >
void Poco::ActiveRunnable< ResultType, void, OwnerType >::run ( )
inlinevirtual

Implements Poco::Runnable.

Definition at line 153 of file ActiveRunnable.h.

Member Data Documentation

◆ _method

template<class ResultType , class OwnerType >
Callback Poco::ActiveRunnable< ResultType, void, OwnerType >::_method
private

Definition at line 177 of file ActiveRunnable.h.

◆ _pOwner

template<class ResultType , class OwnerType >
OwnerType* Poco::ActiveRunnable< ResultType, void, OwnerType >::_pOwner
private

Definition at line 176 of file ActiveRunnable.h.

◆ _result

template<class ResultType , class OwnerType >
ActiveResultType Poco::ActiveRunnable< ResultType, void, OwnerType >::_result
private

Definition at line 178 of file ActiveRunnable.h.


The documentation for this class was generated from the following file: