◆ CMPITriggerSorter()
frib::analysis::CMPITriggerSorter::CMPITriggerSorter |
( |
int |
outputterRank, |
|
|
MPI_Datatype & |
headers, |
|
|
MPI_Datatype & |
param |
|
) |
| |
constructor The parameters really tell us how to talk to the outputter:
- Parameters
-
outputRank | - the rank to which we send our sorted items. |
headers | - MPI Data type for FRIB_MPI_Parameter_MessageHeader normally AbstractApplication computed this. |
param | - MPIData type for FRIB_MPI_Parameter_Value which, again, is normally created by AbstractApplication. |
- Note
- - we're going to pre-allocate 100 FRIB_MPI_Parameter_Value items just to get us started.
◆ ~CMPITriggerSorter()
frib::analysis::CMPITriggerSorter::~CMPITriggerSorter |
( |
| ) |
|
|
virtual |
Destructor -The cool thing about unique pointers is they destroy themselves.,\
◆ emitItem()
void frib::analysis::CMPITriggerSorter::emitItem |
( |
pParameterItem |
item | ) |
|
|
virtual |
emitItem Marshall the event up into a header and parameter block and send it on its way to the m_outputRank receiver.
- Parameters
-
item | -pointer to the ring item that contains the parameters. |
- Note
- item will be deleted after we no longer need its data.
Implements frib::analysis::CTriggerSorter.
The documentation for this class was generated from the following files: