49 namespace pexExceptions =lsst::pex::exceptions;
57 EventFactory::EventFactory() {
60 EventFactory::~EventFactory() {
63 Event* EventFactory::createEvent(cms::TextMessage* msg) {
64 vector<std::string> names = msg->getPropertyNames();
66 std::string _type = msg->getStringProperty(
"TYPE");
70 }
else if (_type == EventTypes::STATUS) {
72 }
else if (_type == EventTypes::COMMAND) {
75 return new Event(msg);
Representation of an LSST Event.
Representation of an LSST Event.
Representation of an LSST CommandEvent.
defines the EventFactory class
defines the EventLibrary class
defines the CommandEvent class
#define LOG(logger, level, message...)
defines the LogEvent class
Representation of an LSST Event.
defines the StatusEvent class
Interface for PropertySet class.
Include files required for standard LSST Exception handling.