FlightGear next
FGFLITEVoice Class Reference

#include <flitevoice.hxx>

Inherits FGVoiceMgr::FGVoice.

Public Member Functions

 FGFLITEVoice (FGVoiceMgr *, const SGPropertyNode_ptr, const char *sampleGroupRefName="flite-voice")
 
virtual ~FGFLITEVoice ()
 
virtual void speak (const std::string &msg)
 
virtual void update (double dt)
 
- Public Member Functions inherited from FGVoiceMgr::FGVoice
 FGVoice (FGVoiceMgr *mgr)
 
virtual ~FGVoice ()
 
void pushMessage (const std::string &m)
 
bool speak ()
 

Additional Inherited Members

- Protected Member Functions inherited from FGVoiceMgr::FGVoice
void valueChanged (SGPropertyNode *node)
 THREAD ///.
 
- Protected Attributes inherited from FGVoiceMgr::FGVoice
FGVoiceMgr_mgr
 
std::queue< std::string > _msg
 

Detailed Description

Definition at line 33 of file flitevoice.hxx.

Constructor & Destructor Documentation

◆ FGFLITEVoice()

FGFLITEVoice::FGFLITEVoice ( FGVoiceMgr * mgr,
const SGPropertyNode_ptr node,
const char * sampleGroupRefName = "flite-voice" )

Definition at line 35 of file flitevoice.cxx.

◆ ~FGFLITEVoice()

FGFLITEVoice::~FGFLITEVoice ( )
virtual

Definition at line 57 of file flitevoice.cxx.

Member Function Documentation

◆ speak()

void FGFLITEVoice::speak ( const std::string & msg)
virtual

Implements FGVoiceMgr::FGVoice.

Definition at line 62 of file flitevoice.cxx.

◆ update()

void FGFLITEVoice::update ( double dt)
virtual

Implements FGVoiceMgr::FGVoice.

Definition at line 71 of file flitevoice.cxx.


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