LibCT 2.0

Include/PhaseNode.h

Go to the documentation of this file.
00001 // ------------------------------------------------------------------
00012 #ifndef _LIBCT_PHASENODE_H
00013 #define _LIBCT_PHASENODE_H
00014 
00015 #include "Node.h"
00016 
00017 namespace LibCT
00018 {
00020         class PhaseNode : public Node
00021         {
00022         public:
00023                 enum Events
00024                 {
00025                         EventsOnEnter,  
00026                         EventsOnExit    
00027                 };
00028 
00030                 explicit PhaseNode(
00031                         Node* pParent,
00032                         const std::string& text
00033                         );
00034 
00036                 ~PhaseNode();
00037 
00039                 void Activate();
00040 
00042                 void Deactivate();
00043         };
00044 }
00045 
00046 #endif // _LIBCT_PHASENODE_H