ICP  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
GenericWorker< T > Class Template Referenceabstract

#include <icputils.h>

Inheritance diagram for GenericWorker< T >:
Inheritance graph

Public Member Functions

 GenericWorker (Poco::NotificationQueue &queue)
 
virtual void run ()
 
virtual void doWork (T *data)=0
 

Private Member Functions

 GenericWorker ()
 
- Private Member Functions inherited from ISIS::Base
 Base (const std::string &logger_name="UNKNOWN")
 
void setLoggerName (const std::string &logger_name)
 
virtual ~Base ()
 
virtual std::string loggingPrefix () const
 
void setThisLoggerLevel (int level)
 

Private Attributes

Poco::NotificationQueue & m_queue
 
- Private Attributes inherited from ISIS::Base
Poco::Logger * m_logger
 
Poco::LogStream * m_logstr
 
Poco::Mutex m_logger_lock
 

Additional Inherited Members

- Static Private Member Functions inherited from ISIS::Base
static void setAllLoggerLevel (int level)
 

Detailed Description

template<class T>
class GenericWorker< T >

Definition at line 585 of file icputils.h.

Constructor & Destructor Documentation

template<class T>
GenericWorker< T >::GenericWorker ( )
inlineprivate

Definition at line 588 of file icputils.h.

template<class T>
GenericWorker< T >::GenericWorker ( Poco::NotificationQueue &  queue)
inline

Definition at line 591 of file icputils.h.

Member Function Documentation

template<class T>
virtual void GenericWorker< T >::doWork ( T *  data)
pure virtual

Implemented in NeXusWorker.

Referenced by GenericWorker< NeXusWorkerData >::run().

template<class T>
virtual void GenericWorker< T >::run ( )
inlinevirtual

Definition at line 592 of file icputils.h.

Member Data Documentation

template<class T>
Poco::NotificationQueue& GenericWorker< T >::m_queue
private

Definition at line 589 of file icputils.h.

Referenced by GenericWorker< NeXusWorkerData >::run().


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