Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

Kodu::KoduActionSay Class Reference

Kodu Action Say class (derived from Kodu Speech Action). More...

#include <KoduActionSay.h>

Inheritance diagram for Kodu::KoduActionSay:

Detailed Description

Kodu Action Say class (derived from Kodu Speech Action).

Definition at line 29 of file KoduActionSay.h.

List of all members.

Public Member Functions

 KoduActionSay (const std::string &kDesignator, const LiteralGenerator &kStringLiteral, bool useOnce)
 Constructor.
 KoduActionSay (const KoduActionSay &kAction)
 Copy constructor.
 ~KoduActionSay ()
 Destructor.
KoduActionSayoperator= (const KoduActionSay &kAction)
 Assignment operator.
const std::string & getStringToSpeak ()
 Returns a literal string to speak.
virtual void reinitialize ()
 Used to reinitialize certain variables (e.g. when switching to another page).
virtual void printAttrs () const
 Prints the attributes of a particular instance.

Static Public Member Functions

static bool isSameTypeAs (const KoduPrimitive *)
 Tests if the primitive argument is the same as the calling class.

Private Attributes

std::string designator
LiteralGenerator literalGen

Constructor & Destructor Documentation

Kodu::KoduActionSay::KoduActionSay ( const std::string &  kDesignator,
const LiteralGenerator kStringLiteral,
bool  useOnce 
)

Constructor.

Definition at line 32 of file KoduActionSay.h.

Kodu::KoduActionSay::KoduActionSay ( const KoduActionSay kAction  ) 

Copy constructor.

Definition at line 40 of file KoduActionSay.h.

Kodu::KoduActionSay::~KoduActionSay (  ) 

Destructor.

Definition at line 48 of file KoduActionSay.h.


Member Function Documentation

const std::string & Kodu::KoduActionSay::getStringToSpeak (  ) 

Returns a literal string to speak.

Definition at line 5 of file KoduActionSay.cc.

bool Kodu::KoduActionSay::isSameTypeAs ( const KoduPrimitive kPrimitive  )  [static]

Tests if the primitive argument is the same as the calling class.

Reimplemented from Kodu::KoduPrimitive.

Definition at line 9 of file KoduActionSay.cc.

KoduActionSay& Kodu::KoduActionSay::operator= ( const KoduActionSay kAction  ) 

Assignment operator.

Definition at line 53 of file KoduActionSay.h.

void Kodu::KoduActionSay::printAttrs (  )  const [virtual]

Prints the attributes of a particular instance.

Reimplemented from Kodu::KoduAction.

Definition at line 17 of file KoduActionSay.cc.

void Kodu::KoduActionSay::reinitialize (  )  [virtual]

Used to reinitialize certain variables (e.g. when switching to another page).

Reimplemented from Kodu::KoduAction.

Definition at line 13 of file KoduActionSay.cc.


Member Data Documentation

std::string Kodu::KoduActionSay::designator [private]

Definition at line 76 of file KoduActionSay.h.

Referenced by operator=(), and printAttrs().


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

Tekkotsu v5.1CVS
Generated Mon May 9 04:59:23 2016 by Doxygen 1.6.3