summaryrefslogtreecommitdiffstats
path: root/src/uscxml/plugins/element/response/ResponseElement.h
blob: 333dd9833337226c26dbc3619ba449ab646dbee1 (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
40
41
42
#ifndef RESPONSEELEMENT_H_I11KQ39Q
#define RESPONSEELEMENT_H_I11KQ39Q

#include <uscxml/Interpreter.h>

#ifdef BUILD_AS_PLUGINS
#include "uscxml/plugins/Plugins.h"
#endif

namespace uscxml {

class ResponseElement : public ExecutableContentImpl {
public:
	ResponseElement() {}
	virtual ~ResponseElement() {}
	boost::shared_ptr<ExecutableContentImpl> create(InterpreterImpl* interpreter);

	std::string getLocalName() {
		return "response";
	}

	std::string getNamespace() {
		return "http://www.w3.org/2005/07/scxml";
	}

	bool processChildren() {
		return false;
	}

	void enterElement(const Arabica::DOM::Node<std::string>& node);
	void exitElement(const Arabica::DOM::Node<std::string>& node);

};

#ifdef BUILD_AS_PLUGINS
PLUMA_INHERIT_PROVIDER(ResponseElement, ExecutableContentImpl);
#endif

}


#endif /* end of include guard: RESPONSEELEMENT_H_I11KQ39Q */