Program Listing for File util_signal.hpp

Return to documentation for file (cosm/spatial/fsm/util_signal.hpp)

#pragma once

/*******************************************************************************
 * Includes
 ******************************************************************************/
#include "rcppsw/patterns/fsm/event.hpp"

#include "cosm/cosm.hpp"

/*******************************************************************************
 * Namespaces
 ******************************************************************************/
namespace cosm::spatial::fsm {

/*******************************************************************************
 * Class Definitions
 ******************************************************************************/
class util_signal : public rpfsm::event_signal {
 public:
  enum type {
    ekLEFT_NEST = rpfsm::event_signal::type::ekEXTERNAL_SIGNALS,

    ekENTERED_NEST,

    ekDROPPED_BLOCK,

    ekMECHANICAL_MALFUNCTION,

    ekMECHANICAL_REPAIR,

    ekEXTERNAL_SIGNALS
  };
};

} /* namespace cosm::spatial::fsm */