IGSTK
igstkStateMachineState.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Image Guided Surgery Software Toolkit
4  Module: $RCSfile: igstkStateMachineState.h,v $
5  Language: C++
6  Date: $Date: 2008-02-11 01:41:51 $
7  Version: $Revision: 1.9 $
8 
9  Copyright (c) ISC Insight Software Consortium. All rights reserved.
10  See IGSTKCopyright.txt or http://www.igstk.org/copyright.htm for details.
11 
12  This software is distributed WITHOUT ANY WARRANTY; without even
13  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14  PURPOSE. See the above copyright notices for more information.
15 
16 =========================================================================*/
17 
18 #ifndef __igstkStateMachineState_h
19 #define __igstkStateMachineState_h
20 
21 #include "igstkToken.h"
22 
23 
24 namespace igstk
25 {
26 
27 
53 template< class T >
54 class StateMachineState : public Token
55 {
56 public:
57 
59  typedef Token Superclass;
60 
63 
65  virtual ~StateMachineState() {}
66 
67 protected:
68 
70  virtual void PrintSelf( std::ostream& os, itk::Indent indent ) const
71  {
72  Superclass::PrintSelf(os, indent);
73  }
74 };
75 
76 } // end namespace igstk
77 
78 #endif
virtual void PrintSelf(std::ostream &os,::itk::Indent indent) const
Print the object information in a stream.
virtual void PrintSelf(std::ostream &os, itk::Indent indent) const
Print the object information in a stream.
Class that provides unique identifiers.
Definition: igstkToken.h:43
virtual ~StateMachineState()
Destructor.
Generic implementation of the State in a State Machine model.