Apollo  6.0
Open source self driving car software
Public Member Functions | List of all members
apollo::audio::AudioComponent Class Reference

#include <audio_component.h>

Inheritance diagram for apollo::audio::AudioComponent:
Inheritance graph
Collaboration diagram for apollo::audio::AudioComponent:
Collaboration graph

Public Member Functions

 ~AudioComponent ()
 
std::string Name () const
 
bool Init () override
 
bool Proc (const std::shared_ptr< apollo::drivers::microphone::config::AudioData > &) override
 
- Public Member Functions inherited from apollo::cyber::Component< apollo::drivers::microphone::config::AudioData >
 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)
 
- Public Member Functions inherited from apollo::cyber::ComponentBase
virtual ~ComponentBase ()
 
virtual bool Initialize (const TimerComponentConfig &config)
 
virtual void Shutdown ()
 
template<typename T >
bool GetProtoConfig (T *config) const
 

Additional Inherited Members

- Public Types inherited from apollo::cyber::ComponentBase
template<typename M >
using Reader = cyber::Reader< M >
 
- Protected Member Functions inherited from apollo::cyber::ComponentBase
virtual void Clear ()
 
const std::string & ConfigFilePath () const
 
void LoadConfigFiles (const ComponentConfig &config)
 
void LoadConfigFiles (const TimerComponentConfig &config)
 
- Protected Attributes inherited from apollo::cyber::ComponentBase
std::atomic< bool > is_shutdown_ = {false}
 
std::shared_ptr< Nodenode_ = nullptr
 
std::string config_file_path_ = ""
 
std::vector< std::shared_ptr< ReaderBase > > readers_
 

Constructor & Destructor Documentation

◆ ~AudioComponent()

apollo::audio::AudioComponent::~AudioComponent ( )

Member Function Documentation

◆ Init()

bool apollo::audio::AudioComponent::Init ( )
overridevirtual

◆ Name()

std::string apollo::audio::AudioComponent::Name ( ) const

◆ Proc()

bool apollo::audio::AudioComponent::Proc ( const std::shared_ptr< apollo::drivers::microphone::config::AudioData > &  )
override

The documentation for this class was generated from the following file: