Files
mlpack/fastlib/branches/fastlib-old/par/task.h
T
Ryan Curtin f6864dd435 Move fastlib-old (originally 'fastlib') to fastlib/branches/fastlib-old where it
will sit until the end of time and nobody will touch it because it's old
2010-01-31 22:31:55 +00:00

30 lines
462 B
C++

// Copyright 2007 Georgia Institute of Technology. All rights reserved.
// ABSOLUTELY NOT FOR DISTRIBUTION
/**
* @file task.h
*
* Declaration for generic task concept.
*/
#ifndef PAR_TASK_H
#define PAR_TASK_H
#include "base/base.h"
/**
* Single start-to-finish task to be executed.
*
* This is a polymorphic class.
*/
class Task {
FORBID_ACCIDENTAL_COPIES(Task);
public:
Task() {}
virtual ~Task() {}
virtual void Run() = 0;
};
#endif