Ignore:
Timestamp:
04/22/15 04:14:59 (9 years ago)
Author:
sz
Message:

Renamed some classes and functions to make their purpose more obvious:

All MessageHandlers? must now be given the explicit "Enable" argument if you want them to automatically become active. This makes side effects clearly visible.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/_demos/genooper_test.cpp

    r348 r372  
    33// See LICENSE.txt for details.
    44
    5 #include <frams/errmgr/stdouterr.h>
     5#include <frams/mhandlers/stdouthandler.h>
    66#include <frams/genetics/preconfigured.h>
    77
     
    2121int main(int argc, char *argv[])
    2222{
    23         StdoutErrorHandler err;//the default ErrorHandler constructor automatically registers this object to receive framsg messages (and in this case, redirect them to standard output)
     23        MessageHandlerToStdout messages_to_stdout(MessageHandlerBase::Enable);
    2424        PreconfiguredGenetics genetics;
    2525
Note: See TracChangeset for help on using the changeset viewer.