xrootd
Public Member Functions | Private Attributes
TestTask1 Class Reference
Inheritance diagram for TestTask1:
Inheritance graph
[legend]
Collaboration diagram for TestTask1:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 TestTask1 (std::vector< time_t > &runs)
virtual time_t Run (time_t now)
- Public Member Functions inherited from XrdCl::Task
virtual ~Task ()
const std::string & GetName () const
 Name of the task.
void SetName (const std::string &name)
 Set name of the task.

Private Attributes

std::vector< time_t > & pRuns

Constructor & Destructor Documentation

TestTask1::TestTask1 ( std::vector< time_t > &  runs)
inline

Member Function Documentation

virtual time_t TestTask1::Run ( time_t  now)
inlinevirtual

Perform the task

Parameters:
nowcurrent timestamp
Returns:
0 if the task is completed and should no longer be run or the time at which it should be run again

Implements XrdCl::Task.

References pRuns.


Member Data Documentation

std::vector<time_t>& TestTask1::pRuns
private

Referenced by Run().


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