Main Page
Namespaces
Classes
Files
File List
include
pilz_industrial_motion_testutils
ptp.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2019 Pilz GmbH & Co. KG
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at
7
*
8
* http://www.apache.org/licenses/LICENSE-2.0
9
*
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
15
*/
16
17
#ifndef PTP_H
18
#define PTP_H
19
20
#include <stdexcept>
21
22
#include "
basecmd.h
"
23
24
namespace
pilz_industrial_motion_testutils
25
{
26
30
template
<
class
StartType,
class
GoalType>
31
class
Ptp
:
public
BaseCmd
<StartType, GoalType>
32
{
33
public
:
34
Ptp
()
35
:
BaseCmd
<StartType, GoalType>()
36
{}
37
38
private
:
39
virtual
std::string
getPlannerId
()
const override
;
40
};
41
42
// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
43
template
<
class
StartType,
class
GoalType>
44
inline
std::string
Ptp<StartType, GoalType>::getPlannerId
()
const
45
{
46
return
"PTP"
;
47
}
48
49
}
50
51
#endif // PTP_H
pilz_industrial_motion_testutils
Definition:
basecmd.h:24
pilz_industrial_motion_testutils::Ptp
Data class storing all information regarding a Ptp command.
Definition:
ptp.h:31
pilz_industrial_motion_testutils::Ptp::Ptp
Ptp()
Definition:
ptp.h:34
pilz_industrial_motion_testutils::BaseCmd
Definition:
basecmd.h:28
pilz_industrial_motion_testutils::Ptp::getPlannerId
virtual std::string getPlannerId() const override
Definition:
ptp.h:44
basecmd.h
pilz_industrial_motion_testutils
Author(s):
autogenerated on Mon Apr 6 2020 03:17:28