#include <messageVI.h>
Inheritance diagram for messageVI:
Public Methods | |
bool | acceptLevel () const |
returns true is the info should be expresed. More... | |
virtual void | writeOut () const |
base virtual method to write information of the derived class via the messageManager. | |
Protected Methods | |
messageVI () | |
constructor - set the level to the lowest. | |
virtual | ~messageVI () |
destructor. | |
virtual void | setName (std::string name) |
add this object it into the messageManager server with a given name. | |
void | setLevel (std::string lev) |
sets the Level - make a conversion from string to enum LEVEL. | |
virtual void | message (std::string message, std::string slevel = "") const |
send string messages to the messageManager. More... | |
virtual void | message (std::string message, double value, std::string slevel = "") const |
send double value messages to the messageManager. | |
enum messageBase::LEVEL | getLevel () const |
returns the enum LEVEL of this class. | |
Private Attributes | |
enum messageBase::LEVEL | m_level |
level of this class. | |
Friends | |
class | messageManager |
message()
allows the derived class to send messages (either strings, or string + double values) to the messageManager. acceptLevel()
indicates when the level of the class is superior to the level of the messageManager. writeOut()
is the place where the derived class should put the information that wants to write out. this method could/should be overwriten by the User. setName()
set the derived object into the server of messageManager, the object will be refered with its name.
Definition at line 28 of file messageVI.h.
|
|
|
returns true is the info should be expresed.
compare the level of the derived class with those one of the messageManager
Definition at line 27 of file messageVI.cpp.
|
|
send double value messages to the messageManager.
Reimplemented in messageManager.
Definition at line 20 of file messageVI.cpp.
|
send string messages to the messageManager.
add this object into the messageManager server
Reimplemented in messageManager.
Definition at line 13 of file messageVI.cpp.
|
sets the Level - make a conversion from string to enum LEVEL.
Definition at line 53 of file messageVI.h.
|
add this object it into the messageManager server with a given name.
Reimplemented from nameVI.
Reimplemented in serviceI.
Definition at line 5 of file messageVI.cpp.
|
base virtual method to write information of the derived class via the messageManager.
Reimplemented in IOfileServer, algConditionalTask, algorithmTask, cutSelection, cutSelectionTask, dataDetectorServer, dataEventServer, dataManager, eventTask, messageManager, processManager, and selectionManager.
Definition at line 33 of file messageVI.cpp.
|
Definition at line 31 of file messageVI.h.
|