blob: 3a58c13d710c04577e234e5fe9701b97bef8b11a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
#ifndef SAMPLEIOPROCESSOR_H_2CUY93KU
#define SAMPLEIOPROCESSOR_H_2CUY93KU
#include "uscxml/concurrency/eventqueue/DelayedEventQueue.h"
#include "uscxml/Interpreter.h"
#include "uscxml/Factory.h"
#ifdef BUILD_AS_PLUGINS
#include "uscxml/plugins/Plugins.h"
#endif
namespace uscxml {
class SampleIOProcessor : public IOProcessorImpl {
public:
SampleIOProcessor();
virtual ~SampleIOProcessor();
virtual boost::shared_ptr<IOProcessorImpl> create(uscxml::InterpreterImpl* interpreter);
virtual std::set<std::string> getNames() {
std::set<std::string> names;
names.insert("sample");
names.insert("http://www.w3.org/TR/scxml/#SampleEventProcessor");
return names;
}
virtual void send(const SendRequest& req);
Data getDataModelVariables();
protected:
};
#ifdef BUILD_AS_PLUGINS
PLUMA_INHERIT_PROVIDER(SampleIOProcessor, IOProcessorImpl);
#endif
}
#endif /* end of include guard: SAMPLEIOPROCESSOR_H_2CUY93KU */
|