Apollo
6.0
Open source self driving car software
|
#include <udp_bridge_multi_receiver_component.h>
Public Member Functions | |
UDPBridgeMultiReceiverComponent () | |
~UDPBridgeMultiReceiverComponent () | |
bool | Init () override |
std::string | Name () const |
std::shared_ptr< ProtoDiserializedBufBase > | CreateBridgeProtoBuf (const BridgeHeader &header) |
bool | IsProtoExist (const BridgeHeader &header) |
bool | IsTimeout (double time_stamp) |
void | MsgDispatcher () |
bool | InitSession (uint16_t port) |
bool | MsgHandle (int fd) |
![]() | |
Component () | |
~Component () override | |
bool | Initialize (const ComponentConfig &config) override |
init the component by protobuf object. More... | |
bool | Process (const std::shared_ptr< NullType > &msg0, const std::shared_ptr< NullType > &msg1, const std::shared_ptr< NullType > &msg2, const std::shared_ptr< NullType > &msg3) |
![]() | |
virtual | ~ComponentBase () |
virtual bool | Initialize (const TimerComponentConfig &config) |
virtual void | Shutdown () |
template<typename T > | |
bool | GetProtoConfig (T *config) const |
Additional Inherited Members | |
![]() | |
template<typename M > | |
using | Reader = cyber::Reader< M > |
![]() | |
virtual void | Clear () |
const std::string & | ConfigFilePath () const |
void | LoadConfigFiles (const ComponentConfig &config) |
void | LoadConfigFiles (const TimerComponentConfig &config) |
![]() | |
std::atomic< bool > | is_shutdown_ = {false} |
std::shared_ptr< Node > | node_ = nullptr |
std::string | config_file_path_ = "" |
std::vector< std::shared_ptr< ReaderBase > > | readers_ |
apollo::bridge::UDPBridgeMultiReceiverComponent::UDPBridgeMultiReceiverComponent | ( | ) |
apollo::bridge::UDPBridgeMultiReceiverComponent::~UDPBridgeMultiReceiverComponent | ( | ) |
std::shared_ptr<ProtoDiserializedBufBase> apollo::bridge::UDPBridgeMultiReceiverComponent::CreateBridgeProtoBuf | ( | const BridgeHeader & | header | ) |
|
overridevirtual |
Implements apollo::cyber::ComponentBase.
bool apollo::bridge::UDPBridgeMultiReceiverComponent::InitSession | ( | uint16_t | port | ) |
bool apollo::bridge::UDPBridgeMultiReceiverComponent::IsProtoExist | ( | const BridgeHeader & | header | ) |
bool apollo::bridge::UDPBridgeMultiReceiverComponent::IsTimeout | ( | double | time_stamp | ) |
void apollo::bridge::UDPBridgeMultiReceiverComponent::MsgDispatcher | ( | ) |
bool apollo::bridge::UDPBridgeMultiReceiverComponent::MsgHandle | ( | int | fd | ) |
|
inline |