Honeycomb  0.1
Component-Model Framework
Protected Member Functions | Friends | List of all members
honey::thread::Pool::Task Struct Reference

All tasks must inherit from this class. std::function is not used here to avoid the operator() virtual call. More...

#include <Pool.h>

Inheritance diagram for honey::thread::Pool::Task:
Inheritance graph
[legend]
Collaboration diagram for honey::thread::Pool::Task:
Collaboration graph
[legend]

Protected Member Functions

virtual void trace (const String &file, int line, const String &msg) const
 
virtual bool traceEnabled () const
 

Friends

class Pool
 
class Worker
 

Detailed Description

All tasks must inherit from this class. std::function is not used here to avoid the operator() virtual call.

Member Function Documentation

void honey::thread::Pool::Task::trace ( const String file,
int  line,
const String msg 
) const
protectedvirtual

Reimplemented in honey::DepTask, and honey::PeriodicTask.

virtual bool honey::thread::Pool::Task::traceEnabled ( ) const
inlineprotectedvirtual

Reimplemented in honey::DepTask, and honey::PeriodicTask.

Friends And Related Function Documentation

friend class Pool
friend
friend class Worker
friend

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