version.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 namespace hebi {
4 
9 class VersionNumber {
10 public:
11  VersionNumber(int major, int minor, int revision) : major_(major), minor_(minor), revision_(revision) {}
12  int getMajor() { return major_; }
13  int getMinor() { return minor_; }
14  int getRevision() { return revision_; }
15 
16 private:
17  int major_;
18  int minor_;
19  int revision_;
20 };
21 
27 
32 
33 } // namespace hebi
VersionNumber(int major, int minor, int revision)
Definition: version.hpp:11
Definition: arm.cpp:5
VersionNumber getCVersion()
Returns the version numbers for the HEBI C API that is wrapped by this HEBI C++ API.
Definition: version.cpp:23
VersionNumber getCppVersion()
Returns the version numbers for the HEBI C++ API.
Definition: version.cpp:29
A simple structure to hold a standard semantic versioning version number.
Definition: version.hpp:9


hebi_cpp_api_ros
Author(s): Chris Bollinger , Matthew Tesch
autogenerated on Thu May 28 2020 03:14:45