Invoker.h
Go to the documentation of this file.
1 
20 #ifndef INVOKER_H_CAC11892
21 #define INVOKER_H_CAC11892
22 
23 
24 #include "uscxml/config.h"
25 #include "uscxml/Common.h"
27 #include "uscxml/messages/Event.h"
28 #include <xercesc/dom/DOM.hpp>
29 
30 namespace XERCESC_NS {
31  class DOMDocument;
32  class DOMNode;
33 }
34 
35 namespace uscxml {
36 
37 class InvokerImpl;
38 
44 class USCXML_API Invoker : public EventHandler {
45 public:
46  PIMPL_OPERATORS_INHERIT(Invoker, EventHandler);
47 
49  virtual void invoke(const std::string& source, const Event& invokeEvent);
50 
52  virtual void uninvoke();
53 
55  virtual void eventFromSCXML(const Event& event);
56 
58  virtual XERCESC_NS::DOMElement* getFinalize();
59 
60 protected:
61  std::shared_ptr<InvokerImpl> _impl;
62 };
63 
64 
65 }
66 
67 
68 #endif /* end of include guard: INVOKER_H_CAC11892 */
Definition: EventHandler.h:66
Definition: InterpreterIssue.cpp:33
Definition: Event.h:84
Definition: InterpreterIssue.h:31
Facade for invoker implementation.
Definition: Invoker.h:44