#ifndef TriggerCommandsGUI_TriggerCommands_h #define TriggerCommandsGUI_TriggerCommands_h #include #include "Processors/TriggerCommandsStrategy.h" #include "Processors/TriggerCommandsImpl.h" namespace UpperTestAdapter { namespace Processors { namespace TriggerCommandsGUI { /*! Class TriggerCommands * \brief This class provides access the the chain of responsability which process Trigger commands. */ class TriggerCommands : public TriggerCommandsStrategy { boost::shared_ptr m_successor; public: TriggerCommands(); ~TriggerCommands(); public: // Public interface. //! SetEutIpInterface. /*! Initialize the EUT IP interface. * @param eutIface: .EUT IP interface. */ void SetEutIpInterface(boost::shared_ptr eutIface); /*! Process the Trigger command message. * @param command: trigger command to execute * @param params: Comand parameters * @return FncRetCode value on success, -1 otherwise. */ int Process(const std::string &trigger, const std::vector ¶meterList); }; } } } // namespaces #endif // TriggerCommandsGUI_TriggerCommands_h