Producer Class Reference
|
Ratpac-two
|
RAT::Producer Class Reference
Inheritance diagram for RAT::Producer:
Public Member Functions | |
| Producer () | |
| Producer (ProcBlock *theBlock) | |
| virtual | ~Producer () |
| ProcBlock * | GetMainBlock () |
| void | SetMainBlock (ProcBlock *block) |
| virtual void | BeginOfRun (DS::Run *run) |
| virtual void | EndOfRun (DS::Run *run) |
Protected Attributes | |
| ProcBlock * | mainBlock |
Constructor & Destructor Documentation
◆ Producer() [1/2]
| Producer::Producer | ( | ) |
Create a new producer with no block.
It is not allowed to do anything further with this object until SetMainBlock() is called.
◆ Producer() [2/2]
| Producer::Producer | ( | ProcBlock * | theBlock | ) |
Create a new producer which will pass events to theBlock when it is running.
Most likely, other Producer objects have a pointer to theBlock as well, so we do not take ownership of the object.
◆ ~Producer()
|
inlinevirtual |
Destroy this producer. Does not destroy the main block.
Member Function Documentation
◆ GetMainBlock()
| ProcBlock * Producer::GetMainBlock | ( | ) |
Get a pointer to the main block used by this producer.
◆ SetMainBlock()
| void Producer::SetMainBlock | ( | ProcBlock * | block | ) |
Set the main block used by this producer.
Member Data Documentation
◆ mainBlock
|
protected |
Run events on this block of processors when created.
The documentation for this class was generated from the following files:
- /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/core/include/RAT/Producer.hh
- /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/core/src/Producer.cc
Generated by