Khangai Robot Play - Naive  01
THe naive play of the Khangai Robot
State Class Reference

#include <state.h>

Public Member Functions

 State (int id, void(*func)(void)=null_func)
 
 State ()=default
 
 State (State &&)=default
 
 State (const State &)=default
 
Stateoperator= (State &&)=default
 
Stateoperator= (const State &)=default
 
 ~State ()
 
int get_ID () const
 
void call_StateFunc () const
 

Private Attributes

int id_
 
void(* func_ )(void)
 

Constructor & Destructor Documentation

◆ State() [1/4]

State::State ( int  id,
void(*)(void)  func = null_func 
)
inline

◆ State() [2/4]

State::State ( )
default

◆ State() [3/4]

State::State ( State &&  )
default

◆ State() [4/4]

State::State ( const State )
default

◆ ~State()

State::~State ( )
inline

Member Function Documentation

◆ call_StateFunc()

void State::call_StateFunc ( ) const
inline
Here is the caller graph for this function:

◆ get_ID()

int State::get_ID ( ) const
inline
Here is the caller graph for this function:

◆ operator=() [1/2]

State& State::operator= ( State &&  )
default

◆ operator=() [2/2]

State& State::operator= ( const State )
default

Member Data Documentation

◆ func_

void(* State::func_) (void)
private

◆ id_

int State::id_
private

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