X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fsrc%2FbbtkMessageManager.h;h=898bc7fb1cf4f8ff89954ec87d6132324b8c6f77;hb=71376d8384d5d21b5c56d36ecc8cbf31315c039a;hp=221c986f60c4d708ce60f1afb8c01659a9ff57dc;hpb=a26195c366a89795288009cf7e20f11afa494970;p=bbtk.git diff --git a/kernel/src/bbtkMessageManager.h b/kernel/src/bbtkMessageManager.h index 221c986..898bc7f 100644 --- a/kernel/src/bbtkMessageManager.h +++ b/kernel/src/bbtkMessageManager.h @@ -9,12 +9,12 @@ - Warnings - Errors There are also "types" of messages which are strings which identify the nature of the message - (for example : "Core" messages are generated by the core classes of the librairy, there can be a type of + (for example : "Kernel" messages are generated by the core classes of the library, there can be a type of message for each type of Node, and so on...) A type of message must be declared by registering it into the MessageManager. This is done by a line like : - bbtk::MessageManager::RegisterMessageType("Core","Messages generated by the core classes of the library",5); + bbtk::MessageManager::RegisterMessageType("Kernel","Messages generated by the core classes of the library",5); where : - -The first string is the type of the message (the keyword which will be used to generate a message of this type) + -The first string is the type of the message (the category which will be used to generate a message of this type) -The second string is help string -The integer is the initial level for the messages of this type (see below). @@ -23,16 +23,16 @@ example : - bbtkMessage("Core",4,"problem with "<