|
Gaudi Framework, version v24r2 |
| Home | Generated: Wed Dec 4 2013 |
#include <MessageSvc.h>


Classes | |
| struct | MsgAry |
| Private helper class to keep the count of messages of a type (MSG::LEVEL). More... | |
Public Types | |
| typedef std::pair< std::string, std::ostream * > | NamedStream |
| typedef std::multimap< int, NamedStream > | StreamMap |
| typedef std::multimap < StatusCode, Message > | MessageMap |
| typedef std::map< std::string, int > | ThresholdMap |
Public Types inherited from extends2< Service, IMessageSvc, IInactiveMessageCounter > | |
| typedef extends2 | base_class |
| Typedef to this class. | |
| typedef extend_interfaces2 < IMessageSvc, IInactiveMessageCounter > | extend_interfaces_base |
| Typedef to the base of this class. | |
| typedef extend_interfaces_base::ext_iids | interfaces |
| MPL set of all the implemented interfaces. | |
Public Types inherited from extend_interfaces2< I1, I2 > | |
| typedef mpl::fold< typename I1::iid::iids::type, typename I2::iid::iids::type, mpl::insert< mpl::_1, mpl::_2 > >::type | ext_iids |
| MPL set of interfaces extended by this one. | |
Public Member Functions | |
| MessageSvc (const std::string &name, ISvcLocator *svcloc) | |
| virtual | ~MessageSvc () |
| virtual StatusCode | reinitialize () |
| Reinitialize Service. | |
| virtual StatusCode | initialize () |
| Initialize Service. | |
| virtual StatusCode | finalize () |
| Finalize Service. | |
| virtual void | reportMessage (const Message &message) |
| virtual void | reportMessage (const Message &msg, int outputLevel) |
| virtual void | reportMessage (const StatusCode &code, const std::string &source="") |
| virtual void | reportMessage (const char *source, int type, const char *message) |
| virtual void | reportMessage (const std::string &source, int type, const std::string &message) |
| virtual void | insertMessage (const StatusCode &code, const Message &message) |
| virtual void | eraseMessage () |
| virtual void | eraseMessage (const StatusCode &code) |
| virtual void | eraseMessage (const StatusCode &code, const Message &message) |
| virtual void | insertStream (int message_type, const std::string &name, std::ostream *stream) |
| virtual void | eraseStream () |
| virtual void | eraseStream (int message_type) |
| virtual void | eraseStream (int message_type, std::ostream *stream) |
| virtual void | eraseStream (std::ostream *stream) |
| virtual std::ostream * | defaultStream () const |
| virtual void | setDefaultStream (std::ostream *stream) |
| virtual int | outputLevel () const |
| virtual int | outputLevel (const std::string &source) const |
| virtual void | setOutputLevel (int new_level) |
| virtual void | setOutputLevel (const std::string &source, int new_level) |
| virtual bool | useColor () const |
| virtual std::string | getLogColor (int logLevel) const |
| virtual int | messageCount (MSG::Level logLevel) const |
| virtual void | incrInactiveCount (MSG::Level level, const std::string &src) |
Public Member Functions inherited from extends2< Service, IMessageSvc, IInactiveMessageCounter > | |
| extends2 (A1 a1, A2 a2, A3 a3) | |
| Templated constructor with 3 arguments. | |
| extends2 (A1 a1, A2 a2) | |
| Templated constructor with 2 arguments. | |
| extends2 (A1 a1) | |
| Templated constructor with 1 argument. | |
| extends2 () | |
| Default constructor. | |
| virtual void * | i_cast (const InterfaceID &tid) const |
| Implementation of IInterface::i_cast. | |
| virtual StatusCode | queryInterface (const InterfaceID &ti, void **pp) |
| Implementation of IInterface::queryInterface. | |
| virtual std::vector< std::string > | getInterfaceNames () const |
| Implementation of IInterface::getInterfaceNames. | |
| virtual | ~extends2 () |
| Virtual destructor. | |
Public Member Functions inherited from Service | |
| virtual unsigned long | release () |
| Release Interface instance. | |
| virtual const std::string & | name () const |
| Retrieve name of the service. | |
| virtual StatusCode | configure () |
| virtual StatusCode | start () |
| virtual StatusCode | stop () |
| virtual StatusCode | terminate () |
| virtual Gaudi::StateMachine::State | FSMState () const |
| virtual Gaudi::StateMachine::State | targetFSMState () const |
| virtual StatusCode | restart () |
| virtual StatusCode | sysInitialize () |
| Initialize Service. | |
| virtual StatusCode | sysStart () |
| Initialize Service. | |
| virtual StatusCode | sysStop () |
| Initialize Service. | |
| virtual StatusCode | sysFinalize () |
| Finalize Service. | |
| virtual StatusCode | sysReinitialize () |
| Re-initialize the Service. | |
| virtual StatusCode | sysRestart () |
| Re-initialize the Service. | |
| virtual StatusCode | setProperty (const Property &p) |
| virtual StatusCode | setProperty (const std::string &s) |
| virtual StatusCode | setProperty (const std::string &n, const std::string &v) |
| virtual StatusCode | getProperty (Property *p) const |
| virtual const Property & | getProperty (const std::string &name) const |
| virtual StatusCode | getProperty (const std::string &n, std::string &v) const |
| virtual const std::vector < Property * > & | getProperties () const |
| template<class TYPE > | |
| StatusCode | setProperty (const std::string &name, const TYPE &value) |
| set the property form the value | |
| Service (const std::string &name, ISvcLocator *svcloc) | |
| Standard Constructor. | |
| SmartIF< ISvcLocator > & | serviceLocator () const |
| Retrieve pointer to service locator. | |
| StatusCode | setProperties () |
| Method for setting declared properties to the values specified for the job. | |
| template<class T > | |
| StatusCode | service (const std::string &name, const T *&psvc, bool createIf=true) const |
| Access a service by name, creating it if it doesn't already exist. | |
| template<class T > | |
| StatusCode | service (const std::string &name, T *&psvc, bool createIf=true) const |
| template<class T > | |
| StatusCode | service (const std::string &svcType, const std::string &svcName, T *&psvc) const |
| Access a service by name and type, creating it if it doesn't already exist. | |
| template<class T > | |
| Property * | declareProperty (const std::string &name, T &property, const std::string &doc="none") const |
| Declare the named property. | |
| Property * | declareRemoteProperty (const std::string &name, IProperty *rsvc, const std::string &rname="") const |
| Declare remote named properties. | |
| SmartIF< IAuditorSvc > & | auditorSvc () const |
| The standard auditor service.May not be invoked before sysInitialize() has been invoked. | |
Public Member Functions inherited from CommonMessaging< implements3< IService, IProperty, IStateful > > | |
| CommonMessaging (const A1 &a1, const A2 &a2, const A3 &a3) | |
| Templated constructor with 3 arguments. | |
| CommonMessaging (const A1 &a1, const A2 &a2) | |
| Templated constructor with 2 arguments. | |
| CommonMessaging (const A1 &a1) | |
| Templated constructor with 1 argument. | |
| CommonMessaging () | |
| Default constructor. | |
| virtual | ~CommonMessaging () |
| Virtual destructor. | |
| SmartIF< IMessageSvc > & | msgSvc () const |
| The standard message service. | |
| MsgStream & | msgStream () const |
| Return an uninitialized MsgStream. | |
| MsgStream & | msgStream (const MSG::Level level) const |
| Predefined configurable message stream for the efficient printouts. | |
| MsgStream & | always () const |
| shortcut for the method msgStream(MSG::ALWAYS) | |
| MsgStream & | fatal () const |
| shortcut for the method msgStream(MSG::FATAL) | |
| MsgStream & | err () const |
| shortcut for the method msgStream(MSG::ERROR) | |
| MsgStream & | error () const |
| shortcut for the method msgStream(MSG::ERROR) | |
| MsgStream & | warning () const |
| shortcut for the method msgStream(MSG::WARNING) | |
| MsgStream & | info () const |
| shortcut for the method msgStream(MSG::INFO) | |
| MsgStream & | debug () const |
| shortcut for the method msgStream(MSG::DEBUG) | |
| MsgStream & | verbose () const |
| shortcut for the method msgStream(MSG::VERBOSE) | |
| MsgStream & | msg () const |
| shortcut for the method msgStream(MSG::INFO) | |
| MSG::Level | msgLevel () const |
| get the output level from the embedded MsgStream | |
| bool | msgLevel (MSG::Level lvl) const |
| get the output level from the embedded MsgStream | |
Public Member Functions inherited from extend_interfaces2< I1, I2 > | |
| virtual | ~extend_interfaces2 () |
| Virtual destructor. | |
Private Types | |
| typedef std::map< std::string, MSG::Color > | ColorMap |
| typedef std::map< std::string, std::ostream * > | LoggedStreamsMap_t |
Private Member Functions | |
| std::string | colTrans (std::string, int) |
| void | initColors (Property &prop) |
| void | setupColors (Property &prop) |
| void | setupLimits (Property &prop) |
| void | setupThreshold (Property &prop) |
| void | setupInactCount (Property &prop) |
| void | setupLogStreams () |
| void | tee (const std::string &sourceName, const std::string &logFileName, const std::set< std::string > &declaredOutFileNames) |
Additional Inherited Members | |
Protected Member Functions inherited from Service | |
| virtual | ~Service () |
| Standard Destructor. | |
| int | outputLevel () const |
get the Service's output level | |
Protected Attributes inherited from Service | |
| IntegerProperty | m_outputLevel |
| Service output level. | |
| Gaudi::StateMachine::State | m_state |
| Service state. | |
| Gaudi::StateMachine::State | m_targetState |
| Service state. | |
Definition at line 31 of file MessageSvc.h.
|
private |
Definition at line 166 of file MessageSvc.h.
|
private |
Definition at line 172 of file MessageSvc.h.
| typedef std::multimap< StatusCode, Message > MessageSvc::MessageMap |
Definition at line 35 of file MessageSvc.h.
| typedef std::pair< std::string, std::ostream* > MessageSvc::NamedStream |
Definition at line 33 of file MessageSvc.h.
| typedef std::multimap< int, NamedStream > MessageSvc::StreamMap |
Definition at line 34 of file MessageSvc.h.
| typedef std::map< std::string, int > MessageSvc::ThresholdMap |
Definition at line 36 of file MessageSvc.h.
| MessageSvc::MessageSvc | ( | const std::string & | name, |
| ISvcLocator * | svcloc | ||
| ) |
Definition at line 27 of file MessageSvc.cpp.
|
virtual |
Definition at line 101 of file MessageSvc.cpp.
|
private |
Definition at line 462 of file MessageSvc.cpp.
|
inlinevirtual |
Definition at line 93 of file MessageSvc.h.
|
virtual |
Definition at line 735 of file MessageSvc.cpp.
|
virtual |
Definition at line 749 of file MessageSvc.cpp.
|
virtual |
Definition at line 763 of file MessageSvc.cpp.
|
virtual |
Definition at line 646 of file MessageSvc.cpp.
|
virtual |
Definition at line 658 of file MessageSvc.cpp.
|
virtual |
Definition at line 670 of file MessageSvc.cpp.
|
virtual |
Definition at line 695 of file MessageSvc.cpp.
|
virtual |
Finalize Service.
Reimplemented from Service.
Definition at line 333 of file MessageSvc.cpp.
|
virtual |
Definition at line 829 of file MessageSvc.cpp.
|
virtual |
Definition at line 847 of file MessageSvc.cpp.
|
private |
Definition at line 156 of file MessageSvc.cpp.
|
virtual |
Initialize Service.
Reimplemented from Service.
Definition at line 115 of file MessageSvc.cpp.
|
virtual |
Definition at line 720 of file MessageSvc.cpp.
|
virtual |
Definition at line 631 of file MessageSvc.cpp.
|
virtual |
Definition at line 839 of file MessageSvc.cpp.
|
virtual |
Definition at line 784 of file MessageSvc.cpp.
|
virtual |
Definition at line 790 of file MessageSvc.cpp.
|
virtual |
|
virtual |
Definition at line 557 of file MessageSvc.cpp.
Definition at line 485 of file MessageSvc.cpp.
|
virtual |
Definition at line 594 of file MessageSvc.cpp.
|
virtual |
Definition at line 567 of file MessageSvc.cpp.
|
virtual |
Definition at line 580 of file MessageSvc.cpp.
|
inlinevirtual |
Definition at line 98 of file MessageSvc.h.
|
virtual |
Definition at line 806 of file MessageSvc.cpp.
|
virtual |
Definition at line 812 of file MessageSvc.cpp.
|
private |
Definition at line 198 of file MessageSvc.cpp.
|
private |
Definition at line 321 of file MessageSvc.cpp.
|
private |
Definition at line 250 of file MessageSvc.cpp.
|
private |
Definition at line 854 of file MessageSvc.cpp.
|
private |
Definition at line 277 of file MessageSvc.cpp.
|
private |
Definition at line 892 of file MessageSvc.cpp.
|
inlinevirtual |
Definition at line 116 of file MessageSvc.h.
|
private |
Definition at line 167 of file MessageSvc.h.
|
private |
Definition at line 138 of file MessageSvc.h.
|
private |
Default format for the messages.
Definition at line 135 of file MessageSvc.h.
|
private |
Default Message.
Definition at line 131 of file MessageSvc.h.
|
private |
Pointer to the output stream.
Definition at line 130 of file MessageSvc.h.
|
private |
Default format for timestamps in the messages.
Definition at line 136 of file MessageSvc.h.
|
private |
Definition at line 163 of file MessageSvc.h.
|
private |
Definition at line 162 of file MessageSvc.h.
|
private |
Definition at line 144 of file MessageSvc.h.
|
private |
Definition at line 141 of file MessageSvc.h.
|
private |
Definition at line 173 of file MessageSvc.h.
|
private |
Definition at line 171 of file MessageSvc.h.
|
private |
Message map.
Definition at line 133 of file MessageSvc.h.
|
mutableprivate |
Mutex to synchronize multiple access to m_messageMap.
Definition at line 190 of file MessageSvc.h.
|
private |
Definition at line 169 of file MessageSvc.h.
|
private |
Definition at line 142 of file MessageSvc.h.
|
mutableprivate |
Mutex to synchronize multiple threads printing.
Definition at line 187 of file MessageSvc.h.
|
private |
Definition at line 162 of file MessageSvc.h.
|
private |
Definition at line 140 of file MessageSvc.h.
|
private |
Definition at line 139 of file MessageSvc.h.
|
private |
Stream map.
Definition at line 132 of file MessageSvc.h.
|
private |
Definition at line 163 of file MessageSvc.h.
|
private |
Output level threshold map.
Definition at line 134 of file MessageSvc.h.
|
mutableprivate |
Mutex to synchronize multiple access to m_thresholdMap (.
Definition at line 194 of file MessageSvc.h.
|
private |
Properties controlling.
Definition at line 137 of file MessageSvc.h.