Public Member Functions | Protected Member Functions

ExampleFinalizeNettlerThread Class Reference

Thread of example plugin. More...

#include <plugins/examples/basics/finalize_nettler_thread.h>

Inheritance diagram for ExampleFinalizeNettlerThread:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 ExampleFinalizeNettlerThread (const char *name)
 Constructor.
virtual ~ExampleFinalizeNettlerThread ()
 Destructor.
virtual void init ()
virtual void loop ()
 Thread loop.
virtual bool prepare_finalize_user ()
virtual void finalize ()

Protected Member Functions

virtual void run ()
 Stub to see name in backtrace for easier debugging.

Detailed Description

Thread of example plugin.

This thread does nothing but nagging once on finalize. On the first call to prepare finalize it returns false that it cannot be finalized, on the second time it allows finalization.

Author:
Tim Niemueller

Definition at line 30 of file finalize_nettler_thread.h.


Constructor & Destructor Documentation

ExampleFinalizeNettlerThread::ExampleFinalizeNettlerThread ( const char *  name  ) 

Constructor.

Parameters:
name thread name

Definition at line 40 of file finalize_nettler_thread.cpp.

ExampleFinalizeNettlerThread::~ExampleFinalizeNettlerThread (  )  [virtual]

Destructor.

Definition at line 48 of file finalize_nettler_thread.cpp.


Member Function Documentation

void ExampleFinalizeNettlerThread::loop (  )  [virtual]

Thread loop.

If num iterations module modc is 0 print out messaege, otherwise do nothing.

Definition at line 57 of file finalize_nettler_thread.cpp.

virtual void ExampleFinalizeNettlerThread::run (  )  [inline, protected, virtual]

Stub to see name in backtrace for easier debugging.

See also:
Thread::run()

Definition at line 46 of file finalize_nettler_thread.h.


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