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

Overview

This class is used by ActiveMethod. Moreā€¦

#include <ActiveRunnable.h>

template <class OwnerType>
class ActiveRunnable<void, void, OwnerType>: public Poco::ActiveRunnableBase
{
public:
    // typedefs

    typedef void(OwnerType::* Callback)();
    typedef ActiveResult<void> 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.