include
pilz_industrial_motion_testutils
lin.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 LIN_H
18
#define LIN_H
19
20
#include <stdexcept>
21
22
#include "
basecmd.h
"
23
24
namespace
pilz_industrial_motion_testutils
25
{
29
template
<
class
StartType,
class
GoalType>
30
class
Lin
:
public
BaseCmd
<StartType, GoalType>
31
{
32
public
:
33
Lin
() :
BaseCmd
<StartType, GoalType>()
34
{
35
}
36
37
private
:
38
virtual
std::string
getPlannerId
()
const override
;
39
};
40
41
// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
42
template
<
class
StartType,
class
GoalType>
43
inline
std::string
Lin<StartType, GoalType>::getPlannerId
()
const
44
{
45
return
"LIN"
;
46
}
47
48
}
// namespace pilz_industrial_motion_testutils
49
50
#endif // LIN_H
pilz_industrial_motion_testutils
Definition:
basecmd.h:24
pilz_industrial_motion_testutils::Lin
Data class storing all information regarding a linear command.
Definition:
lin.h:30
pilz_industrial_motion_testutils::BaseCmd
Definition:
basecmd.h:27
basecmd.h
pilz_industrial_motion_testutils::Lin::Lin
Lin()
Definition:
lin.h:33
pilz_industrial_motion_testutils::Lin::getPlannerId
virtual std::string getPlannerId() const override
Definition:
lin.h:43
pilz_industrial_motion_testutils
Author(s):
autogenerated on Mon Feb 28 2022 23:13:36