FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FairMQSamplerTask Class Reference

#include <FairMQSamplerTask.h>

Inheritance diagram for FairMQSamplerTask:
FairTask FairTestDetectorDigiLoader< TOut, TPayloadOut >

Public Member Functions

 FairMQSamplerTask ()
 
 FairMQSamplerTask (const Text_t *name, int iVerbose=1)
 
 FairMQSamplerTask (const FairMQSamplerTask &)=delete
 
FairMQSamplerTask operator= (const FairMQSamplerTask &)=delete
 
virtual ~FairMQSamplerTask ()
 
virtual InitStatus Init ()
 
virtual void Exec (Option_t *opt)
 
void SetEventIndex (Long64_t eventIndex)
 
void SetBranch (const std::string &branch)
 
void GetPayload (std::unique_ptr< FairMQMessage > &msg)
 
void SetTransport (std::shared_ptr< FairMQTransportFactory > factory)
 
- Public Member Functions inherited from FairTask
 FairTask ()
 
 FairTask (const char *name, Int_t iVerbose=1)
 
virtual ~FairTask ()
 
void InitTask ()
 
void ReInitTask ()
 
void SetParTask ()
 
virtual void FinishTask ()
 
virtual void FinishEvent ()
 
void SetVerbose (Int_t iVerbose)
 
void SetInputPersistance (Bool_t val)
 
void CheckInputPersistance (TString branchName)
 
virtual void ExecuteTask (Option_t *option="0")
 
void SetOutputBranchPersistent (TString, Bool_t)
 
Bool_t IsOutputBranchPersistent (TString)
 
void SetStreamProcessing (Bool_t val=kTRUE)
 

Protected Attributes

std::string fBranch
 
TClonesArray * fInput
 
FairMQMessagePtr fPayload
 
Long64_t fEventIndex
 
FairEventHeaderfEvtHeader
 
std::shared_ptr
< FairMQTransportFactory > 
fTransportFactory
 
- Protected Attributes inherited from FairTask
Int_t fVerbose
 
Int_t fInputPersistance
 Indicates if input branch is persistant. More...
 
FairLoggerfLogger
 
Bool_t fStreamProcessing
 

Additional Inherited Members

- Protected Member Functions inherited from FairTask
virtual InitStatus ReInit ()
 
virtual void SetParContainers ()
 
virtual void Finish ()
 
void InitTasks ()
 
void ReInitTasks ()
 
virtual void ExecuteTasks (Option_t *option)
 
void SetParTasks ()
 
void FinishTasks ()
 
void FinishEvents ()
 

Detailed Description

FairMQSamplerTask.h

Since
2012-11-22
Author
D. Klein, A. Rybalchenko

Definition at line 27 of file FairMQSamplerTask.h.

Constructor & Destructor Documentation

FairMQSamplerTask::FairMQSamplerTask ( )

Definition at line 19 of file FairMQSamplerTask.cxx.

FairMQSamplerTask::FairMQSamplerTask ( const Text_t *  name,
int  iVerbose = 1 
)

Definition at line 29 of file FairMQSamplerTask.cxx.

FairMQSamplerTask::FairMQSamplerTask ( const FairMQSamplerTask )
delete
FairMQSamplerTask::~FairMQSamplerTask ( )
virtual

Definition at line 39 of file FairMQSamplerTask.cxx.

Member Function Documentation

void FairMQSamplerTask::Exec ( Option_t *  opt)
virtual

Reimplemented in FairTestDetectorDigiLoader< TOut, TPayloadOut >.

Definition at line 50 of file FairMQSamplerTask.cxx.

void FairMQSamplerTask::GetPayload ( std::unique_ptr< FairMQMessage > &  msg)

Definition at line 56 of file FairMQSamplerTask.cxx.

InitStatus FairMQSamplerTask::Init ( )
virtual

Intialisation at begin of run. To be implemented in the derived class. Success If not kSUCCESS, task will be set inactive.

Reimplemented from FairTask.

Definition at line 41 of file FairMQSamplerTask.cxx.

FairMQSamplerTask FairMQSamplerTask::operator= ( const FairMQSamplerTask )
delete
void FairMQSamplerTask::SetBranch ( const std::string &  branch)

Definition at line 52 of file FairMQSamplerTask.cxx.

void FairMQSamplerTask::SetEventIndex ( Long64_t  eventIndex)

Definition at line 54 of file FairMQSamplerTask.cxx.

void FairMQSamplerTask::SetTransport ( std::shared_ptr< FairMQTransportFactory >  factory)

Definition at line 58 of file FairMQSamplerTask.cxx.

Member Data Documentation

std::string FairMQSamplerTask::fBranch
protected

Definition at line 47 of file FairMQSamplerTask.h.

Long64_t FairMQSamplerTask::fEventIndex
protected

Definition at line 50 of file FairMQSamplerTask.h.

FairEventHeader* FairMQSamplerTask::fEvtHeader
protected

Definition at line 51 of file FairMQSamplerTask.h.

TClonesArray* FairMQSamplerTask::fInput
protected

Definition at line 48 of file FairMQSamplerTask.h.

FairMQMessagePtr FairMQSamplerTask::fPayload
protected

Definition at line 49 of file FairMQSamplerTask.h.

std::shared_ptr<FairMQTransportFactory> FairMQSamplerTask::fTransportFactory
protected

Definition at line 52 of file FairMQSamplerTask.h.


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