![]() |
Project
|
#include <InputSpan.h>
Classes | |
class | InputSpanIterator |
class | Iterator |
an iterator class working on position within the a parent class More... | |
Public Types | |
using | iterator = InputSpanIterator< DataRef > |
using | const_iterator = InputSpanIterator< const DataRef > |
Public Member Functions | |
InputSpan ()=delete | |
InputSpan (InputSpan const &)=delete | |
InputSpan (InputSpan &&)=default | |
InputSpan (std::function< DataRef(size_t)> getter, size_t size) | |
InputSpan (std::function< DataRef(size_t, size_t)> getter, size_t size) | |
InputSpan (std::function< DataRef(size_t, size_t)> getter, std::function< size_t(size_t)> nofPartsGetter, size_t size) | |
DataRef | get (size_t i, size_t partidx=0) const |
i-th element of the InputSpan | |
size_t | getNofParts (size_t i) const |
number of parts in the i-th element of the InputSpan | |
size_t | size () const |
Number of elements in the InputSpan. | |
const char * | header (size_t i) const |
const char * | payload (size_t i) const |
const_iterator | begin () const |
const_iterator | end () const |
Mapping helper between the store of all inputs being processed and the actual inputs to be processed in a given go. In general this will use an helper which returns fair::mq::Message->GetData()
from the Message cache, but in principle the mechanism should be flexible enough to allow all kind of input stores.
Definition at line 28 of file InputSpan.h.
using o2::framework::InputSpan::const_iterator = InputSpanIterator<const DataRef> |
Definition at line 222 of file InputSpan.h.
Definition at line 221 of file InputSpan.h.
|
delete |
|
delete |
|
default |
o2::framework::InputSpan::InputSpan | ( | std::function< DataRef(size_t)> | getter, |
size_t | size | ||
) |
getter is the mapping between an element of the span referred by index and the buffer associated. size is the number of elements in the span.
Definition at line 19 of file InputSpan.cxx.
o2::framework::InputSpan::InputSpan | ( | std::function< DataRef(size_t, size_t)> | getter, |
size_t | size | ||
) |
getter is the mapping between an element of the span referred by index and the buffer associated. size is the number of elements in the span.
Definition at line 27 of file InputSpan.cxx.
o2::framework::InputSpan::InputSpan | ( | std::function< DataRef(size_t, size_t)> | getter, |
std::function< size_t(size_t)> | nofPartsGetter, | ||
size_t | size | ||
) |
getter is the mapping between an element of the span referred by index and the buffer associated. @nofPartsGetter is the getter for the number of parts associated with an index size is the number of elements in the span.
Definition at line 32 of file InputSpan.cxx.
|
inline |
Definition at line 225 of file InputSpan.h.
|
inline |
Definition at line 231 of file InputSpan.h.
|
inline |
i-th element of the InputSpan
Definition at line 52 of file InputSpan.h.
|
inline |
number of parts in the i-th element of the InputSpan
Definition at line 58 of file InputSpan.h.
|
inline |
Definition at line 75 of file InputSpan.h.
|
inline |
Definition at line 80 of file InputSpan.h.
|
inline |
Number of elements in the InputSpan.
Definition at line 70 of file InputSpan.h.