|
xrootd
|
Interface for a task to be run by the TaskManager. More...
#include <XrdClTaskManager.hh>


Public Member Functions | |
| virtual | ~Task () |
| virtual time_t | Run (time_t now)=0 |
| const std::string & | GetName () const |
| Name of the task. More... | |
| void | SetName (const std::string &name) |
| Set name of the task. More... | |
Private Attributes | |
| std::string | pName |
Interface for a task to be run by the TaskManager.
|
inlinevirtual |
|
inline |
Name of the task.
References pName.
Referenced by XrdCl::TaskManager::RegisterTask(), XrdCl::TaskManager::RunTasks(), and XrdCl::TaskManager::UnregisterTask().
|
pure virtual |
Perform the task
| now | current timestamp |
Implemented in TestTask2, TestTask1, and XrdCl::FileTimer.
|
inline |
Set name of the task.
References pName.
Referenced by XrdCl::FileTimer::FileTimer(), TestTask1::TestTask1(), and TestTask2::TestTask2().
1.8.3.1