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/Common.h"
26 #include "uscxml/messages/Event.h"
27 
28 namespace XERCESC_NS {
29 class DOMElement;
30 class DOMDocument;
31 class DOMNode;
32 }
33 
34 namespace uscxml {
35 
36 class InvokerImpl;
37 
43 class USCXML_API Invoker : public EventHandler {
44 public:
45  PIMPL_OPERATORS_INHERIT(Invoker, EventHandler)
46 
47 
48  virtual void invoke(const std::string& source, const Event& invokeEvent);
49 
51  virtual void uninvoke();
52 
54  virtual void eventFromSCXML(const Event& event);
55 
57  virtual void deserialize(const Data& encodedState);
58 
60  virtual Data serialize();
61 protected:
62  std::shared_ptr<InvokerImpl> _impl;
63 };
64 
65 
66 }
67 
68 
69 #endif /* end of include guard: INVOKER_H_CAC11892 */
Definition: EventHandler.h:63
Definition: Breakpoint.cpp:26
Definition: Event.h:94
Definition: Breakpoint.h:30
Facade for invoker implementation.
Definition: Invoker.h:43
Definition: Data.h:44