Last change
on this file since 48 was
22,
checked in by rings, 14 years ago
|
|
-
Property svn:executable set to
*
|
File size:
1.2 KB
|
Line | |
---|
1 | #ifndef TriggerCommandsGUI_TriggerCommands_h
|
---|
2 | #define TriggerCommandsGUI_TriggerCommands_h
|
---|
3 |
|
---|
4 | #include <boost/shared_ptr.hpp>
|
---|
5 |
|
---|
6 | #include "Processors/TriggerCommandsStrategy.h"
|
---|
7 | #include "Processors/TriggerCommandsImpl.h"
|
---|
8 |
|
---|
9 | namespace UpperTestAdapter {
|
---|
10 |
|
---|
11 | namespace Processors {
|
---|
12 |
|
---|
13 | namespace TriggerCommandsGUI {
|
---|
14 |
|
---|
15 | /*! Class TriggerCommands
|
---|
16 | * \brief This class provides access the the chain of responsability which process Trigger commands.
|
---|
17 | */
|
---|
18 | class TriggerCommands : public TriggerCommandsStrategy
|
---|
19 | {
|
---|
20 | boost::shared_ptr<Processors::TriggerCommandsImpl> m_successor;
|
---|
21 |
|
---|
22 | public:
|
---|
23 | TriggerCommands();
|
---|
24 | ~TriggerCommands();
|
---|
25 |
|
---|
26 | public: // 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> ¶meterList);
|
---|
38 | };
|
---|
39 |
|
---|
40 | } } } // namespaces
|
---|
41 |
|
---|
42 | #endif // TriggerCommandsGUI_TriggerCommands_h
|
---|
43 |
|
---|
Note: See
TracBrowser
for help on using the repository browser.