Apollo
6.0
Open source self driving car software
|
#include <audio_component.h>
Public Member Functions | |
~AudioComponent () | |
std::string | Name () const |
bool | Init () override |
bool | Proc (const std::shared_ptr< apollo::drivers::microphone::config::AudioData > &) override |
![]() | |
Component () | |
~Component () override | |
bool | Initialize (const ComponentConfig &config) override |
init the component by protobuf object. More... | |
bool | Process (const std::shared_ptr< apollo::drivers::microphone::config::AudioData > &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::audio::AudioComponent::~AudioComponent | ( | ) |
|
overridevirtual |
Implements apollo::cyber::ComponentBase.
std::string apollo::audio::AudioComponent::Name | ( | ) | const |
|
override |