SpiecsEngine
 
Loading...
Searching...
No Matches
scl::behave_state_list< Ret, Args > Class Template Reference

behave_state_list. wrapper of combing all state behaves. More...

#include <BehaveStateList.h>

Public Member Functions

 behave_state_list ()
 Constructor Function.
 
virtual ~behave_state_list ()=default
 Destructor Function.
 
behave_state_node< Ret, Args... > * AddNode ()
 Add a empty node to this list.
 
behave_state_node< Ret, Args... > * GetState () const
 Get current state node.
 
void IncreateState ()
 Current State move forward.
 
void ResetState ()
 Current State move to start.
 
void SetState (uint32_t state)
 Set Current State.
 

Private Attributes

std::vector< std::unique_ptr< behave_state_node< Ret, Args... > > > m_List
 Linear Node list.
 
uint32_t m_CurrentState
 current state.
 

Detailed Description

template<typename Ret, typename ... Args>
class scl::behave_state_list< Ret, Args >

behave_state_list. wrapper of combing all state behaves.

Template Parameters
RetReturn type.
ArgsParameter type.

Definition at line 71 of file BehaveStateList.h.


The documentation for this class was generated from the following file: