ExternalApplicationManagerDependency.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
25
26
#include <
ArmarXCore/core/ManagedIceObject.h
>
27
28
29
namespace
armarx
30
{
31
using
ExternalApplicationManagerPtr
=
IceInternal::Handle<class ExternalApplicationManager>
;
32
33
struct
ExternalApplicationManagerDependency
:
virtual
public
armarx::ManagedIceObject
34
{
35
ExternalApplicationManagerPtr
parent
;
36
void
setParent
(
ExternalApplicationManagerPtr
parent
)
37
{
38
this->parent =
parent
;
39
}
40
41
42
/// @see armarx::ManagedIceObject::getDefaultName()
43
std::string
getDefaultName
()
const override
;
44
45
void
onInitComponent
()
override
;
46
void
onConnectComponent
()
override
;
47
48
void
onDisconnectComponent
()
override
;
49
void
onExitComponent
()
override
;
50
};
51
52
using
ExternalApplicationManagerDependencyPtr
=
IceInternal::Handle<ExternalApplicationManagerDependency>
;
53
54
}
55
armarx::ExternalApplicationManagerDependency::parent
ExternalApplicationManagerPtr parent
Definition:
ExternalApplicationManagerDependency.h:35
armarx::ExternalApplicationManagerDependency::onExitComponent
void onExitComponent() override
Hook for subclass.
Definition:
ExternalApplicationManagerDependency.cpp:47
armarx::ExternalApplicationManagerDependency::onConnectComponent
void onConnectComponent() override
Pure virtual hook for the subclass.
Definition:
ExternalApplicationManagerDependency.cpp:39
armarx::ExternalApplicationManagerDependency::onDisconnectComponent
void onDisconnectComponent() override
Hook for subclass.
Definition:
ExternalApplicationManagerDependency.cpp:43
armarx::ExternalApplicationManagerDependency::getDefaultName
std::string getDefaultName() const override
Definition:
ExternalApplicationManagerDependency.cpp:29
IceInternal::Handle< class ExternalApplicationManager >
armarx::ExternalApplicationManagerDependency::setParent
void setParent(ExternalApplicationManagerPtr parent)
Definition:
ExternalApplicationManagerDependency.h:36
ManagedIceObject.h
armarx::ExternalApplicationManagerDependency
Definition:
ExternalApplicationManagerDependency.h:33
armarx::ManagedIceObject
The ManagedIceObject is the base class for all ArmarX objects.
Definition:
ManagedIceObject.h:163
armarx::ExternalApplicationManagerDependency::onInitComponent
void onInitComponent() override
Pure virtual hook for the subclass.
Definition:
ExternalApplicationManagerDependency.cpp:34
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition:
ArmarXTimeserver.cpp:28
ArmarXCore
components
ExternalApplicationManager
ExternalApplicationManagerDependency.h
Generated on Sat Oct 12 2024 09:14:01 for armarx_documentation by
1.8.17