#include "htask.h"

HTask


class description - source file - inheritance tree (.pdf)

class HTask : public TNamed

Inheritance Chart:
TObject
<-
TNamed
<-
HTask
<-
HReconstructor
<-
HClusterSelector
<-
HClusterSelectorSim
HCreateCorrPar
HDeco
HDileptonFiller
HGeantFilter
HGeantKineAna
HHodoCalibrater
HHodoDummy
 [more...]
 
    This is an abstract class, constructors will not be documented.
    Look at the header to check for available constructors.


    public:
virtual ~HTask() static TClass* Class() virtual Bool_t connectTask(HTask* task, Int_t n) virtual Bool_t finalize() virtual HTask* getComposite() virtual void getConnections() virtual HTask* getOwner() virtual HTask* getTask(Char_t* name) virtual Bool_t init() virtual TClass* IsA() const virtual void isTimed(Bool_t) virtual HTask* next(Int_t& errCode) HTask& operator=(const HTask&) virtual void printTimer() virtual Bool_t reinit() virtual void resetTimer() virtual Bool_t setConnections() void setManual() virtual void setOwner(HTask* atask) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
HTask* owner Bool_t manual Bool_t isInitialised Bool_t isConnected Bool_t fIsTimed timer flag

Class Description

HTask

 This is the base class for a task (i.e. a transform data, take a decision
depending on some parameters ...). Examples of tasks are the HReconstructor
class which stands for a algorithm used to process event's data; the
HTaskSet class which corresponds to a set of generic tasks.

 The task is expected to be initialized using the init() function before the
first call to the next() function. This last method (next()) performs the
actual task and retrieves a pointer to the next task to be executed (or
NULL if there is no next task).

 The finalize() method does some clean-up and in general will be called in
the destructor. However it is provided as a separate function allowing the
posibility to reset the task (two consecutive calls to finalize() and init())
without destructing the object.

 The connectTask(aTask,n) function connects the task "aTask" as the next task
to be performed. "n" is an optional integer and its meaning can be defined
by each subclass.




Inline Functions


               void ~HTask()
             Bool_t connectTask(HTask* task, Int_t n)
             HTask* next(Int_t& errCode)
             HTask* getTask(Char_t* name)
             Bool_t init()
             Bool_t reinit()
             Bool_t finalize()
               void getConnections()
             HTask* getComposite()
             HTask* getOwner()
               void setOwner(HTask* atask)
             Bool_t setConnections()
               void setManual()
               void isTimed(Bool_t)
               void resetTimer()
               void printTimer()
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)
             HTask& operator=(const HTask&)


Author: Manuel Sanchez
Last update: 9/11/1998 by Manuel Sanchez


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.