FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
runExHistoServer.h
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  ********************************************************************************/
8 #include "FairMQExHistoServer.h"
9 #include "runFairMQDevice.h"
10 
11 #include <memory>
12 
13 namespace bpo = boost::program_options;
14 
15 void addCustomOptions(bpo::options_description& /*options*/) {}
16 
17 std::unique_ptr<FairMQExHistoCanvasDrawer> getCanvasDrawer();
18 
19 FairMQDevicePtr getDevice(const FairMQProgOptions& /*config*/)
20 {
21  FairMQExHistoServer* histoServer = new FairMQExHistoServer();
22 
23  histoServer->SetCanvasDrawer(getCanvasDrawer());
24 
25  return histoServer;
26 }
void addCustomOptions(bpo::options_description &options)
std::unique_ptr< FairMQExHistoCanvasDrawer > getCanvasDrawer()
void SetCanvasDrawer(std::unique_ptr< FairMQExHistoCanvasDrawer > canvasDrawer)
FairMQDevicePtr getDevice(const FairMQProgOptions &config)