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

#include <ActiveRunnable.h>

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

Public Types

typedef void(OwnerType::* Callback) ()
 
typedef ActiveResult< void > 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 OwnerType>
class Poco::ActiveRunnable< void, void, OwnerType >

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

Definition at line 183 of file ActiveRunnable.h.

Member Typedef Documentation

◆ ActiveResultType

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

Definition at line 189 of file ActiveRunnable.h.

◆ Callback

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

Definition at line 188 of file ActiveRunnable.h.

Constructor & Destructor Documentation

◆ ActiveRunnable()

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

Definition at line 191 of file ActiveRunnable.h.

Member Function Documentation

◆ run()

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

Implements Poco::Runnable.

Definition at line 199 of file ActiveRunnable.h.

Member Data Documentation

◆ _method

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

Definition at line 223 of file ActiveRunnable.h.

◆ _pOwner

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

Definition at line 222 of file ActiveRunnable.h.

◆ _result

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

Definition at line 224 of file ActiveRunnable.h.


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