SplitterV1
SplitterV1 decodes a Batcher v1 super-frame and emits one Rogue stream
frame per record.
For conceptual guidance, see Batcher Protocol Splitter.
Protocol reference: https://confluence.slac.stanford.edu/x/th1SDg
Python binding
This C++ class is also exported into Python as rogue.protocols.batcher.SplitterV1.
Python API page: - SplitterV1
SplitterV1 objects in C++ are referenced by the following shared pointer typedef:
-
typedef std::shared_ptr<rogue::protocols::batcher::SplitterV1> rogue::protocols::batcher::SplitterV1Ptr
[header]
The class description is shown below:
-
class SplitterV1 : public rogue::interfaces::stream::Master, public rogue::interfaces::stream::Slave
[header] Splits one batcher v1 super-frame into per-record output frames.
Protocol reference: https://confluence.slac.stanford.edu/x/th1SDg
SplitterV1usesCoreV1to parse a batcher super-frame, then emits one Rogue stream frame per parsedDatarecord:Payload bytes copied from record data.
Channel set from record destination.
First/last user fields propagated from record metadata.
Threading model:
No internal worker thread is created.
Processing executes synchronously in the caller thread of
acceptFrame().
Public Functions
-
SplitterV1()
[header] [impl] Constructs a
SplitterV1instance.Creator.
This constructor is a low-level C++ allocation path. Prefer
create()when shared ownership or Python exposure is required.
Accepts one batcher v1 frame and emits parsed records as frames.
Accept a frame from master.
- Parameters:
frame – Input batcher super-frame.
Public Static Functions
-
static std::shared_ptr<rogue::protocols::batcher::SplitterV1> create()
[header] [impl] Creates a
SplitterV1instance.Class creation.
This static factory is the preferred construction path when the object is shared across Rogue graph connections or exposed to Python. It returns
std::shared_ptrownership compatible with Rogue pointer typedefs.Company : SLAC National Accelerator Laboratory
Description: SLAC Splitter 1
This file is part of the rogue software platform. It is subject to the license terms in the LICENSE.txt file found in the top-level directory of this distribution and at: https://confluence.slac.stanford.edu/display/ppareg/LICENSE.html. No part of the rogue software platform, including this file, may be copied, modified, propagated, or distributed except according to the terms contained in the LICENSE.txt file.
- Returns:
Shared pointer to the created splitter.