Line | |
---|
1 | #ifndef Processors_ProcessorImpl_h
|
---|
2 | #define Processors_ProcessorImpl_h
|
---|
3 |
|
---|
4 | // Boost headers.
|
---|
5 | #include <boost/shared_ptr.hpp>
|
---|
6 | // Standard headers.
|
---|
7 | #include <iostream>
|
---|
8 | #include <string>
|
---|
9 | #include <vector>
|
---|
10 | // Interface on Trigger commands processing.
|
---|
11 | #include "Processors/TriggerCommandsStrategy.h"
|
---|
12 | #include "Helper/GeneralConfigurationParams.h"
|
---|
13 |
|
---|
14 | namespace UpperTestAdapter {
|
---|
15 |
|
---|
16 | namespace Processors {
|
---|
17 |
|
---|
18 | /*! Interface ProcessorImpl
|
---|
19 | * \brief This interface provides support for TriggerCommands message processing in local or remote mode.
|
---|
20 | */
|
---|
21 | class ProcessorsImpl
|
---|
22 | {
|
---|
23 | public: // Public interface.
|
---|
24 | //! SetImplMode.
|
---|
25 | /*! Initialize the communication mode.
|
---|
26 | * @param strategy: The staretgy to use.
|
---|
27 | */
|
---|
28 | virtual void SetImplMode(TriggerCommandsStrategy::Strategies strategy) {};
|
---|
29 | //! SetEutIpInterface.
|
---|
30 | /*! Initialize the EUT IP interface.
|
---|
31 | * @param eutIface: .EUT IP interface.
|
---|
32 | */
|
---|
33 | virtual void SetEutIpInterface(boost::shared_ptr<EutIPInterface> eutIface) {};
|
---|
34 | //! Process.
|
---|
35 | /*! Process the TriggerCommands message in synchronous mode.
|
---|
36 | * @param trigger: trigger command to execute
|
---|
37 | * @param params: Trigger parameters list
|
---|
38 | * @return FncRetCode value on success, -1 otherwise.
|
---|
39 | */
|
---|
40 | virtual int Process(const std::string &trigger, const std::vector<std::string> ¶meterList) { return false; };
|
---|
41 | };
|
---|
42 |
|
---|
43 | } } // namespaces
|
---|
44 |
|
---|
45 | #endif // Processors_ProcessorImpl_h
|
---|
46 |
|
---|
Note: See
TracBrowser
for help on using the repository browser.