#include <CreatorStrategy.h>
Public Member Functions | |
CreatorStrategy (void) | |
~CreatorStrategy (void) | |
Protected Member Functions | |
void | onEvent (LargeDisplayEvent *evt) |
virtual VisComponentGL * | createComponent (unsigned int x=0, unsigned int y=0, unsigned int z=0)=0 |
CreatorStrategy::CreatorStrategy | ( | void | ) |
Constructs a creator strategy.
CreatorStrategy::~CreatorStrategy | ( | void | ) |
Destroys this strategy.
void CreatorStrategy::onEvent | ( | LargeDisplayEvent * | evt | ) | [protected] |
Handles the given event.
evt | the event to be handled. |
virtual VisComponentGL* CreatorStrategy::createComponent | ( | unsigned int | x = 0 , |
|
unsigned int | y = 0 , |
|||
unsigned int | z = 0 | |||
) | [protected, pure virtual] |
Returns a pointer to the created component.
x | the x-coordinate of the creator button pressing in screen space | |
y | the y-coordinate of the creator button pressing in screen space | |
z | the z-coordinate of the creator button pressing in screen space |