sspt_ControlParser Class Reference

Handles the control part of the model-view-controller paradigm. More...

#include <sspt_controlparser.h>

Inheritance diagram for sspt_ControlParser:

sspt_MeshShellControl sspt_SliceControl

List of all members.

Public Types

enum  KeyModifiers {
  MouseButton1 = 0x01, MouseButton2 = 0x02, MouseButton3 = 0x04, Shift = 0x08,
  Control = 0x10, Alt = 0x20
}

Public Member Functions

virtual ~sspt_ControlParser ()
virtual bool keyPress (KeySym key, unsigned long modifiers, char *string, int x, int y)=0
virtual bool keyRelease (KeySym key, unsigned long modifiers, char *string, int x, int y)=0
virtual bool mousePress (unsigned long modifiers, int x, int y)=0
virtual bool mouseMove (unsigned long modifiers, int x, int y)=0
virtual bool mouseRelease (unsigned long modifiers, int x, int y)=0


Detailed Description

Handles the control part of the model-view-controller paradigm.

This object's role is to serve as a parser, and translates key commands into appropriate function calls to an artifact


Member Enumeration Documentation

Enumerator:
MouseButton1 
MouseButton2 
MouseButton3 
Shift 
Control 
Alt 


Constructor & Destructor Documentation

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


Member Function Documentation

virtual bool sspt_ControlParser::keyPress ( KeySym  key,
unsigned long  modifiers,
char *  string,
int  x,
int  y 
) [pure virtual]

virtual bool sspt_ControlParser::keyRelease ( KeySym  key,
unsigned long  modifiers,
char *  string,
int  x,
int  y 
) [pure virtual]

virtual bool sspt_ControlParser::mouseMove ( unsigned long  modifiers,
int  x,
int  y 
) [pure virtual]

virtual bool sspt_ControlParser::mousePress ( unsigned long  modifiers,
int  x,
int  y 
) [pure virtual]

virtual bool sspt_ControlParser::mouseRelease ( unsigned long  modifiers,
int  x,
int  y 
) [pure virtual]


doxygen