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

    r361 r372  
    55
    66#include <vector>
    7 #include "frams/errmgr/stdouterr.h"
     7#include "frams/mhandlers/stdouthandler.h"
    88#include "frams/_demos/genotypeloader.h"
    99#include "frams/genetics/preconfigured.h"
     
    3939int main(int argc, char *argv[])
    4040{
    41     StdoutErrorHandler stdouterr; //comment this object out to mute error/warning messages
     41    MessageHandlerToStdout messages_to_stdout(MessageHandlerBase::Enable);
    4242    typedef double *pDouble;
    4343    int iCurrParam = 0; // index of the currently processed parameter
Note: See TracChangeset for help on using the changeset viewer.