Console::Action Class Reference

#include <Action.h>

Inheritance diagram for Console::Action:

Console::CycleAction< T > Console::FunctorAction< Func, T > GpuThesis::EventHandler GpuThesis::Runner OpenGL::TextureContainerAction OpenGL::ChannelSelector OpenGL::GridToggler OpenGL::TextureDumper OpenGL::TextureId OpenGL::TextureSelector List of all members.

Public Member Functions

std::string handle (const std::vector< std::string > &parameters)

Private Member Functions

virtual std::string run (const std::vector< std::string > &parameters)=0

Detailed Description

Action class. Represents an action which takes a variable number of parameters.


Member Function Documentation

std::string Console::Action::handle const std::vector< std::string > &  parameters  )  [inline]
 

Performs the action based on the given parameters.

Parameters:
parameters the action's parameters.
Returns:
the result of the action.

virtual std::string Console::Action::run const std::vector< std::string > &  parameters  )  [private, pure virtual]
 

Implementation of handle, must be supplied by concrete subclasses.

Parameters:
parameters the action's parameters.
Returns:
the result of the action.

Implemented in GpuThesis::EventHandler, GpuThesis::Runner, Console::FunctorAction< Func, T >, Console::CycleAction< T >, OpenGL::ChannelSelector, OpenGL::TextureSelector, OpenGL::GridToggler, OpenGL::TextureDumper, and OpenGL::TextureId.


The documentation for this class was generated from the following file:
Generated on Fri Jun 16 08:42:48 2006 for GPU Thesis by  doxygen 1.4.6-NO