ExternalApplicationManagerStarter.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 ArmarXCore::ArmarXObjects::ExternalApplicationManager
17  * @author Stefan Reither ( stef dot reither at web dot de )
18  * @date 2016
19  * @copyright http://www.gnu.org/licenses/gpl-2.0.txt
20  * GNU General Public License
21  */
22 
23 #pragma once
24 
26 
27 
28 namespace armarx
29 {
31 
33  {
34  Ice::StringSeq dependencies;
35  void setDependencies(const Ice::StringSeq& deps)
36  {
37  this->dependencies = deps;
38  }
39 
42  {
43  this->parent = parent;
44  }
45 
46 
47  /// @see armarx::ManagedIceObject::getDefaultName()
48  std::string getDefaultName() const override;
49 
50  void onInitComponent() override;
51  void onConnectComponent() override;
52 
53  void onDisconnectComponent() override;
54  void onExitComponent() override;
55  };
56 
58 
59 }
60 
armarx::ExternalApplicationManagerStarter::onInitComponent
void onInitComponent() override
Pure virtual hook for the subclass.
Definition: ExternalApplicationManagerStarter.cpp:37
armarx::ExternalApplicationManagerStarter::onExitComponent
void onExitComponent() override
Hook for subclass.
Definition: ExternalApplicationManagerStarter.cpp:55
armarx::ExternalApplicationManagerStarter
Definition: ExternalApplicationManagerStarter.h:32
armarx::ExternalApplicationManagerStarter::setParent
void setParent(ExternalApplicationManagerPtr parent)
Definition: ExternalApplicationManagerStarter.h:41
IceInternal::Handle< class ExternalApplicationManager >
ManagedIceObject.h
armarx::ExternalApplicationManagerPtr
IceInternal::Handle< class ExternalApplicationManager > ExternalApplicationManagerPtr
Definition: ExternalApplicationManagerDependency.h:31
armarx::ExternalApplicationManagerStarter::onConnectComponent
void onConnectComponent() override
Pure virtual hook for the subclass.
Definition: ExternalApplicationManagerStarter.cpp:45
armarx::ManagedIceObject
The ManagedIceObject is the base class for all ArmarX objects.
Definition: ManagedIceObject.h:163
armarx::ExternalApplicationManagerStarter::onDisconnectComponent
void onDisconnectComponent() override
Hook for subclass.
Definition: ExternalApplicationManagerStarter.cpp:50
armarx::ExternalApplicationManagerStarter::setDependencies
void setDependencies(const Ice::StringSeq &deps)
Definition: ExternalApplicationManagerStarter.h:35
armarx::ExternalApplicationManagerStarter::parent
ExternalApplicationManagerPtr parent
Definition: ExternalApplicationManagerStarter.h:40
armarx::ExternalApplicationManagerStarter::getDefaultName
std::string getDefaultName() const override
Definition: ExternalApplicationManagerStarter.cpp:32
armarx::ExternalApplicationManagerStarter::dependencies
Ice::StringSeq dependencies
Definition: ExternalApplicationManagerStarter.h:34
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition: ArmarXTimeserver.cpp:28