DoxDoc.h
Go to the documentation of this file.
1 /*
2  * This file is part of ArmarX.
3  *
4  * Copyright (C) 2011-2016, High Performance Humanoid Technologies (H2T), Karlsruhe Institute of Technology (KIT), all rights reserved.
5  *
6  * ArmarX is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License version 2 as
8  * published by the Free Software Foundation.
9  *
10  * ArmarX is distributed in the hope that it will be useful, but
11  * WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program. If not, see <http://www.gnu.org/licenses/>.
17  *
18  * @package
19  * @author
20  * @date
21  * @copyright http://www.gnu.org/licenses/gpl-2.0.txt
22  * GNU General Public License
23  */
24 #pragma once
25 
26 #include <memory>
28 #include <Ice/Communicator.h>
29 #include "DoxEntry.h"
32 
33 
34 namespace armarx
35 {
36 
37  class DoxDoc;
38  using DoxDocPtr = std::shared_ptr<DoxDoc>;
39 
40  class DoxDoc
41  {
42  public:
43  DoxDoc();
44  void addEntry(DoxEntryPtr entry);
45  void addLine();
46  void addLine(const std::string& line);
47  void writeDoc(CppWriterPtr writer);
48  void addParameterTable(const RapidXmlReaderNode& parameters, VariantInfoPtr variantInfo, Ice::CommunicatorPtr communicator);
49  void addTransitionGraph(const RapidXmlReaderNode& transitions);
50  private:
51  std::vector<DoxEntryPtr> entries;
52  };
53 }
54 
55 
armarx::DoxDoc::addEntry
void addEntry(DoxEntryPtr entry)
Definition: DoxDoc.cpp:40
armarx::DoxDoc::addLine
void addLine()
Definition: DoxDoc.cpp:45
CppWriter.h
armarx::DoxDocPtr
std::shared_ptr< DoxDoc > DoxDocPtr
Definition: DoxDoc.h:38
armarx::DoxEntryPtr
std::shared_ptr< DoxEntry > DoxEntryPtr
Definition: DoxEntry.h:32
DoxEntry.h
IceInternal::Handle< ::Ice::Communicator >
armarx::DoxDoc::DoxDoc
DoxDoc()
Definition: DoxDoc.cpp:36
armarx::RapidXmlReaderNode
Definition: RapidXmlReader.h:68
armarx::DoxDoc::addParameterTable
void addParameterTable(const RapidXmlReaderNode &parameters, VariantInfoPtr variantInfo, Ice::CommunicatorPtr communicator)
Definition: DoxDoc.cpp:79
armarx::VariantInfoPtr
std::shared_ptr< VariantInfo > VariantInfoPtr
Definition: VariantInfo.h:39
RapidXmlReader.h
armarx::DoxDoc::writeDoc
void writeDoc(CppWriterPtr writer)
Definition: DoxDoc.cpp:50
armarx::CppWriterPtr
std::shared_ptr< CppWriter > CppWriterPtr
Definition: CppWriter.h:35
armarx::DoxDoc::addTransitionGraph
void addTransitionGraph(const RapidXmlReaderNode &transitions)
Definition: DoxDoc.cpp:139
armarx::DoxDoc
Definition: DoxDoc.h:40
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition: ArmarXTimeserver.cpp:28
VariantInfo.h