source: trunk/ETSI-Testsuites/ETSI_auto_IOT/adapter/src/UpperTestAdapter/TriggerCommandsOffLine/TriggerCommands.h @ 53

Last change on this file since 53 was 22, checked in by rings, 14 years ago
  • Property svn:executable set to *
File size: 1.2 KB
Line 
1#ifndef TriggerCommandsOffLine_TriggerCommands_h
2#define TriggerCommandsOffLine_TriggerCommands_h
3
4#include <boost/shared_ptr.hpp>
5
6#include "Processors/TriggerCommandsStrategy.h"
7#include "Processors/TriggerCommandsImpl.h"
8
9namespace UpperTestAdapter {
10 
11namespace Processors {
12 
13namespace TriggerCommandsOffLine {
14 
15/*! Class TriggerCommands
16 * \brief This class provides access the the chain of responsability which process Trigger commands.
17 */
18class TriggerCommands : public Processors::TriggerCommandsStrategy
19{
20  boost::shared_ptr<Processors::TriggerCommandsImpl> m_successor;
21
22public:
23        TriggerCommands();
24        ~TriggerCommands();
25       
26public: // Public interface.
27  //! SetEutIpInterface.
28  /*! Initialize the EUT IP interface.
29   * @param eutIface: .EUT IP interface.
30   */
31  void SetEutIpInterface(boost::shared_ptr<EutIPInterface> eutIface);
32  /*! Process the Trigger command message.
33   * @param command: trigger command to execute
34   * @param params: Comand parameters
35   * @return FncRetCode value on success, -1 otherwise.
36   */
37  int Process(const std::string &trigger, const std::vector<std::string> &parameterList);
38};
39
40} } } // namespaces
41
42#endif // TriggerCommandsOffLine_TriggerCommands_h
43
Note: See TracBrowser for help on using the repository browser.