Public Member Functions | Public Attributes
rospeex::Interface::Impl Class Reference

List of all members.

Public Member Functions

 Impl ()
void playPackageSound (const std::string &package_name)
 get ros package path
void playSound (const std::string &file_name)
 playing audio file.
void sendSpeechSynthesisState (bool state)
void SPIResponse (const SignalProcessingResponse::ConstPtr &response)
 signal processing response
void SRResponse (const SpeechRecognitionResponse::ConstPtr &response)
 speech recognition response
void SSResponse (const SpeechSynthesisResponse::ConstPtr &response)
 speech synthesis response

Public Attributes

bool spi_enable_
std::string spi_engine_
 signal processing interface engine
std::string spi_language_
 signal processing interface language
ros::Subscriber spi_sub_
 signal processing interace subscriber
bool sr_enable_
SpeechRecognizeCallback sr_func_
 > speech recognition request queue num in progress
ros::Publisher sr_pub_
 speech recognition publisher
uint32_t sr_queue_num_
uint32_t sr_request_id_
 > speech synthesis request id
ros::Subscriber sr_sub_
 speeech recognition subscriber
bool ss_enable_
SpeechSynthesisCallback ss_func_
 speech synthesis callback function
ros::Publisher ss_pub_
 speech synthesis publisher
uint32_t ss_request_id_
ros::Publisher ss_state_pub_
 speech synthesis state publisher
ros::Subscriber ss_sub_
 speeech synthesis subscriber

Detailed Description

Definition at line 36 of file rospeex.cpp.


Constructor & Destructor Documentation

rospeex::Interface::Impl::Impl ( ) [inline]

Definition at line 39 of file rospeex.cpp.


Member Function Documentation

void rospeex::Interface::Impl::playPackageSound ( const std::string &  package_name)

get ros package path

Parameters:
[in]package_nameros package name (e.g. rospeex)
Returns:
package absolute path

Definition at line 222 of file rospeex.cpp.

void rospeex::Interface::Impl::playSound ( const std::string &  file_name)

playing audio file.

Parameters:
[in]file_namesound file name (file location: rospeex/sound)

Definition at line 255 of file rospeex.cpp.

void rospeex::Interface::Impl::sendSpeechSynthesisState ( bool  state)

send speech synthesis state

Parameters:
[in]statespeech syntnesis state

Definition at line 237 of file rospeex.cpp.

void rospeex::Interface::Impl::SPIResponse ( const SignalProcessingResponse::ConstPtr &  response)

signal processing response

Parameters:
[in]responseresponse from ros node

Definition at line 116 of file rospeex.cpp.

void rospeex::Interface::Impl::SRResponse ( const SpeechRecognitionResponse::ConstPtr &  response)

speech recognition response

Parameters:
[in]responseresponse from ros node

Definition at line 143 of file rospeex.cpp.

void rospeex::Interface::Impl::SSResponse ( const SpeechSynthesisResponse::ConstPtr &  response)

speech synthesis response

Parameters:
[in]responseresponse from ros node

Definition at line 164 of file rospeex.cpp.


Member Data Documentation

bool rospeex::Interface::Impl::spi_enable_

Definition at line 112 of file rospeex.cpp.

std::string rospeex::Interface::Impl::spi_engine_

signal processing interface engine

Definition at line 109 of file rospeex.cpp.

std::string rospeex::Interface::Impl::spi_language_

signal processing interface language

Definition at line 110 of file rospeex.cpp.

ros::Subscriber rospeex::Interface::Impl::spi_sub_

signal processing interace subscriber

Definition at line 107 of file rospeex.cpp.

bool rospeex::Interface::Impl::sr_enable_

Definition at line 112 of file rospeex.cpp.

SpeechRecognizeCallback rospeex::Interface::Impl::sr_func_

> speech recognition request queue num in progress

speech recognition callback function

Definition at line 98 of file rospeex.cpp.

ros::Publisher rospeex::Interface::Impl::sr_pub_

speech recognition publisher

Definition at line 101 of file rospeex.cpp.

uint32_t rospeex::Interface::Impl::sr_queue_num_

Definition at line 96 of file rospeex.cpp.

uint32_t rospeex::Interface::Impl::sr_request_id_

> speech synthesis request id

sppech recognition request id

Definition at line 94 of file rospeex.cpp.

ros::Subscriber rospeex::Interface::Impl::sr_sub_

speeech recognition subscriber

Definition at line 105 of file rospeex.cpp.

bool rospeex::Interface::Impl::ss_enable_

Definition at line 112 of file rospeex.cpp.

SpeechSynthesisCallback rospeex::Interface::Impl::ss_func_

speech synthesis callback function

Definition at line 99 of file rospeex.cpp.

ros::Publisher rospeex::Interface::Impl::ss_pub_

speech synthesis publisher

Definition at line 102 of file rospeex.cpp.

uint32_t rospeex::Interface::Impl::ss_request_id_

Definition at line 93 of file rospeex.cpp.

ros::Publisher rospeex::Interface::Impl::ss_state_pub_

speech synthesis state publisher

Definition at line 103 of file rospeex.cpp.

ros::Subscriber rospeex::Interface::Impl::ss_sub_

speeech synthesis subscriber

Definition at line 106 of file rospeex.cpp.


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


rospeex_if
Author(s): Komei Sugiura
autogenerated on Wed Aug 26 2015 16:10:32