summaryrefslogtreecommitdiffstats
path: root/src/uscxml/plugins/invoker/modality/UmundoComponent.h
blob: 69b396113e90b38b1fca67c081e27efe8556e04e (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
#ifndef UMUNDOCOMPONENT_H_VMW54W1R
#define UMUNDOCOMPONENT_H_VMW54W1R

#include "MMIComponent.h"

namespace uscxml {

class Interpreter;

class UmundoComponent : public MMIComponent {
public:
	UmundoComponent();
	virtual ~UmundoComponent();
	virtual Invoker* create(Interpreter* interpreter);

	virtual Data getDataModelVariables();
	virtual void send(SendRequest& req);
	virtual void cancel(const std::string sendId);
	virtual void invoke(InvokeRequest& req);
	virtual void sendToParent(SendRequest& req);

protected:
	std::string _invokeId;
	Interpreter* _invokedInterpreter;
	Interpreter* _parentInterpreter;
};

}

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