summaryrefslogtreecommitdiffstats
path: root/src/uscxml/plugins/invoker/modality/MMIComponent.cpp
blob: 170f4bc79b88ceae128a0c8a2e0601eb4e667640 (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
#include "MMIComponent.h"
#include "uscxml/Interpreter.h"

namespace uscxml {

MMIComponent::MMIComponent() {
}


MMIComponent::~MMIComponent() {
};

Invoker* MMIComponent::create(Interpreter* interpreter) {
	MMIComponent* invoker = new MMIComponent();
	invoker->_interpreter = interpreter;
	return invoker;
}

Data MMIComponent::getDataModelVariables() {
	Data data;
	return data;
}

void MMIComponent::send(SendRequest& req) {

}

void MMIComponent::cancel(const std::string sendId) {
	assert(false);
}

void MMIComponent::sendToParent(SendRequest& req) {
	req.invokeid = _invokeId;
	assert(false);
}

void MMIComponent::invoke(InvokeRequest& req) {
	_invokeId = req.invokeid;

}

}