Main Page
Namespaces
Classes
Files
File List
include
fanuc_post_processor
axis.hpp
Go to the documentation of this file.
1
#ifndef FANUC_POST_PROCESSOR_AXIS_HPP
2
#define FANUC_POST_PROCESSOR_AXIS_HPP
3
4
#include <string>
5
6
namespace
fanuc_post_processor
7
{
8
9
class
FanucAxis
10
{
11
public
:
12
enum class
AxisType
13
{
14
LINEAR
,
15
ROTATIVE
16
};
17
18
FanucAxis
(
const
AxisType
type,
19
const
std::string name,
20
const
double
value = 0) :
21
type_
(type),
22
name_
(name),
23
value_
(value)
24
{
25
}
26
27
FanucAxis
(
const
FanucAxis
& other) :
28
type_
(other.
type_
),
29
name_
(other.
name_
),
30
value_
(other.
value_
)
31
{
32
}
33
34
FanucAxis
&
operator=
(
const
FanucAxis
& other)
35
{
36
value_
= other.
value_
;
37
return
*
this
;
38
}
39
40
virtual
~FanucAxis
()
41
{
42
}
43
44
const
AxisType
type_
;
45
const
std::string
name_
;
46
double
value_
;
47
};
48
49
}
50
#endif
fanuc_post_processor
Definition:
axis.hpp:6
fanuc_post_processor::FanucAxis::value_
double value_
Definition:
axis.hpp:46
fanuc_post_processor::FanucAxis::AxisType
AxisType
Definition:
axis.hpp:12
fanuc_post_processor::FanucAxis::FanucAxis
FanucAxis(const AxisType type, const std::string name, const double value=0)
Definition:
axis.hpp:18
fanuc_post_processor::FanucAxis::AxisType::LINEAR
fanuc_post_processor::FanucAxis::name_
const std::string name_
Definition:
axis.hpp:45
fanuc_post_processor::FanucAxis::~FanucAxis
virtual ~FanucAxis()
Definition:
axis.hpp:40
fanuc_post_processor::FanucAxis
Definition:
axis.hpp:9
fanuc_post_processor::FanucAxis::AxisType::ROTATIVE
fanuc_post_processor::FanucAxis::operator=
FanucAxis & operator=(const FanucAxis &other)
Definition:
axis.hpp:34
fanuc_post_processor::FanucAxis::type_
const AxisType type_
Definition:
axis.hpp:44
fanuc_post_processor::FanucAxis::FanucAxis
FanucAxis(const FanucAxis &other)
Definition:
axis.hpp:27
fanuc_post_processor
Author(s): Victor Lamoine - Institut Maupertuis
autogenerated on Mon Jun 10 2019 13:16:55