1#ifndef TRANSMISSION_HPP_SDC4RMQE
2#define TRANSMISSION_HPP_SDC4RMQE
4#include <vanetza/access/data_rates.hpp>
5#include <vanetza/common/clock.hpp>
6#include <vanetza/dcc/profile.hpp>
17 virtual Profile profile()
const = 0;
19 virtual std::size_t body_length()
const = 0;
20 virtual Clock::duration channel_occupancy()
const;
26 constexpr TransmissionLite(Profile dp, std::size_t len) : m_profile(dp), m_length(len) {}
29 std::size_t m_length = 0;
32 Profile profile()
const override {
return m_profile; }
34 std::size_t body_length()
const override {
return m_length; }