18 #include <netinet/in.h> 19 #include <sys/socket.h> 27 #include "modules/bridge/proto/udp_bridge_remote_info.pb.h" 28 #include "modules/canbus/proto/chassis.pb.h" 49 std::string
Name()
const {
return FLAGS_bridge_module_name; }
59 bool RemoveInvalidBuf(uint32_t msg_id,
const std::string &msg_name);
63 std::shared_ptr<UDPListener<UDPBridgeMultiReceiverComponent>> listener_ =
64 std::make_shared<UDPListener<UDPBridgeMultiReceiverComponent>>();
65 unsigned int bind_port_ = 0;
66 bool enable_timeout_ =
true;
68 std::vector<std::shared_ptr<ProtoDiserializedBufBase>> proto_list_;
bool IsTimeout(double time_stamp)
Definition: udp_bridge_multi_receiver_component.h:43
PlanningContext is the runtime context in planning. It is persistent across multiple frames...
Definition: atomic_hash_map.h:25
~UDPBridgeMultiReceiverComponent()
std::shared_ptr< ProtoDiserializedBufBase > CreateBridgeProtoBuf(const BridgeHeader &header)
bool InitSession(uint16_t port)
The class of MonitorLogBuffer.
bool IsProtoExist(const BridgeHeader &header)
This class help collect MonitorMessage pb to monitor topic. The messages can be published automatical...
Definition: monitor_log_buffer.h:60
The Component can process up to four channels of messages. The message type is specified when the com...
Definition: component.h:58
UDPBridgeMultiReceiverComponent()
std::string Name() const
Definition: udp_bridge_multi_receiver_component.h:49