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/geno_test.cpp

    r365 r372  
    66#include <frams/util/sstringutils.h>
    77#include <frams/genetics/preconfigured.h>
    8 #include <frams/errmgr/stdouterr.h>
     8#include <frams/mhandlers/stdouthandler.h>
    99
    1010/**
     
    1818{
    1919        PreconfiguredGenetics genetics;
    20         StdoutErrorHandler stdouterr; //comment this object out to mute error/warning messages
     20        MessageHandlerToStdout messages_to_stdout(MessageHandlerBase::Enable); //comment this object out to mute error/warning messages
    2121
    2222        if (argc <= 1)
Note: See TracChangeset for help on using the changeset viewer.