AzureKinectGroupRemoteStateOfferer.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 VisionX::AzureKinectGroup
17  * @author Rainer Kartmann ( rainer dot kartmann at kit dot edu )
18  * @date 2023
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 <VisionX/statecharts/AzureKinectGroup/AzureKinectGroupStatechartContext.generated.h>
28 
30 {
32  virtual public XMLRemoteStateOfferer<
33  AzureKinectGroupStatechartContext> // Change this statechart context if you need another context (dont forget to change in the constructor as well)
34  {
35  public:
37 
38  // inherited from RemoteStateOfferer
39  void onInitXMLRemoteStateOfferer() override;
40  void onConnectXMLRemoteStateOfferer() override;
41  void onExitXMLRemoteStateOfferer() override;
42 
43  // static functions for AbstractFactory Method
44  static std::string GetName();
46  static SubClassRegistry Registry;
47  };
48 } // namespace armarx::AzureKinectGroup
armarx::AzureKinectGroup::AzureKinectGroupRemoteStateOfferer::onInitXMLRemoteStateOfferer
void onInitXMLRemoteStateOfferer() override
Definition: AzureKinectGroupRemoteStateOfferer.cpp:34
armarx::AzureKinectGroup::AzureKinectGroupRemoteStateOfferer::CreateInstance
static XMLStateOffererFactoryBasePtr CreateInstance(StatechartGroupXmlReaderPtr reader)
Definition: AzureKinectGroupRemoteStateOfferer.cpp:47
IceInternal::Handle< XMLStateOffererFactoryBase >
armarx::StatechartGroupXmlReaderPtr
std::shared_ptr< StatechartGroupXmlReader > StatechartGroupXmlReaderPtr
Definition: GroupXmlReader.h:89
armarx::AzureKinectGroup::AzureKinectGroupRemoteStateOfferer::AzureKinectGroupRemoteStateOfferer
AzureKinectGroupRemoteStateOfferer(StatechartGroupXmlReaderPtr reader)
Definition: AzureKinectGroupRemoteStateOfferer.cpp:30
armarx::AzureKinectGroup::AzureKinectGroupRemoteStateOfferer
Definition: AzureKinectGroupRemoteStateOfferer.h:31
armarx::AzureKinectGroup::AzureKinectGroupRemoteStateOfferer::GetName
static std::string GetName()
Definition: AzureKinectGroupRemoteStateOfferer.cpp:41
armarx::XMLRemoteStateOfferer
Definition: XMLRemoteStateOfferer.h:51
armarx::AzureKinectGroup::AzureKinectGroupRemoteStateOfferer::Registry
static SubClassRegistry Registry
Definition: AzureKinectGroupRemoteStateOfferer.h:46
armarx::AzureKinectGroup::AzureKinectGroupRemoteStateOfferer::onExitXMLRemoteStateOfferer
void onExitXMLRemoteStateOfferer() override
Definition: AzureKinectGroupRemoteStateOfferer.cpp:38
armarx::AzureKinectGroup
Definition: AzureKinectGroupRemoteStateOfferer.cpp:25
armarx::AzureKinectGroup::AzureKinectGroupRemoteStateOfferer::onConnectXMLRemoteStateOfferer
void onConnectXMLRemoteStateOfferer() override
Definition: AzureKinectGroupRemoteStateOfferer.cpp:36
XMLRemoteStateOfferer.h