summaryrefslogtreecommitdiffstats
path: root/src/uscxml/plugins/invoker/heartbeat
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/heartbeat
parent7938e286967597c7168b855b7e3fdfbd9b949e0e (diff)
downloaduscxml-8dde1311719b29c63efb379566916cb1aa9a7cd7.zip
uscxml-8dde1311719b29c63efb379566916cb1aa9a7cd7.tar.gz
uscxml-8dde1311719b29c63efb379566916cb1aa9a7cd7.tar.bz2
Work on FFMpegInvoker
Diffstat (limited to 'src/uscxml/plugins/invoker/heartbeat')
-rw-r--r--src/uscxml/plugins/invoker/heartbeat/HeartbeatInvoker.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/uscxml/plugins/invoker/heartbeat/HeartbeatInvoker.cpp b/src/uscxml/plugins/invoker/heartbeat/HeartbeatInvoker.cpp
index c7b91f6..5afbc66 100644
--- a/src/uscxml/plugins/invoker/heartbeat/HeartbeatInvoker.cpp
+++ b/src/uscxml/plugins/invoker/heartbeat/HeartbeatInvoker.cpp
@@ -49,8 +49,8 @@ void HeartbeatInvoker::invoke(const InvokeRequest& req) {
InvokeRequest::params_t::const_iterator paramIter = req.params.begin();
while(paramIter != req.params.end()) {
if (boost::iequals(paramIter->first, "interval")) {
- intervalStr = paramIter->second;
- NumAttr intervalAttr(paramIter->second);
+ intervalStr = paramIter->second.atom;
+ NumAttr intervalAttr(paramIter->second.atom);
interval = strTo<double>(intervalAttr.value);
if (false) {
} else if (boost::iequals(intervalAttr.unit, "s")) {
@@ -62,7 +62,7 @@ void HeartbeatInvoker::invoke(const InvokeRequest& req) {
}
}
if (boost::iequals(paramIter->first, "eventname")) {
- _event.name = paramIter->second;
+ _event.name = paramIter->second.atom;
}
paramIter++;
}