NavigationCommandsRemoteStateOfferer.h
Go to the documentation of this file.
1 /*
2  * This file is part of ArmarX.
3  *
4  * ArmarX is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License version 2 as
6  * published by the Free Software Foundation.
7  *
8  * ArmarX is distributed in the hope that it will be useful, but
9  * WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  * GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program. If not, see <http://www.gnu.org/licenses/>.
15  *
16  * @package navigation::NavigationCommands
17  * @author Fabian Reister ( fabian dot reister at kit dot edu )
18  * @date 2022
19  * @copyright http://www.gnu.org/licenses/gpl-2.0.txt
20  * GNU General Public License
21  */
22 
23 #pragma once
24 
26 
27 #include "NavigationCommandsStatechartContext.generated.h"
28 
30 {
32  virtual public XMLRemoteStateOfferer<
33  NavigationCommands::
34  NavigationCommandsStatechartContext> // Change this statechart context if you need another context (dont forget to change in the constructor as well)
35  {
36  public:
38 
39  // inherited from RemoteStateOfferer
40  void onInitXMLRemoteStateOfferer() override;
41  void onConnectXMLRemoteStateOfferer() override;
42  void onExitXMLRemoteStateOfferer() override;
43 
44  // static functions for AbstractFactory Method
45  static std::string GetName();
47  static SubClassRegistry Registry;
48  };
49 } // namespace armarx::navigation::statecharts::navigation_commands
armarx::navigation::statecharts::navigation_commands::NavigationCommandsRemoteStateOfferer::onInitXMLRemoteStateOfferer
void onInitXMLRemoteStateOfferer() override
Definition: NavigationCommandsRemoteStateOfferer.cpp:40
armarx::navigation::statecharts::navigation_commands::NavigationCommandsRemoteStateOfferer::NavigationCommandsRemoteStateOfferer
NavigationCommandsRemoteStateOfferer(StatechartGroupXmlReaderPtr reader)
Definition: NavigationCommandsRemoteStateOfferer.cpp:33
armarx::navigation::statecharts::navigation_commands::NavigationCommandsRemoteStateOfferer
Definition: NavigationCommandsRemoteStateOfferer.h:31
IceInternal::Handle< XMLStateOffererFactoryBase >
armarx::navigation::statecharts::navigation_commands::NavigationCommandsRemoteStateOfferer::Registry
static SubClassRegistry Registry
Definition: NavigationCommandsRemoteStateOfferer.h:47
armarx::StatechartGroupXmlReaderPtr
std::shared_ptr< StatechartGroupXmlReader > StatechartGroupXmlReaderPtr
Definition: GroupXmlReader.h:89
armarx::XMLRemoteStateOfferer
Definition: XMLRemoteStateOfferer.h:51
armarx::navigation::statecharts::navigation_commands::NavigationCommandsRemoteStateOfferer::CreateInstance
static XMLStateOffererFactoryBasePtr CreateInstance(StatechartGroupXmlReaderPtr reader)
Definition: NavigationCommandsRemoteStateOfferer.cpp:63
armarx::navigation::statecharts::navigation_commands
Definition: CalculateRelativeMovement.cpp:30
armarx::navigation::statecharts::navigation_commands::NavigationCommandsRemoteStateOfferer::GetName
static std::string GetName()
Definition: NavigationCommandsRemoteStateOfferer.cpp:56
XMLRemoteStateOfferer.h
armarx::navigation::statecharts::navigation_commands::NavigationCommandsRemoteStateOfferer::onExitXMLRemoteStateOfferer
void onExitXMLRemoteStateOfferer() override
Definition: NavigationCommandsRemoteStateOfferer.cpp:50
armarx::navigation::statecharts::navigation_commands::NavigationCommandsRemoteStateOfferer::onConnectXMLRemoteStateOfferer
void onConnectXMLRemoteStateOfferer() override
Definition: NavigationCommandsRemoteStateOfferer.cpp:45