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

List of all members.

Public Member Functions

 TestTask2 (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

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

Member Function Documentation

virtual time_t TestTask2::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>& TestTask2::pRuns
private

Referenced by Run().


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