text: /*!
   * @copyright
   * Copyright (c) 2015-2017 Intel Corporation
   *
   * @copyright
   * Licensed under the Apache License, Version 2.0 (the "License");
   * you may not use this file except in compliance with the License.
   * You may obtain a copy of the License at
   *
   * @copyright
   *    http://www.apache.org/licenses/LICENSE-2.0
   *
   * @copyright
   * Unless required by applicable law or agreed to in writing, software
   * distributed under the License is distributed on an "AS IS" BASIS,
   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   * See the License for the specific language governing permissions and
   * limitations under the License.
   *
   * @file state_machine_action.hpp
   *
   * @brief State machine action
   * */
  
  #pragma once
  
  #include "agent-framework/state_machine/state_machine_thread_action.hpp"
  
  namespace agent {
  namespace network {
  namespace discovery {
  class DiscoveryManager;
  }
  
  /*!
   * @brief State machine action class
   * */
  class StateMachineAction final :
              public agent_framework::state_machine::StateMachineThreadAction {
  public:
      using DiscoveryManager = discovery::DiscoveryManager;
  
      /*!
       * @brief Default constructor
       *
       * @param[in] discovery_manager Disacovery manager
       * */
      explicit StateMachineAction(DiscoveryManager& discovery_manager);
  
      /*! Default destructor. */
      ~StateMachineAction();
  
      void execute(StateThreadEntrySharedPtr entry) override;
  
  private:
      DiscoveryManager& m_discovery_manager;
  };
  
  }
  }
  
  