Goby3  3.1.4
2024.02.22
version.h
Go to the documentation of this file.
1 // Copyright 2009-2023:
2 // GobySoft, LLC (2013-)
3 // Massachusetts Institute of Technology (2007-2014)
4 // Community contributors (see AUTHORS file)
5 // File authors:
6 // Toby Schneider <toby@gobysoft.org>
7 //
8 //
9 // This file is part of the Goby Underwater Autonomy Project Libraries
10 // ("The Goby Libraries").
11 //
12 // The Goby Libraries are free software: you can redistribute them and/or modify
13 // them under the terms of the GNU Lesser General Public License as published by
14 // the Free Software Foundation, either version 2.1 of the License, or
15 // (at your option) any later version.
16 //
17 // The Goby Libraries are distributed in the hope that they will be useful,
18 // but WITHOUT ANY WARRANTY; without even the implied warranty of
19 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 // GNU Lesser General Public License for more details.
21 //
22 // You should have received a copy of the GNU Lesser General Public License
23 // along with Goby. If not, see <http://www.gnu.org/licenses/>.
24 
25 #ifndef GOBY_VERSION_H
26 #define GOBY_VERSION_H
27 
28 #include <sstream>
29 #include <string>
30 
31 // clang-format off
32 #define GOBY_VERSION_MAJOR 3
33 #define GOBY_VERSION_MINOR 1
34 #define GOBY_VERSION_PATCH 4
35 #define GOBY_INTERVEHICLE_API_VERSION 1
36 // clang-format on
37 
38 namespace goby
39 {
40 const std::string VERSION_STRING = "3.1.4";
41 const std::string VERSION_DATE = "2024.02.22";
42 
43 inline std::string version_message()
44 {
45  std::stringstream ss;
46  ss << "This is Version " << goby::VERSION_STRING
47  << " of the Goby Underwater Autonomy Project released on " << goby::VERSION_DATE
48  << ".\n See https://github.com/GobySoft/goby3 to search for updates.";
49  return ss.str();
50 }
51 } // namespace goby
52 
53 #endif
goby
The global namespace for the Goby project.
Definition: acomms_constants.h:33
goby::version_message
std::string version_message()
Definition: version.h:43
goby::VERSION_STRING
const std::string VERSION_STRING
Definition: version.h:40
goby::VERSION_DATE
const std::string VERSION_DATE
Definition: version.h:41