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 
32 
33 namespace urcl
34 {
39 {
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
uint32_t minor
Minor version number.
friend std::ostream & operator<<(std::ostream &os, const VersionInformation &version_info)
uint32_t build
Build number.
uint32_t major
Major version number.
uint32_t bugfix
Bugfix version number.
Struct containing a robot&#39;s version information.


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