FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FairMQProcessorTask.cxx
Go to the documentation of this file.
1 /********************************************************************************
2  * Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
3  * *
4  * This software is distributed under the terms of the *
5  * GNU Lesser General Public Licence (LGPL) version 3, *
6  * copied verbatim in the file "LICENSE" *
7  ********************************************************************************/
15 #include "FairMQProcessorTask.h"
16 
18  : fPayload()
19 {}
20 
22 
23 void FairMQProcessorTask::Exec(Option_t* /*opt*/) {}
24 
25 void FairMQProcessorTask::SetPayload(std::unique_ptr<FairMQMessage>& msg) { fPayload = std::move(msg); }
26 
27 void FairMQProcessorTask::GetPayload(std::unique_ptr<FairMQMessage>& msg) { msg = std::move(fPayload); }
std::unique_ptr< FairMQMessage > fPayload
void GetPayload(std::unique_ptr< FairMQMessage > &msg)
virtual void Exec(Option_t *opt="0")
void SetPayload(std::unique_ptr< FairMQMessage > &msg)