UTask.cxx 897 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. #include "UTask.h"
  2. //____________________________________________________________________
  3. //
  4. // UTask
  5. //
  6. // Base abstract class for tasks. User derived classe has to
  7. // override pure virtual methods Init, Exec and Finish
  8. //
  9. //--------------------------------------------------------------------
  10. UTask::UTask()
  11. {
  12. // Default constructor
  13. fVerbose = 1;
  14. }
  15. //--------------------------------------------------------------------
  16. //--------------------------------------------------------------------
  17. UTask::UTask(const char *name, Int_t verbose)
  18. : TTask(name, "UTask")
  19. {
  20. // Standard constructor
  21. fVerbose = verbose;
  22. }
  23. //--------------------------------------------------------------------
  24. //--------------------------------------------------------------------
  25. UTask::~UTask()
  26. {
  27. // Destructor
  28. }
  29. //--------------------------------------------------------------------
  30. ClassImp(UTask);