Event.h File Reference
Include dependency graph for Event.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  uscxml::ErrorEvent
 
class  uscxml::Event
 

Macros

#define ERROR_COMMUNICATION(identifier, cause)
 
#define ERROR_COMMUNICATION2(identifier, cause, node)
 
#define ERROR_COMMUNICATION_THROW(cause)
 
#define ERROR_COMMUNICATION_THROW2(cause, node)
 
#define ERROR_EXECUTION(identifier, cause)
 
#define ERROR_EXECUTION2(identifier, cause, node)
 
#define ERROR_EXECUTION_THROW(cause)
 
#define ERROR_EXECUTION_THROW2(cause, node)
 
#define ERROR_PLATFORM_THROW(msg)
 

Functions

std::ostream & uscxml::operator<< (std::ostream &os, const Event &event)
 

Detailed Description

Macro Definition Documentation

#define ERROR_COMMUNICATION (   identifier,
  cause 
)
Value:
uscxml::ErrorEvent identifier; \
identifier.data.compound["cause"] = uscxml::Data(cause, uscxml::Data::VERBATIM); \
identifier.name = "error.communication"; \
identifier.eventType = uscxml::Event::PLATFORM;
Definition: Event.h:197
Definition: Data.h:43
#define ERROR_COMMUNICATION2 (   identifier,
  cause,
  node 
)
Value:
uscxml::ErrorEvent identifier; \
identifier.data.compound["cause"] = uscxml::Data(cause, uscxml::Data::VERBATIM); \
identifier.name = "error.communication"; \
identifier.data.compound["xpath"] = uscxml::Data(DOMUtils::xPathForNode(node), uscxml::Data::VERBATIM); \
identifier.eventType = uscxml::Event::PLATFORM;
Definition: Event.h:197
Definition: Data.h:43
#define ERROR_COMMUNICATION_THROW (   cause)
Value:
{\
ERROR_COMMUNICATION(exc, cause); \
throw exc;\
}
#define ERROR_COMMUNICATION_THROW2 (   cause,
  node 
)
Value:
{\
ERROR_COMMUNICATION(exc, cause, node); \
throw exc;\
}
#define ERROR_EXECUTION (   identifier,
  cause 
)
Value:
uscxml::ErrorEvent identifier; \
identifier.data.compound["cause"] = uscxml::Data(cause, uscxml::Data::VERBATIM); \
identifier.name = "error.execution"; \
identifier.eventType = uscxml::Event::PLATFORM;
Definition: Event.h:197
Definition: Data.h:43
#define ERROR_EXECUTION2 (   identifier,
  cause,
  node 
)
Value:
uscxml::ErrorEvent identifier; \
identifier.data.compound["cause"] = uscxml::Data(cause, uscxml::Data::VERBATIM); \
identifier.name = "error.execution"; \
identifier.data.compound["xpath"] = uscxml::Data(DOMUtils::xPathForNode(node), uscxml::Data::VERBATIM); \
identifier.eventType = uscxml::Event::PLATFORM;
Definition: Event.h:197
Definition: Data.h:43
#define ERROR_EXECUTION_THROW (   cause)
Value:
{\
ERROR_EXECUTION(exc, cause); \
throw exc;\
}
#define ERROR_EXECUTION_THROW2 (   cause,
  node 
)
Value:
{\
ERROR_EXECUTION2(exc, cause, node); \
throw exc;\
}
#define ERROR_PLATFORM_THROW (   msg)
Value:
ErrorEvent e; \
e.name = "error.platform"; \
e.data.compound["cause"] = Data(msg, Data::VERBATIM); \
throw e; \