LookToGroupRemoteStateOfferer.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 view_selection::LookToGroup
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 
28 
29 #include "LookToGroupStatechartContext.generated.h"
30 
31 namespace armarx::LookToGroup
32 {
34  virtual public XMLRemoteStateOfferer<
35  LookToGroupStatechartContext> // Change this statechart context if you need another context (dont forget to change in the constructor as well)
36  {
37  public:
39 
40  // inherited from RemoteStateOfferer
41  void onInitXMLRemoteStateOfferer() override;
42  void onConnectXMLRemoteStateOfferer() override;
43  void onExitXMLRemoteStateOfferer() override;
44 
45  // static functions for AbstractFactory Method
46  static std::string GetName();
48  static SubClassRegistry Registry;
49  };
50 } // namespace armarx::LookToGroup
armarx::LookToGroup::LookToGroupRemoteStateOfferer::CreateInstance
static XMLStateOffererFactoryBasePtr CreateInstance(StatechartGroupXmlReaderPtr reader)
Definition: LookToGroupRemoteStateOfferer.cpp:62
armarx::LookToGroup::LookToGroupRemoteStateOfferer::onExitXMLRemoteStateOfferer
void onExitXMLRemoteStateOfferer() override
Definition: LookToGroupRemoteStateOfferer.cpp:49
armarx::LookToGroup::LookToGroupRemoteStateOfferer::onConnectXMLRemoteStateOfferer
void onConnectXMLRemoteStateOfferer() override
Definition: LookToGroupRemoteStateOfferer.cpp:44
armarx::LookToGroup::LookToGroupRemoteStateOfferer::Registry
static SubClassRegistry Registry
Definition: LookToGroupRemoteStateOfferer.h:48
armarx::LookToGroup::LookToGroupRemoteStateOfferer
Definition: LookToGroupRemoteStateOfferer.h:33
armarx::LookToGroup::LookToGroupRemoteStateOfferer::onInitXMLRemoteStateOfferer
void onInitXMLRemoteStateOfferer() override
Definition: LookToGroupRemoteStateOfferer.cpp:39
RobotAPIObjectFactories.h
IceInternal::Handle< XMLStateOffererFactoryBase >
armarx::StatechartGroupXmlReaderPtr
std::shared_ptr< StatechartGroupXmlReader > StatechartGroupXmlReaderPtr
Definition: GroupXmlReader.h:94
armarx::LookToGroup::LookToGroupRemoteStateOfferer::LookToGroupRemoteStateOfferer
LookToGroupRemoteStateOfferer(StatechartGroupXmlReaderPtr reader)
Definition: LookToGroupRemoteStateOfferer.cpp:32
armarx::LookToGroup::LookToGroupRemoteStateOfferer::GetName
static std::string GetName()
Definition: LookToGroupRemoteStateOfferer.cpp:55
armarx::XMLRemoteStateOfferer
Definition: XMLRemoteStateOfferer.h:51
armarx::LookToGroup
Definition: LookToGroupRemoteStateOfferer.cpp:25
XMLRemoteStateOfferer.h