TrivialObject handles a message object.
More...
#include <MessageContext.h>
Inherits o2::framework::MessageContext::ContextObject.
|
| TrivialObject ()=delete |
| default contructor forbidden, object always has to control message instances
|
|
template<typename ContextType > |
| TrivialObject (ContextType *context, fair::mq::MessagePtr &&headerMsg, fair::mq::MessagePtr &&payloadMsg, RouteIndex routeIndex) |
| constructor consuming the header and payload messages for a given channel by move
|
|
template<typename ContextType , typename... Args> |
| TrivialObject (ContextType *context, fair::mq::MessagePtr &&headerMsg, RouteIndex routeIndex, int index, Args... args) |
| constructor taking header message by move and creating the paypload message
|
|
| ~TrivialObject () override=default |
|
auto * | data () |
|
| ContextObject ()=delete |
|
| ContextObject (fair::mq::MessagePtr &&headerMsg, fair::mq::MessagePtr &&payloadMsg, RouteIndex routeIndex) |
|
| ContextObject (fair::mq::MessagePtr &&headerMsg, RouteIndex routeIndex) |
|
virtual | ~ContextObject ()=default |
|
virtual fair::mq::Parts | finalize () |
| Finalize the object and return the parts by move This is the default method and can be overloaded by other implmentations to carry out other tasks before returning the parts objects.
|
|
RouteIndex | route () const |
| return the channel name
|
|
bool | empty () const |
|
o2::header::DataHeader const * | header () |
|
o2::framework::DataProcessingHeader const * | dataProcessingHeader () |
|
o2::header::Stack const * | headerStack () |
|
TrivialObject handles a message object.
Definition at line 157 of file MessageContext.h.
◆ TrivialObject() [1/3]
o2::framework::MessageContext::TrivialObject::TrivialObject |
( |
| ) |
|
|
delete |
default contructor forbidden, object always has to control message instances
◆ TrivialObject() [2/3]
template<typename ContextType >
o2::framework::MessageContext::TrivialObject::TrivialObject |
( |
ContextType * |
context, |
|
|
fair::mq::MessagePtr && |
headerMsg, |
|
|
fair::mq::MessagePtr && |
payloadMsg, |
|
|
RouteIndex |
routeIndex |
|
) |
| |
|
inline |
constructor consuming the header and payload messages for a given channel by move
Definition at line 164 of file MessageContext.h.
◆ TrivialObject() [3/3]
template<typename ContextType , typename... Args>
o2::framework::MessageContext::TrivialObject::TrivialObject |
( |
ContextType * |
context, |
|
|
fair::mq::MessagePtr && |
headerMsg, |
|
|
RouteIndex |
routeIndex, |
|
|
int |
index, |
|
|
Args... |
args |
|
) |
| |
|
inline |
constructor taking header message by move and creating the paypload message
Definition at line 170 of file MessageContext.h.
◆ ~TrivialObject()
o2::framework::MessageContext::TrivialObject::~TrivialObject |
( |
| ) |
|
|
overridedefault |
◆ data()
auto * o2::framework::MessageContext::TrivialObject::data |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file:
- /home/runner/work/AliceO2/AliceO2/Framework/Core/include/Framework/MessageContext.h