23 #ifndef Gw_BasicReplica
24 #define Gw_BasicReplica
41 std::vector < ADF::FrameBlock * > fAttachedOutputBlocks;
43 ULong64_t fBytesAttachedInputBlock;
44 std::vector < ULong64_t > fBytesAttachedOutputBlock;
47 BasicReplica() : fAttachedInputBlock(0x0), fAttachedOutputBlocks(), fBytesAttachedInputBlock(0UL), fBytesAttachedOutputBlock()
64 return Int_t(fAttachedOutputBlocks.size());
75 fAttachedInputBlock = block;
88 Int_t rslot = -1; ULong64_t init = 0UL;
91 fAttachedOutputBlocks.push_back(block); fBytesAttachedOutputBlock.push_back(init);
93 rslot = GetNbOutput() - 1;
96 if ( slot < GetNbOutput() )
97 fAttachedOutputBlocks[slot] = block;
118 virtual void process_reset (UInt_t *error_code) ;
120 virtual UInt_t ProcessBlocks() ;
header file for FrameBlock.cpp
It has a single input line and copies it to all the output lines attached.
LogMessage & error(LogMessage &)
virtual Int_t AttachOutput(ADF::FrameBlock *block, Int_t slot=-1)
Attach a block as output for a given slot number.
virtual Int_t GetNbOutput() const
for this actor, it gives the current number of output lines attached.
to set informations about the ADF configuration
virtual Int_t GetMaxOutput() const
for this actor, it gives the max number of output lines it can handle (max included).
Base class for an actor with N input and M output : main purpose is to structure the dataflow...
header file for NarvalInterface.cpp
virtual Int_t GetMaxInput() const
Only one input.
virtual void process_initialise(UInt_t *)
To init the internal values (real constructor)
virtual Int_t AttachInput(ADF::FrameBlock *block, Int_t slot=-1)
Attach a block as input for a given slot number.