DDS  ver. 3.4
TopoCreator.h
Go to the documentation of this file.
1 // Copyright 2014 GSI, Inc. All rights reserved.
2 //
3 //
4 //
5 
6 #ifndef __DDS__TopoCreator__
7 #define __DDS__TopoCreator__
8 
9 // STD
10 #include <memory>
11 // DDS
12 #include "TopoGroup.h"
13 
14 namespace dds
15 {
16  namespace topology_api
17  {
18  class CTopoCreatorCore;
19 
21  {
22  public:
24  CTopoCreator();
25 
29  CTopoCreator(const std::string& _filename);
30 
35  CTopoCreator(const std::string& _filename, const std::string& _schemaFilename);
36 
38  virtual ~CTopoCreator();
39 
42  void save(const std::string& _filename);
43 
46  void save(std::ostream& _stream);
47 
50 
51  private:
52  std::shared_ptr<CTopoCreatorCore> m_topoCreator;
53  };
54  } // namespace topology_api
55 } // namespace dds
56 #endif /* defined(__DDS__TopoCreator__) */
CTopoGroup::Ptr_t getMainGroup() const
Returns shared pointer to the main group of the topology.
Definition: TopoCreator.cpp:43
CTopoCreator()
Constructor.
Definition: TopoCreator.cpp:14
std::shared_ptr< CTopoGroup > Ptr_t
Definition: TopoGroup.h:18
Definition: AgentConnectionManager.h:13
virtual ~CTopoCreator()
Destructor.
Definition: TopoCreator.cpp:29
Definition: TopoCreator.h:20
void save(const std::string &_filename)
Saves topology to the specified XML file.
Definition: TopoCreator.cpp:33