#ifndef DCC_PASSTHROUGH_HPP_GSDFESAE #define DCC_PASSTHROUGH_HPP_GSDFESAE #include "autoware_v2x/time_trigger.hpp" #include #include #include #include class DccPassthrough : public vanetza::dcc::RequestInterface { public: DccPassthrough(vanetza::access::Interface&, TimeTrigger& trigger); void request(const vanetza::dcc::DataRequest& request, std::unique_ptr packet) override; void allow_packet_flow(bool allow); bool allow_packet_flow(); private: vanetza::access::Interface& access_; TimeTrigger& trigger_; bool allow_packet_flow_ = true; }; #endif /* DCC_PASSTHROUGH_HPP_GSDFESAE */