Goby3  3.1.5a
2024.05.23
groups.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_MIDDLEWARE_TRANSPORT_INTERVEHICLE_GROUPS_H
26 #define GOBY_MIDDLEWARE_TRANSPORT_INTERVEHICLE_GROUPS_H
27 
28 #include "goby/middleware/group.h"
29 #include "goby/version.h"
30 
31 namespace goby
32 {
33 namespace middleware
34 {
35 namespace intervehicle
36 {
37 namespace groups
38 {
40  "goby::middleware::intervehicle::subscription_forward",
41  GOBY_INTERVEHICLE_API_VERSION}; // increment the subscription forward numeric group whenever we change the Subscription DCCL message
42 
43 constexpr Group modem_data_out{"goby::middleware::intervehicle::modem_data_out"};
44 constexpr Group modem_data_in{"goby::middleware::intervehicle::modem_data_in"};
45 constexpr Group modem_ack_in{"goby::middleware::intervehicle::modem_ack_in"};
46 constexpr Group modem_expire_in{"goby::middleware::intervehicle::modem_expire_in"};
47 
49  "goby::middleware::intervehicle::modem_subscription_forward_tx"};
51  "goby::middleware::intervehicle::modem_subscription_forward_rx"};
52 constexpr Group modem_driver_ready{"goby::middleware::intervehicle::modem_driver_ready"};
53 
54 constexpr Group metadata_request{"goby::middleware::intervehicle::metadata_request"};
55 
56 constexpr Group subscription_report{"goby::middleware::intervehicle::subscription_report"};
57 
58 // direct connection to ModemDriverBase signals
59 constexpr Group modem_receive{"goby::middleware::intervehicle::modem_receive"};
60 constexpr Group modem_transmit_result{"goby::middleware::intervehicle::modem_transmit_result"};
61 constexpr Group modem_raw_incoming{"goby::middleware::intervehicle::modem_raw_incoming"};
62 constexpr Group modem_raw_outgoing{"goby::middleware::intervehicle::modem_raw_outgoing"};
63 
64 // from calling ModemDriverBase::report()
65 constexpr Group modem_report{"goby::middleware::intervehicle::modem_report"};
66 
67 // direct connection to MACManager signals
69  "goby::middleware::intervehicle::mac_initiate_transmission"};
70 constexpr Group mac_slot_start{"goby::middleware::intervehicle::mac_slot_start"};
71 
72 } // namespace groups
73 } // namespace intervehicle
74 } // namespace middleware
75 } // namespace goby
76 
77 #endif
goby::middleware::intervehicle::groups::modem_data_out
constexpr Group modem_data_out
Definition: groups.h:43
goby::middleware::intervehicle::groups::modem_subscription_forward_rx
constexpr Group modem_subscription_forward_rx
Definition: groups.h:50
goby
The global namespace for the Goby project.
Definition: acomms_constants.h:33
goby::middleware::intervehicle::groups::modem_receive
constexpr Group modem_receive
Definition: groups.h:59
group.h
goby::middleware::intervehicle::groups::mac_slot_start
constexpr Group mac_slot_start
Definition: groups.h:70
goby::middleware::intervehicle::groups::modem_expire_in
constexpr Group modem_expire_in
Definition: groups.h:46
version.h
goby::middleware::intervehicle::groups::modem_report
constexpr Group modem_report
Definition: groups.h:65
goby::middleware::intervehicle::groups::subscription_forward
constexpr Group subscription_forward
Definition: groups.h:39
goby::middleware::intervehicle::groups::modem_raw_outgoing
constexpr Group modem_raw_outgoing
Definition: groups.h:62
goby::middleware::intervehicle::groups::modem_subscription_forward_tx
constexpr Group modem_subscription_forward_tx
Definition: groups.h:48
goby::middleware::intervehicle::groups::modem_transmit_result
constexpr Group modem_transmit_result
Definition: groups.h:60
goby::middleware::intervehicle::groups::metadata_request
constexpr Group metadata_request
Definition: groups.h:54
goby::middleware::Group
Class for grouping publications in the Goby middleware. Analogous to "topics" in ROS,...
Definition: group.h:59
goby::middleware::intervehicle::groups::mac_initiate_transmission
constexpr Group mac_initiate_transmission
Definition: groups.h:68
GOBY_INTERVEHICLE_API_VERSION
#define GOBY_INTERVEHICLE_API_VERSION
Definition: version.h:35
goby::middleware::intervehicle::groups::subscription_report
constexpr Group subscription_report
Definition: groups.h:56
goby::middleware::intervehicle::groups::modem_data_in
constexpr Group modem_data_in
Definition: groups.h:44
goby::middleware::intervehicle::groups::modem_driver_ready
constexpr Group modem_driver_ready
Definition: groups.h:52
goby::middleware::intervehicle::groups::modem_raw_incoming
constexpr Group modem_raw_incoming
Definition: groups.h:61
goby::middleware::intervehicle::groups::modem_ack_in
constexpr Group modem_ack_in
Definition: groups.h:45