summaryrefslogtreecommitdiffstats
path: root/src/uscxml/plugins/invoker/umundo
diff options
context:
space:
mode:
authorStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2013-09-18 15:39:30 (GMT)
committerStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2013-09-18 15:39:30 (GMT)
commit8dde1311719b29c63efb379566916cb1aa9a7cd7 (patch)
tree6849ab145936ea5a2bebee5b64e69c4d226c3810 /src/uscxml/plugins/invoker/umundo
parent7938e286967597c7168b855b7e3fdfbd9b949e0e (diff)
downloaduscxml-8dde1311719b29c63efb379566916cb1aa9a7cd7.zip
uscxml-8dde1311719b29c63efb379566916cb1aa9a7cd7.tar.gz
uscxml-8dde1311719b29c63efb379566916cb1aa9a7cd7.tar.bz2
Work on FFMpegInvoker
Diffstat (limited to 'src/uscxml/plugins/invoker/umundo')
-rw-r--r--src/uscxml/plugins/invoker/umundo/UmundoInvoker.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/uscxml/plugins/invoker/umundo/UmundoInvoker.cpp b/src/uscxml/plugins/invoker/umundo/UmundoInvoker.cpp
index de5a580..6845280 100644
--- a/src/uscxml/plugins/invoker/umundo/UmundoInvoker.cpp
+++ b/src/uscxml/plugins/invoker/umundo/UmundoInvoker.cpp
@@ -63,7 +63,7 @@ void UmundoInvoker::send(const SendRequest& req) {
std::string type;
if (req.params.find("type") != req.params.end()) {
// we are supposed to build a typed object
- type = req.params.find("type")->second;
+ type = req.params.find("type")->second.atom;
const google::protobuf::Message* protoMsg = umundo::PBSerializer::getProto(type);
if (protoMsg == NULL) {
@@ -139,17 +139,17 @@ void UmundoInvoker::invoke(const InvokeRequest& req) {
std::string serviceName;
if (req.params.find("channel") != req.params.end()) {
- channelName = req.params.find("channel")->second;
+ channelName = req.params.find("channel")->second.atom;
_isService = false;
} else if (req.params.find("service") != req.params.end()) {
- serviceName = req.params.find("service")->second;
+ serviceName = req.params.find("service")->second.atom;
_isService = true;
} else {
LOG(ERROR) << "Invoking umundo needs a service or a channel param";
return;
}
if (req.params.find("domain") != req.params.end()) {
- domain = req.params.find("domain")->second;
+ domain = req.params.find("domain")->second.atom;
}
_node = getNode(_interpreter, domain);
@@ -157,7 +157,7 @@ void UmundoInvoker::invoke(const InvokeRequest& req) {
if (req.params.find("type") != req.params.end()) {
std::pair<InvokeRequest::params_t::const_iterator, InvokeRequest::params_t::const_iterator> typeRange = req.params.equal_range("types");
for (InvokeRequest::params_t::const_iterator it = typeRange.first; it != typeRange.second; it++) {
- URL typeURI(it->second);
+ URL typeURI(it->second.atom);
if (typeURI.toAbsolute(_interpreter->getBaseURI())) {
std::string filename = typeURI.asLocalFile(".proto");
umundo::PBSerializer::addProto(filename);
@@ -171,7 +171,7 @@ void UmundoInvoker::invoke(const InvokeRequest& req) {
if (req.params.find("types") != req.params.end()) {
std::pair<InvokeRequest::params_t::const_iterator, InvokeRequest::params_t::const_iterator> typeRange = req.params.equal_range("types");
for (InvokeRequest::params_t::const_iterator it = typeRange.first; it != typeRange.second; it++) {
- URL typeURI(it->second);
+ URL typeURI(it->second.atom);
if (typeURI.toAbsolute(_interpreter->getBaseURI()) && typeURI.scheme().compare("file") == 0) {
umundo::PBSerializer::addProto(typeURI.path());
} else {