You.i Engine
YiHistoryState.h
Go to the documentation of this file.
1 // © You i Labs Inc. 2000-2017. All rights reserved.
2 #ifndef _YI_HISTORY_STATE_H_
3 #define _YI_HISTORY_STATE_H_
4 
5 #include "YiAbstractState.h"
6 
7 namespace yi
8 {
14 namespace deprecated
15 {
26 
28 
29 class CYIState;
30 class CYIHistoryStatePriv;
31 
39 {
40 public:
45  CYIHistoryState(CYIState *pParent = 0, const CYIString &name = "");
50  CYIHistoryState(YI_STATEMACHINE_HISTORY_TYPE type, CYIState *pParent = 0, const CYIString &name = "");
51  virtual ~CYIHistoryState();
52 
56  bool SetDefaultState(CYIAbstractState *pState);
61 
65  YI_STATEMACHINE_HISTORY_TYPE GetType();
66 };
67 
68 } //namespace deprecated
69 
72 } //namespace yi
73 
74 #endif /* _YI_HISTORY_STATE_H_ */
Definition: YiAbstractSignalTransition.h:7
CYIHistoryState(CYIState *pParent=0, const CYIString &name="")
enum yi::deprecated::YI_STATEMACHINE_HISTORY_TYPE_ENUM YI_STATEMACHINE_HISTORY_TYPE
The types of history recording possible by a CYIHistoryState.
The base class for state types in CYIStateMachine.
Definition: YiAbstractState.h:31
Container class for Unicode strings. Conceptually, a CYIString object is a sequence of Unicode charac...
Definition: YiString.h:35
YI_STATEMACHINE_HISTORY_TYPE_ENUM
The types of history recording possible by a CYIHistoryState.
Definition: YiHistoryState.h:23
A history state in the state machine.
Definition: YiHistoryState.h:38
bool SetDefaultState(CYIAbstractState *pState)
Definition: YiHistoryState.h:25
YI_STATEMACHINE_HISTORY_TYPE GetType()
CYIAbstractState * GetDefaultState()
A basic state in the state machine.
Definition: YiState.h:23