Ignore:
Timestamp:
04/22/15 04:14:59 (5 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/genomanipulation.cpp

    r348 r372  
    1010#include <frams/model/model.h>
    1111#include <frams/genetics/preconfigured.h>
    12 #include <frams/errmgr/stdouterr.h>
     12#include <frams/mhandlers/stdouthandler.h>
    1313
    1414/**
     
    266266int main(int argc,char*argv[])
    267267{
    268 StdoutErrorHandler err; //redirect model-related errors to stdout
     268MessageHandlerToStdout messages_to_stdout(MessageHandlerBase::Enable); //redirect model-related errors to stdout
    269269
    270270srand(time(0));
Note: See TracChangeset for help on using the changeset viewer.