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

#include <ActiveRunnable.h>

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

Public Types

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

Public Member Functions

 ActiveRunnable (OwnerType *pOwner, Callback method, const ArgType &arg, 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
 
ArgType _arg
 
ActiveResultType _result
 

Additional Inherited Members

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

Detailed Description

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

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

Definition at line 41 of file ActiveRunnable.h.

Member Typedef Documentation

◆ ActiveResultType

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

Definition at line 47 of file ActiveRunnable.h.

◆ Callback

template<class ResultType , class ArgType , class OwnerType >
typedef ResultType(OwnerType::* Poco::ActiveRunnable< ResultType, ArgType, OwnerType >::Callback) (const ArgType &)

Definition at line 46 of file ActiveRunnable.h.

Constructor & Destructor Documentation

◆ ActiveRunnable()

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

Definition at line 49 of file ActiveRunnable.h.

Member Function Documentation

◆ run()

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

Implements Poco::Runnable.

Definition at line 58 of file ActiveRunnable.h.

Member Data Documentation

◆ _arg

template<class ResultType , class ArgType , class OwnerType >
ArgType Poco::ActiveRunnable< ResultType, ArgType, OwnerType >::_arg
private

Definition at line 83 of file ActiveRunnable.h.

◆ _method

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

Definition at line 82 of file ActiveRunnable.h.

◆ _pOwner

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

Definition at line 81 of file ActiveRunnable.h.

◆ _result

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

Definition at line 84 of file ActiveRunnable.h.


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