Program Listing for File state_exit.hpp

Return to documentation for file (rcppsw/patterns/fsm/state_exit.hpp)

#pragma once

/*******************************************************************************
 * Includes
 ******************************************************************************/
#include "rcppsw/rcppsw.hpp"

/*******************************************************************************
 * Namespaces/Decls
 ******************************************************************************/
namespace rcppsw::patterns::fsm {
class base_fsm;

/*******************************************************************************
 * Class Definitions
 ******************************************************************************/
class state_exit {
 public:
  virtual ~state_exit(void) = default;

  virtual void invoke_exit_action(base_fsm* sm) const = 0;
};

} /* namespace rcppsw::patterns::fsm */