summaryrefslogtreecommitdiffstats
path: root/src/uscxml/transform/Transformer.h
diff options
context:
space:
mode:
authorStefan Radomski <sradomski@mintwerk.de>2015-07-05 23:15:31 (GMT)
committerStefan Radomski <sradomski@mintwerk.de>2015-07-05 23:15:31 (GMT)
commitf02d7e5919f16d8396839fcff1e0588d6ccf3004 (patch)
treeae16a349655763856d1286c017c5f29c916d6cd5 /src/uscxml/transform/Transformer.h
parent1bc525a7992f560735bb7e0de6981e8e6f616246 (diff)
downloaduscxml-f02d7e5919f16d8396839fcff1e0588d6ccf3004.zip
uscxml-f02d7e5919f16d8396839fcff1e0588d6ccf3004.tar.gz
uscxml-f02d7e5919f16d8396839fcff1e0588d6ccf3004.tar.bz2
Various extensions and bug-fixes
Diffstat (limited to 'src/uscxml/transform/Transformer.h')
-rw-r--r--src/uscxml/transform/Transformer.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/uscxml/transform/Transformer.h b/src/uscxml/transform/Transformer.h
index 8ea19d9..313bfaa 100644
--- a/src/uscxml/transform/Transformer.h
+++ b/src/uscxml/transform/Transformer.h
@@ -36,7 +36,7 @@ public:
};
-class USCXML_API Transformer {
+class USCXML_API Transformer : public boost::enable_shared_from_this<Transformer> {
public:
// Transformer(const Interpreter& source) { _impl = new (source) }
@@ -69,6 +69,10 @@ public:
return _impl->operator Interpreter();
}
+ boost::shared_ptr<TransformerImpl> getImpl() {
+ return _impl;
+ }
+
protected:
boost::shared_ptr<TransformerImpl> _impl;