|
LSSTApplications
8.0.0.0+107,8.0.0.1+13,9.1+18,9.2,master-g084aeec0a4,master-g0aced2eed8+6,master-g15627eb03c,master-g28afc54ef9,master-g3391ba5ea0,master-g3d0fb8ae5f,master-g4432ae2e89+36,master-g5c3c32f3ec+17,master-g60f1e072bb+1,master-g6a3ac32d1b,master-g76a88a4307+1,master-g7bce1f4e06+57,master-g8ff4092549+31,master-g98e65bf68e,master-ga6b77976b1+53,master-gae20e2b580+3,master-gb584cd3397+53,master-gc5448b162b+1,master-gc54cf9771d,master-gc69578ece6+1,master-gcbf758c456+22,master-gcec1da163f+63,master-gcf15f11bcc,master-gd167108223,master-gf44c96c709
LSSTDataManagementBasePackage
|
Representation of an LSST Event. More...
#include <Event.h>
Public Member Functions | |
| Event () | |
| Event (const std::string &runid, const PropertySet::Ptr ps) | |
| Event (const std::string &runid, const PropertySet &ps) | |
| Event (cms::TextMessage *msg) | |
| virtual | ~Event () |
| destructor More... | |
| PropertySet::Ptr | getPropertySet () const |
| std::string | getPubDate () |
| Get the publication date of this event. More... | |
| long long | getPubTime () |
| void | setPubTime (long long t) |
| long long | getEventTime () |
| void | setEventTime (long long nsecs) |
| void | updateEventTime () |
| std::string | getEventDate () |
| Get the creation date of this event. More... | |
| std::string | getHostId () |
| std::string | getRunId () |
| std::string | getType () |
| std::string | getStatus () |
| void | setStatus (std::string status) |
| void | setTopic (std::string topic) |
| std::string | getTopic () |
| vector< std::string > | getFilterablePropertyNames () |
| vector< std::string > | getCustomPropertyNames () |
| PropertySet::Ptr | getCustomPropertySet () const |
| virtual void | populateHeader (cms::TextMessage *msg) const |
| void | marshall (cms::TextMessage *msg) |
| ExceptionEvent () | |
| ExceptionEvent (const std::string &runid, const LSSTException ex) | |
| ExceptionEvent (cms::TextMessage *msg) | |
| ~LogEvent () | |
| void | populateHeader (cms::TextMessage *msg) |
| std::string | getExceptionType () |
| std::string | getStackTrace () |
Static Public Attributes | |
| static const std::string | TYPE = "TYPE" |
| Creates Event which contains a PropertySet. More... | |
| static const std::string | EVENTTIME = "EVENTTIME" |
| static const std::string | HOSTID = "HOSTID" |
| static const std::string | RUNID = "RUNID" |
| static const std::string | STATUS = "STATUS" |
| static const std::string | TOPIC = "TOPIC" |
| static const std::string | PUBTIME = "PUBTIME" |
| static const std::string | UNINITIALIZED = "uninitialized" |
| static const std::string | EXCEPTIONTYPE |
| static const std::string | STACKTRACE |
Protected Member Functions | |
| void | _init () |
| void | _constructor (const std::string &runid, const PropertySet &ps) |
| void | splitString (std::string str, std::string delim, std::vector< std::string > &results) |
| void | splitTuple (std::string str, std::string delim, std::vector< std::string > &results) |
Protected Attributes | |
| PropertySet::Ptr | _psp |
| set< std::string > | _keywords |
Private Member Functions | |
| std::string | marshall (const PropertySet &ps) |
| PropertySet::Ptr | processTextMessage (cms::TextMessage *textMessage) |
| PropertySet::Ptr | unmarshall (const std::string &text) |
| void | _init () |
Representation of an LSST Event.
Representation of an LSST ExceptionEvent.
| lsst.ctrl.events::Event::Event | ( | ) |
| lsst.ctrl.events::Event::Event | ( | const std::string & | runid, |
| const PropertySet::Ptr | ps | ||
| ) |
Definition at line 145 of file Event.cc.
| lsst.ctrl.events::Event::Event | ( | const std::string & | runid, |
| const PropertySet & | ps | ||
| ) |
Definition at line 149 of file Event.cc.
| lsst.ctrl.events::Event::Event | ( | cms::TextMessage * | msg | ) |
Definition at line 104 of file Event.cc.
|
virtual |
| lsst.ctrl.events::Event::~LogEvent | ( | ) |
|
protected |
Definition at line 153 of file Event.cc.
|
private |
|
protected |
Definition at line 94 of file Event.cc.
| lsst.ctrl.events::Event::ExceptionEvent | ( | ) |
| lsst.ctrl.events::Event::ExceptionEvent | ( | const std::string & | runid, |
| const LSSTException | ex | ||
| ) |
| lsst.ctrl.events::Event::ExceptionEvent | ( | cms::TextMessage * | msg | ) |
| vector< std::string > lsst.ctrl.events::Event::getCustomPropertyNames | ( | ) |
| PropertySet::Ptr lsst.ctrl.events::Event::getCustomPropertySet | ( | ) | const |
| std::string lsst.ctrl.events::Event::getEventDate | ( | ) |
Get the creation date of this event.
Definition at line 226 of file Event.cc.
| std::string lsst.ctrl.events::Event::getExceptionType | ( | ) |
| vector< std::string > lsst.ctrl.events::Event::getFilterablePropertyNames | ( | ) |
| PropertySet::Ptr lsst.ctrl.events::Event::getPropertySet | ( | ) | const |
| std::string lsst.ctrl.events::Event::getPubDate | ( | ) |
Get the publication date of this event.
Definition at line 264 of file Event.cc.
| std::string lsst.ctrl.events::Event::getStackTrace | ( | ) |
| std::string lsst.ctrl.events::Event::getType | ( | void | ) |
Definition at line 284 of file Event.cc.
| void lsst.ctrl.events::Event::marshall | ( | cms::TextMessage * | msg | ) |
Definition at line 304 of file Event.cc.
|
private |
Definition at line 314 of file Event.cc.
| void lsst.ctrl.events::Event::populateHeader | ( | cms::TextMessage * | msg | ) |
|
virtual |
Reimplemented in lsst.ctrl.events::PipelineLogEvent, lsst.ctrl.events::CommandEvent, lsst.ctrl.events::LogEvent, and lsst.ctrl.events::StatusEvent.
Definition at line 201 of file Event.cc.
|
private |
private method unmarshall the DataProperty from the TextMessage
Definition at line 376 of file Event.cc.
| void lsst.ctrl.events::Event::setEventTime | ( | long long | nsecs | ) |
| void lsst.ctrl.events::Event::setStatus | ( | std::string | status | ) |
| void lsst.ctrl.events::Event::setTopic | ( | std::string | topic | ) |
|
protected |
|
protected |
|
private |
private method unmarshall the DataProperty from a text string
Definition at line 387 of file Event.cc.
|
protected |
|
protected |
|
static |
|
static |
Definition at line 57 of file ExceptionEvent.h.
|
static |
|
static |
|
static |
|
static |
Definition at line 58 of file ExceptionEvent.h.
|
static |
|
static |
|
static |
|
static |
1.8.5