FlightGear next
FGVoiceMgr::FGVoice Class Referenceabstract

#include <voice.hxx>

Inherits SGPropertyChangeListener.

Inherited by FGFLITEVoice, and FGFestivalVoice.

Public Member Functions

 FGVoice (FGVoiceMgr *mgr)
 
virtual ~FGVoice ()
 
virtual void speak (const std::string &msg)=0
 
virtual void update (double dt)=0
 
void pushMessage (const std::string &m)
 
bool speak ()
 

Protected Member Functions

void valueChanged (SGPropertyNode *node)
 THREAD ///.
 

Protected Attributes

FGVoiceMgr_mgr
 
std::queue< std::string > _msg
 

Detailed Description

Definition at line 98 of file voice.hxx.

Constructor & Destructor Documentation

◆ FGVoice()

FGVoiceMgr::FGVoice::FGVoice ( FGVoiceMgr * mgr)
inline

Definition at line 101 of file voice.hxx.

◆ ~FGVoice()

virtual FGVoiceMgr::FGVoice::~FGVoice ( )
inlinevirtual

Definition at line 102 of file voice.hxx.

Member Function Documentation

◆ pushMessage()

void FGVoiceMgr::FGVoice::pushMessage ( const std::string & m)

Definition at line 182 of file voice.cxx.

◆ speak() [1/2]

bool FGVoiceMgr::FGVoice::speak ( void )

Definition at line 190 of file voice.cxx.

◆ speak() [2/2]

virtual void FGVoiceMgr::FGVoice::speak ( const std::string & msg)
pure virtual

Implemented in FGFLITEVoice.

◆ update()

virtual void FGVoiceMgr::FGVoice::update ( double dt)
pure virtual

Implemented in FGFestivalVoice, and FGFLITEVoice.

◆ valueChanged()

void FGVoiceMgr::FGVoice::valueChanged ( SGPropertyNode * node)
protected

THREAD ///.

LISTENER ///

Definition at line 284 of file voice.cxx.

Member Data Documentation

◆ _mgr

FGVoiceMgr* FGVoiceMgr::FGVoice::_mgr
protected

Definition at line 111 of file voice.hxx.

◆ _msg

std::queue<std::string> FGVoiceMgr::FGVoice::_msg
protected

Definition at line 116 of file voice.hxx.


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