DestroyerStrategy Class Reference

#include <DestroyerStrategy.h>

List of all members.

Public Member Functions

 DestroyerStrategy ()
 ~DestroyerStrategy (void)

Protected Member Functions

void process ()
void onEvent (LargeDisplayEvent *evt)

Protected Attributes

std::vector< unsigned long > warnedComponentIDs
std::vector< unsigned long > readyComponentIDs


Detailed Description

This strategy defines a button that destroys a VisComponent object that is droped over it.

Author:
Fabricio Anastacio - fabriciocfa@yahoo.com
Since:
August 28, 2007


Constructor & Destructor Documentation

DestroyerStrategy::DestroyerStrategy (  ) 

Constructs a destroyer strategy with the image given by the specified texture name.

DestroyerStrategy::~DestroyerStrategy ( void   ) 

Destroys this strategy.


Member Function Documentation

void DestroyerStrategy::process (  )  [protected]

Performs a given action before rendering the component.

void DestroyerStrategy::onEvent ( LargeDisplayEvent *  evt  )  [protected]

Handles the given event.

Parameters:
evt the event to be handled.


Member Data Documentation

std::vector<unsigned long> DestroyerStrategy::warnedComponentIDs [protected]

The list of the identifiers of the child components that were warned to prepare to die.

std::vector<unsigned long> DestroyerStrategy::readyComponentIDs [protected]

The lst of the identifiers of the child components that are ready to die.


The documentation for this class was generated from the following files:
Generated on Fri Dec 21 17:46:07 2007 for LargeDisplayFrameworkToolkit by  doxygen 1.5.2