Main Page
Namespaces
Classes
Files
File List
File Members
include
ur_client_library
ur
version_information.h
Go to the documentation of this file.
1
// this is for emacs file handling -*- mode: c++; indent-tabs-mode: nil -*-
2
3
// -- BEGIN LICENSE BLOCK ----------------------------------------------
4
// Copyright 2019 FZI Forschungszentrum Informatik
5
//
6
// Licensed under the Apache License, Version 2.0 (the "License");
7
// you may not use this file except in compliance with the License.
8
// You may obtain a copy of the License at
9
//
10
// http://www.apache.org/licenses/LICENSE-2.0
11
//
12
// Unless required by applicable law or agreed to in writing, software
13
// distributed under the License is distributed on an "AS IS" BASIS,
14
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
// See the License for the specific language governing permissions and
16
// limitations under the License.
17
// -- END LICENSE BLOCK ------------------------------------------------
18
19
//----------------------------------------------------------------------
26
//----------------------------------------------------------------------
27
28
#ifndef UR_CLIENT_LIBRARY_UR_VERSION_INFORMATION_H_INCLUDED
29
#define UR_CLIENT_LIBRARY_UR_VERSION_INFORMATION_H_INCLUDED
30
31
#include <
ur_client_library/types.h
>
32
33
namespace
urcl
34
{
38
struct
VersionInformation
39
{
40
VersionInformation
()
41
{
42
major
= 0;
43
minor
= 0;
44
bugfix
= 0;
45
build
= 0;
46
}
47
48
friend
std::ostream&
operator<<
(std::ostream& os,
const
VersionInformation
& version_info)
49
{
50
os << version_info.
major
<<
"."
<< version_info.
minor
<<
"."
<< version_info.
bugfix
<<
"-"
<< version_info.
build
;
51
return
os;
52
}
53
uint32_t
major
;
54
uint32_t
minor
;
55
uint32_t
bugfix
;
56
uint32_t
build
;
57
};
58
}
// namespace urcl
59
60
#endif // ifndef UR_CLIENT_LIBRARY_UR_VERSION_INFORMATION_H_INCLUDED
urcl::VersionInformation::VersionInformation
VersionInformation()
Definition:
version_information.h:40
types.h
urcl::VersionInformation::minor
uint32_t minor
Minor version number.
Definition:
version_information.h:54
urcl::VersionInformation::operator<<
friend std::ostream & operator<<(std::ostream &os, const VersionInformation &version_info)
Definition:
version_information.h:48
urcl::VersionInformation::build
uint32_t build
Build number.
Definition:
version_information.h:56
urcl::VersionInformation::major
uint32_t major
Major version number.
Definition:
version_information.h:53
urcl::VersionInformation::bugfix
uint32_t bugfix
Bugfix version number.
Definition:
version_information.h:55
urcl::VersionInformation
Struct containing a robot's version information.
Definition:
version_information.h:38
urcl
Definition:
bin_parser.h:36
ur_client_library
Author(s): Thomas Timm Andersen, Simon Rasmussen, Felix Exner, Lea Steffen, Tristan Schnell
autogenerated on Sun May 9 2021 02:16:26