You.i Engine
YiState.h
Go to the documentation of this file.
1 // © You i Labs Inc. 2000-2017. All rights reserved.
2 #ifndef _YI_STATE_H_
3 #define _YI_STATE_H_
4 
6 
7 namespace yi
8 {
14 namespace deprecated
15 {
16 class CYIStatePriv;
17 
23 class CYIState : public CYICompoundState
24 {
25 public:
29  CYIState(CYICompoundState *pParent = 0, const CYIString &name = "");
30  virtual ~CYIState();
31 
36  bool SetInitialState(CYIAbstractState *pState);
41 
46  bool SetErrorState(CYIAbstractState *pState);
51 
52 protected:
53  CYIState(CYIStatePriv *priv, CYICompoundState *parent);
54 };
55 
56 } //namespace deprecated
57 
60 } //namespace yi
61 
62 #endif // _YI_STATE_H_
Definition: YiAbstractSignalTransition.h:7
bool SetInitialState(CYIAbstractState *pState)
CYIState(CYICompoundState *pParent=0, const CYIString &name="")
CYIAbstractState * GetInitialState()
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
bool SetErrorState(CYIAbstractState *pState)
The base class for CYIState and CYIParallelState.
Definition: YiCompoundState.h:26
CYIAbstractState * GetErrorState()
A basic state in the state machine.
Definition: YiState.h:23