- Main Page
- Classes
- Files

- File List
- File Members

# contrib/MatlabInterface/src/matlabjournal.hpp

Go to the documentation of this file.

    00001 // Copyright (C) 2007 Peter Carbonetto. All Rights Reserved.
    00002 // This code is published under the Eclipse 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 "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
    00030     // These functions override the functions in the Journal class.
    00031     virtual void PrintImpl  (EJournalCategory category, EJournalLevel level,
    00032                  const char* str);
    00033     virtual void PrintfImpl (EJournalCategory category, EJournalLevel level,
    00034                  const char* pformat, va_list ap);
    00035     virtual void FlushBufferImpl();
    00036   };
    00037 }
    00038
    00039 #endif

All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines