Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

KoduSayEvent.h

Go to the documentation of this file.
00001 #ifndef _INCLUDE_KoduSayEvent_h_
00002 #define _INCLUDE_KoduSayEvent_h_
00003 
00004 #include <string>
00005 
00006 #include "Events/Kodu/KoduEventBase.h"
00007 
00008 class KoduSayEvent : public KoduEventBase {
00009  private:
00010   std::string _phrase;
00011 
00012  public:
00013   static const char* classID;
00014 
00015   KoduSayEvent() : _phrase("") {}
00016 
00017   KoduSayEvent(const std::string& phrase) : _phrase(phrase) {}
00018   
00019   ~KoduSayEvent() {}
00020 
00021   virtual std::string getDescription(bool showTypeSpecific, unsigned int verbosity) const;
00022   virtual unsigned int getBinSize() const;
00023   virtual unsigned int saveBinaryBuffer(char buf[], unsigned int len) const;
00024   virtual unsigned int loadBinaryBuffer(const char buf[], unsigned int len);
00025 
00026   std::string getPhrase() const;
00027 
00028 };
00029 
00030 /*! @file
00031  * @brief Kodu says something in the world
00032  *
00033  * @author afranchu
00034  * @author medee
00035  */
00036 
00037 #endif

Tekkotsu v5.1CVS
Generated Mon May 9 04:58:43 2016 by Doxygen 1.6.3