Main Page
Namespaces
Classes
Files
File List
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
{
26
30
template
<
class
StartType,
class
GoalType>
31
class
Lin
:
public
BaseCmd
<StartType, GoalType>
32
{
33
public
:
34
Lin
()
35
:
BaseCmd
<StartType, GoalType>()
36
{}
37
38
private
:
39
virtual
std::string
getPlannerId
()
const override
;
40
41
};
42
43
// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
44
template
<
class
StartType,
class
GoalType>
45
inline
std::string
Lin<StartType, GoalType>::getPlannerId
()
const
46
{
47
return
"LIN"
;
48
}
49
50
}
51
52
#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:31
pilz_industrial_motion_testutils::BaseCmd
Definition:
basecmd.h:28
basecmd.h
pilz_industrial_motion_testutils::Lin::Lin
Lin()
Definition:
lin.h:34
pilz_industrial_motion_testutils::Lin::getPlannerId
virtual std::string getPlannerId() const override
Definition:
lin.h:45
pilz_industrial_motion_testutils
Author(s):
autogenerated on Mon Apr 6 2020 03:17:28