BasicContentExecutor.h
Go to the documentation of this file.
1 
20 #ifndef BASICCONTENTEXECUTOR_H_B873199D
21 #define BASICCONTENTEXECUTOR_H_B873199D
22 
23 #include "ContentExecutorImpl.h"
24 
25 namespace uscxml {
26 
27 using namespace XERCESC_NS;
28 
33 class USCXML_API BasicContentExecutor : public ContentExecutorImpl {
34 public:
36  virtual ~BasicContentExecutor() {}
37 
38  virtual std::shared_ptr<ContentExecutorImpl> create(ContentExecutorCallbacks* callbacks);
39 
40  void processRaise(XERCESC_NS::DOMElement* content);
41  void processSend(XERCESC_NS::DOMElement* element);
42  void processCancel(XERCESC_NS::DOMElement* content);
43  void processIf(XERCESC_NS::DOMElement* content);
44  void processAssign(XERCESC_NS::DOMElement* content);
45  void processForeach(XERCESC_NS::DOMElement* content);
46  void processLog(XERCESC_NS::DOMElement* content);
47  void processScript(XERCESC_NS::DOMElement* content);
48 
49  virtual void process(XERCESC_NS::DOMElement* block);
50 
51  virtual void invoke(XERCESC_NS::DOMElement* invoke);
52  virtual void uninvoke(XERCESC_NS::DOMElement* invoke);
53  virtual void raiseDoneEvent(XERCESC_NS::DOMElement* state, XERCESC_NS::DOMElement* doneData);
54 
55  virtual Data elementAsData(XERCESC_NS::DOMElement* element, bool asExpression = false);
56 
57 protected:
58  void processNameLists(std::map<std::string, Data>& nameMap, XERCESC_NS::DOMElement* element);
59  void processParams(std::multimap<std::string, Data>& paramMap, XERCESC_NS::DOMElement* element);
60 
61 };
62 
63 }
64 
65 #endif /* end of include guard: BASICCONTENTEXECUTOR_H_B873199D */
Definition: Breakpoint.cpp:26
Definition: BasicContentExecutor.h:33
Definition: Breakpoint.h:30
Definition: ContentExecutorImpl.h:86
Definition: ContentExecutorImpl.h:46
Definition: Data.h:44