mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 17:41:45 +00:00
Add CRTP base class for the policies of the generic device
This commit is contained in:
@@ -35,12 +35,11 @@
|
||||
* Function to define in (parent) policy classes :
|
||||
*
|
||||
* -------- INPUT POLICY (SAMPLER POLICY) --------
|
||||
* source_type::InitSampler() // must be there to compile
|
||||
* source_type::InitSource() // must be there to compile
|
||||
* int64_t source_type::GetNumberOfEvent() // must be there to compile
|
||||
* source_type::SetIndex(int64_t eventIdx) // must be there to compile
|
||||
* CONTAINER_TYPE source_type::GetOutData() // must be there to compile
|
||||
* source_type::SetFileProperties(Args&... args) // must be there to compile
|
||||
* source_type::ExecuteTasks() // must be there to compile
|
||||
*
|
||||
* void BindSendPart(std::function<void(int)> callback) // enabled if exists
|
||||
* void BindGetSocketNumber(std::function<int()> callback) // enabled if exists
|
||||
|
Reference in New Issue
Block a user