source: trunk/ETSI-Testsuites/ETSI_auto_IOT/adapter/src/UpperTestAdapter/TriggerCommandsOffLine/Register.h

Last change on this file was 22, checked in by rings, 14 years ago
  • Property svn:executable set to *
File size: 957 bytes
Line 
1#ifndef TriggerCommandsOffLine_Register_h
2#define TriggerCommandsOffLine_Register_h
3
4#include <boost/shared_ptr.hpp>
5#include <string>
6#include <iostream>
7
8#include "Processors/TriggerCommandsImpl.h"
9
10namespace UpperTestAdapter {
11 
12namespace Processors {
13 
14namespace TriggerCommandsOffLine {
15 
16/*! Class Register
17 * \brief This class provides processing for REGISTER Trigger command.
18 */
19class Register : public UpperTestAdapter::Processors::TriggerCommandsImpl
20{
21  static std::string RegisterId;
22 
23  boost::shared_ptr<UpperTestAdapter::Processors::TriggerCommandsImpl> m_successor;
24 
25public:
26  Register();
27  ~Register();
28 
29public: // Public interface.
30  int Process(const std::string &trigger, const std::vector<std::string> &parameterList);
31  void SetSuccessor(boost::shared_ptr<UpperTestAdapter::Processors::TriggerCommandsImpl> successor);
32};
33
34} } } // namespaces
35
36#endif // TriggerCommandsOffLine_Register_h
37
Note: See TracBrowser for help on using the repository browser.