helloAction Class Reference

Inheritance diagram for helloAction:

Inheritance graph
[legend]
Collaboration diagram for helloAction:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 helloAction (const std::string &name)
void doPress ()
void doRelease ()
void runCoord (unsigned long int x, unsigned long int y, int xrel, int yrel)

Detailed Description

Definition at line 11 of file demo.cpp.


Constructor & Destructor Documentation

helloAction::helloAction ( const std::string &  name  )  [inline]

Definition at line 13 of file demo.cpp.

00013 : InputAction(name), ModAction(name), CoordAction(name) {}


Member Function Documentation

void helloAction::doPress (  )  [inline, virtual]

Implements cmil::ModAction.

Definition at line 15 of file demo.cpp.

00015                    { 
00016       std::cout << "hello! pressed " << std::endl;
00017       std::cout << std::endl;
00018     }

void helloAction::doRelease (  )  [inline, virtual]

Reimplemented from cmil::ModAction.

Definition at line 19 of file demo.cpp.

00019                      { 
00020       std::cout << "hello! released " << std::endl;
00021       std::cout << std::endl;
00022     }

void helloAction::runCoord ( unsigned long int  x,
unsigned long int  y,
int  xrel,
int  yrel 
) [inline, virtual]

Implements cmil::CoordAction.

Definition at line 24 of file demo.cpp.

00024                                                                                 {
00025       std::cout << "hello! x: " << x << " y: " << y << " xrel: " << xrel <<" yrel: " << yrel << std::endl;
00026     }; 


The documentation for this class was generated from the following file:
(c) 2006-2007 John P. Feltz
Generated on Wed Jul 25 16:08:02 2007 for Common Media Input Layer by doxygen 1.4.7

SourceForge.net Logo