MercuryCommandHandler Class Reference

[Internal] Command-Handler More...

#include <MercuryCommands.h>

Inheritance diagram for MercuryCommandHandler:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ~MercuryCommandHandler ()
virtual bool Command (PStack &ret, const char *command, PStack &args)
 Handle a message, by default, it returns false, meaning the command was not handled.
virtual void EnumerateCommands (MVector< MString > &toAdd)
virtual MString GetType ()
virtual void GetAllTypes (MVector< MString > &vOut)
virtual bool IsTypeOf (const MString &sType)

Detailed Description

[Internal] Command-Handler

Definition at line 31 of file MercuryCommands.h.


Constructor & Destructor Documentation

virtual MercuryCommandHandler::~MercuryCommandHandler (  )  [inline, virtual]

Definition at line 34 of file MercuryCommands.h.


Member Function Documentation

bool MercuryCommandHandler::Command ( PStack ret,
const char *  command,
PStack args 
) [virtual]

Handle a message, by default, it returns false, meaning the command was not handled.

Reimplemented in MercuryModel, MercuryShape, MercurySprite, MercuryText, ScreenFPS, and ScreenFPS2.

Definition at line 10 of file MercuryCommands.cpp.

void MercuryCommandHandler::EnumerateCommands ( MVector< MString > &  toAdd  )  [virtual]

Reimplemented in MercuryModel, MercuryShape, MercurySprite, and MercuryText.

Definition at line 16 of file MercuryCommands.cpp.

virtual MString MercuryCommandHandler::GetType (  )  [inline, virtual]

Definition at line 40 of file MercuryCommands.h.

virtual void MercuryCommandHandler::GetAllTypes ( MVector< MString > &  vOut  )  [inline, virtual]

Definition at line 41 of file MercuryCommands.h.

virtual bool MercuryCommandHandler::IsTypeOf ( const MString sType  )  [inline, virtual]

Definition at line 42 of file MercuryCommands.h.


The documentation for this class was generated from the following files:
Hosted by SourceForge.net Logo