![]() |
OpendTect-6_4
6.4
|
Class to encapsulate a message to the user. More...
Public Types | |
| enum | Type { Info, Message, Warning, Error, ProgrammerError } |
Public Member Functions | |
| MsgClass (const char *s, Type t=Info) | |
Public Member Functions inherited from CallBacker | |
| CallBacker () | |
| CallBacker (const CallBacker &) | |
| virtual | ~CallBacker () |
| bool | attachCB (NotifierAccess &, const CallBack &, bool onlyifnew=false) |
| bool | attachCB (NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) |
| void | detachCB (NotifierAccess &, const CallBack &) |
| void | detachCB (NotifierAccess *notif, const CallBack &cb) |
| bool | isNotifierAttached (NotifierAccess *) const |
| Only for debugging purposes, don't use. More... | |
Static Public Member Functions | |
| static CallBack & | theCB (const CallBack *cb=0) |
| pass non-null to set the CB More... | |
| static const char * | nameOf (Type) |
Public Attributes | |
| const char * | msg |
| Type | type_ |
Additional Inherited Members | |
Protected Member Functions inherited from CallBacker | |
| void | detachAllNotifiers () |
| Call from the destructor of your inherited object. More... | |
Class to encapsulate a message to the user.
Along with the message there's also a type. In any case, there's a handler for when UsrMsg is called: theCB. If it is not set, messages go to cerr.
| enum MsgClass::Type |
|
static |
| const char* MsgClass::msg |
| Type MsgClass::type_ |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019