Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port message handling to fmatvec::Atom #37

Open
GoogleCodeExporter opened this issue Apr 24, 2015 · 0 comments
Open

Port message handling to fmatvec::Atom #37

GoogleCodeExporter opened this issue Apr 24, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

The fmatvec::Atom class provided now a general message handling functionallity. 
All MBSim code should be switched to this:

Details:
- Derive all MBSim classes from fmatvec::Atom (if not already done)
- Replace all occurence of std::cout<<... and std::cerr<<... by
  msg(Info)<<... or msg(Warn)<<...
- Maybe add more message types to fmatvec::Atom e.g. "Progress" for the
  time prints; "Warn2" for higher warning levels; ...
- But do not add a "Error" message type since errors should stop the
  simulation and hence throw MBSimError instead of printing messages
- Remove all DEBUGLEVEL, warnLevel, ... variables in MBSim and replace these
  by proper msgAct(<MessageLevel) calles.

Original issue reported on code.google.com by friedrich.at.gc@googlemail.com on 21 Jun 2014 at 3:55

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant