Goby3  3.1.5a
2024.05.23
can.h File Reference
#include <errno.h>
#include <linux/can.h>
#include <linux/can/raw.h>
#include <memory>
#include <net/if.h>
#include <stdint.h>
#include <string.h>
#include <string>
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <tuple>
#include <vector>
#include <boost/asio/buffer.hpp>
#include <boost/asio/posix/stream_descriptor.hpp>
#include <boost/asio/read.hpp>
#include <boost/bind/bind.hpp>
#include <boost/core/ref.hpp>
#include "goby/exception.h"
#include "goby/middleware/io/detail/io_interface.h"
#include "goby/middleware/protobuf/can_config.pb.h"
#include "goby/middleware/protobuf/io.pb.h"

Go to the source code of this file.

Classes

class  goby::middleware::io::CanThread< line_in_group, line_out_group, publish_layer, subscribe_layer, ThreadType, use_indexed_groups >
 

Namespaces

 goby
 The global namespace for the Goby project.
 
 goby::middleware
 Objects implementing the Goby nested middleware.
 
 goby::middleware::io
 
 goby::middleware::io::can_id
 

Functions

std::uint32_t goby::middleware::io::make_extended_format_can_id (std::uint32_t pgn, std::uint8_t priority, std::uint8_t source=0)
 
std::tuple< std::uint32_t, std::uint8_t, std::uint8_t > goby::middleware::io::parse_extended_format_can_id (std::uint32_t can_id)
 

Variables

constexpr int goby::middleware::io::can_id::pgn_index {0}
 
constexpr int goby::middleware::io::can_id::priority_index {1}
 
constexpr int goby::middleware::io::can_id::source_index {2}