Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
server
PathPlanner
server/PathPlanner/PathPlanner.h
Go to the documentation of this file.
1
// -*- C++ -*-
7
#ifndef PATH_H
8
#define PATH_H
9
10
#include <rtm/idl/BasicDataTypeSkel.h>
11
#include <
rtm/Manager.h
>
12
#include <rtm/DataFlowComponentBase.h>
13
#include <
rtm/CorbaPort.h
>
14
#include <
rtm/DataInPort.h
>
15
#include <
rtm/DataOutPort.h
>
16
17
// Service implementation headers
18
// <rtc-template block="service_impl_h">
19
#include "
PathPlannerSVC_impl.h
"
20
21
// </rtc-template>
22
23
// Service Consumer stub headers
24
// <rtc-template block="consumer_stub_h">
25
26
// </rtc-template>
27
28
using namespace
RTC
;
29
30
class
Path
:
public
RTC::DataFlowComponentBase
31
{
32
public
:
33
Path(
RTC::Manager
*
manager
);
34
~Path();
35
36
// The initialize action (on CREATED->ALIVE transition)
37
// formaer rtc_init_entry()
38
virtual
RTC::ReturnCode_t onInitialize();
39
40
// The finalize action (on ALIVE->END transition)
41
// formaer rtc_exiting_entry()
42
// virtual RTC::ReturnCode_t onFinalize();
43
44
// The startup action when ExecutionContext startup
45
// former rtc_starting_entry()
46
// virtual RTC::ReturnCode_t onStartup(RTC::UniqueId ec_id);
47
48
// The shutdown action when ExecutionContext stop
49
// former rtc_stopping_entry()
50
// virtual RTC::ReturnCode_t onShutdown(RTC::UniqueId ec_id);
51
52
// The activated action (Active state entry action)
53
// former rtc_active_entry()
54
// virtual RTC::ReturnCode_t onActivated(RTC::UniqueId ec_id);
55
56
// The deactivated action (Active state exit action)
57
// former rtc_active_exit()
58
// virtual RTC::ReturnCode_t onDeactivated(RTC::UniqueId ec_id);
59
60
// The execution action that is invoked periodically
61
// former rtc_active_do()
62
// virtual RTC::ReturnCode_t onExecute(RTC::UniqueId ec_id);
63
64
// The aborting action when main logic error occurred.
65
// former rtc_aborting_entry()
66
// virtual RTC::ReturnCode_t onAborting(RTC::UniqueId ec_id);
67
68
// The error action in ERROR state
69
// former rtc_error_do()
70
// virtual RTC::ReturnCode_t onError(RTC::UniqueId ec_id);
71
72
// The reset action that is invoked resetting
73
// This is same but different the former rtc_init_entry()
74
// virtual RTC::ReturnCode_t onReset(RTC::UniqueId ec_id);
75
76
// The state update action that is invoked after onExecute() action
77
// no corresponding operation exists in OpenRTm-aist-0.2.0
78
// virtual RTC::ReturnCode_t onStateUpdate(RTC::UniqueId ec_id);
79
80
// The action that is invoked when execution context's rate is changed
81
// no corresponding operation exists in OpenRTm-aist-0.2.0
82
// virtual RTC::ReturnCode_t onRateChanged(RTC::UniqueId ec_id);
83
84
85
protected
:
86
// Configuration variable declaration
87
// <rtc-template block="config_declare">
88
std::string
m_NameServer
;
89
90
// </rtc-template>
91
92
// DataInPort declaration
93
// <rtc-template block="inport_declare">
94
95
// </rtc-template>
96
97
// DataOutPort declaration
98
// <rtc-template block="outport_declare">
99
100
// </rtc-template>
101
102
// CORBA Port declaration
103
// <rtc-template block="corbaport_declare">
104
RTC::CorbaPort
m_PathPort
;
105
106
// </rtc-template>
107
108
// Service declaration
109
// <rtc-template block="service_declare">
110
OpenHRP_PathPlannerSVC_impl
m_Path
;
111
112
// </rtc-template>
113
114
// Consumer declaration
115
// <rtc-template block="consumer_declare">
116
117
// </rtc-template>
118
119
private
:
120
121
};
122
123
124
extern
"C"
125
{
126
void
PathInit
(
RTC::Manager
*
manager
);
127
};
128
129
#endif // PATH_H
130
RTC
RTC::Manager
RTC::DataFlowComponentBase
Path::m_PathPort
RTC::CorbaPort m_PathPort
Definition:
server/PathPlanner/PathPlanner.h:104
manager
manager
DataOutPort.h
OpenHRP_PathPlannerSVC_impl
Definition:
PathPlannerSVC_impl.h:18
CorbaPort.h
PathInit
void PathInit(RTC::Manager *manager)
Definition:
server/PathPlanner/PathPlanner.cpp:143
Manager.h
RTC::CorbaPort
DataInPort.h
Path::Path
Path(RTC::Manager *manager)
Definition:
server/PathPlanner/PathPlanner.cpp:30
Path::m_Path
OpenHRP_PathPlannerSVC_impl m_Path
Definition:
server/PathPlanner/PathPlanner.h:110
Path::m_NameServer
std::string m_NameServer
Definition:
server/PathPlanner/PathPlanner.h:88
PathPlannerSVC_impl.h
Service implementation header of PathPlanner.idl.
openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Sat Apr 13 2019 02:14:24