/home/coin/SVN-release/CoinAll-1.1.0/Ipopt/contrib/MatlabInterface/src/matlabjournal.h

Go to the documentation of this file.
00001 // Copyright (C) 2007 Peter Carbonetto. All Rights Reserved.
00002 // This code is published under the Common Public License.
00003 //
00004 // Author: Peter Carbonetto
00005 //         Dept. of Computer Science
00006 //         University of British Columbia
00007 //         May 19, 2007
00008 
00009 #ifndef INCLUDE_MATLABJOURNAL
00010 #define INCLUDE_MATLABJOURNAL
00011 
00012 #include "coin/IpJournalist.hpp"
00013 
00014 namespace Ipopt {
00015 
00016   // Class MatlabJournal.
00017   // ---------------------------------------------------------------
00018   // This class encapsulates journal output to the MATLAB console.
00019   class MatlabJournal : public Journal {
00020   public:
00021 
00022     // The constructor.
00023     MatlabJournal (EJournalLevel default_level);
00024 
00025     // The destructor.
00026     virtual ~MatlabJournal() { };
00027 
00028   protected:
00029     virtual void PrintImpl      (EJournalCategory category, EJournalLevel level, const char* str);
00030     virtual void PrintfImpl     (EJournalCategory category, EJournalLevel level, const char* pformat, va_list ap);
00031     virtual void FlushBufferImpl();
00032   };
00033 }
00034 
00035 #endif

Generated on Sun Nov 14 14:06:33 2010 for Coin-All by  doxygen 1.4.7