DABC (Data Acquisition Backbone Core)  2.9.9
TreeStore.h
Go to the documentation of this file.
1 // $Id: TreeStore.h 3862 2018-05-11 10:06:18Z linev $
2 
3 /************************************************************
4  * The Data Acquisition Backbone Core (DABC) *
5  ************************************************************
6  * Copyright (C) 2009 - *
7  * GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
8  * Planckstr. 1, 64291 Darmstadt, Germany *
9  * Contact: http://dabc.gsi.de *
10  ************************************************************
11  * This software can be used under the GPL license *
12  * agreements as stated in LICENSE.txt file *
13  * which is part of the distribution. *
14  ************************************************************/
15 
16 #ifndef ROOT_TreeStore
17 #define ROOT_TreeStore
18 
19 #ifndef DABC_Worker
20 #include "dabc/Worker.h"
21 #endif
22 
23 class TTree;
24 
25 namespace root {
26 
27  class TreeStore : public dabc::LocalWorker {
28  protected:
29 
30  TTree* fTree;
31 
32  void CloseTree();
33 
34  virtual int ExecuteCommand(dabc::Command);
35 
36  public:
37  TreeStore(const std::string &name);
38  virtual ~TreeStore();
39 
40  };
41 }
42 
43 #endif
Represents command with its arguments.
Definition: Command.h:99
TTree * fTree
Definition: TreeStore.h:30
virtual ~TreeStore()
Definition: TreeStore.cxx:29
TreeStore(const std::string &name)
Definition: TreeStore.cxx:23
virtual int ExecuteCommand(dabc::Command)
Main method where commands are executed.
Definition: TreeStore.cxx:46
void CloseTree()
Definition: TreeStore.cxx:34
Definition: Factory.h:24