Public Member Functions | Private Member Functions | Private Attributes | List of all members
AwakenModuleRos Class Reference

#include <xbot_talker_ros.h>

Public Member Functions

 AwakenModuleRos ()
 
bool init ()
 
void isWaken ()
 
 ~AwakenModuleRos ()
 

Private Member Functions

void advertiseTopics ()
 
void pubStartRecog (bool is_awaken)
 
void subscribeStartAwaken (const std_msgs::BoolConstPtr)
 
void subscribeTopics ()
 

Private Attributes

int audio_channel
 
std::string audio_save_path
 
std::string awaken_mode
 
AwakenOffline awaken_module
 
ros::NodeHandle awaken_nodehandle
 
std::string awaken_params_
 
std::string base_path
 
std::string config_path
 
bool enable_record_save
 
ros::Publisher is_awaken_pub
 
std::string log_path
 
std::string pcm_file
 
int record_time
 
ros::Subscriber start_awaken_sub
 

Detailed Description

Definition at line 179 of file xbot_talker_ros.h.

Constructor & Destructor Documentation

AwakenModuleRos::AwakenModuleRos ( )

Definition at line 835 of file xbot_talker_ros.cpp.

AwakenModuleRos::~AwakenModuleRos ( )

Definition at line 838 of file xbot_talker_ros.cpp.

Member Function Documentation

void AwakenModuleRos::advertiseTopics ( )
private

Definition at line 865 of file xbot_talker_ros.cpp.

bool AwakenModuleRos::init ( )

Definition at line 842 of file xbot_talker_ros.cpp.

void AwakenModuleRos::isWaken ( )

Definition at line 883 of file xbot_talker_ros.cpp.

void AwakenModuleRos::pubStartRecog ( bool  is_awaken)
private

Definition at line 876 of file xbot_talker_ros.cpp.

void AwakenModuleRos::subscribeStartAwaken ( const std_msgs::BoolConstPtr  msg)
private

Definition at line 912 of file xbot_talker_ros.cpp.

void AwakenModuleRos::subscribeTopics ( )
private

Definition at line 870 of file xbot_talker_ros.cpp.

Member Data Documentation

int AwakenModuleRos::audio_channel
private

Definition at line 203 of file xbot_talker_ros.h.

std::string AwakenModuleRos::audio_save_path
private

Definition at line 201 of file xbot_talker_ros.h.

std::string AwakenModuleRos::awaken_mode
private

Definition at line 200 of file xbot_talker_ros.h.

AwakenOffline AwakenModuleRos::awaken_module
private

Definition at line 188 of file xbot_talker_ros.h.

ros::NodeHandle AwakenModuleRos::awaken_nodehandle
private

Definition at line 189 of file xbot_talker_ros.h.

std::string AwakenModuleRos::awaken_params_
private

Definition at line 196 of file xbot_talker_ros.h.

std::string AwakenModuleRos::base_path
private

Definition at line 197 of file xbot_talker_ros.h.

std::string AwakenModuleRos::config_path
private

Definition at line 198 of file xbot_talker_ros.h.

bool AwakenModuleRos::enable_record_save
private

Definition at line 195 of file xbot_talker_ros.h.

ros::Publisher AwakenModuleRos::is_awaken_pub
private

Definition at line 206 of file xbot_talker_ros.h.

std::string AwakenModuleRos::log_path
private

Definition at line 202 of file xbot_talker_ros.h.

std::string AwakenModuleRos::pcm_file
private

Definition at line 199 of file xbot_talker_ros.h.

int AwakenModuleRos::record_time
private

Definition at line 204 of file xbot_talker_ros.h.

ros::Subscriber AwakenModuleRos::start_awaken_sub
private

Definition at line 207 of file xbot_talker_ros.h.


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


xbot_talker
Author(s): wangxiaoyun
autogenerated on Sat Oct 10 2020 03:27:54