Ipopt 3.11.9
Loading...
Searching...
No Matches
matlabjournal.hpp
Go to the documentation of this file.
1// Copyright (C) 2007 Peter Carbonetto. All Rights Reserved.
2// This code is published under the Eclipse Public License.
3//
4// Author: Peter Carbonetto
5// Dept. of Computer Science
6// University of British Columbia
7// May 19, 2007
8
9#ifndef INCLUDE_MATLABJOURNAL
10#define INCLUDE_MATLABJOURNAL
11
12#include "IpJournalist.hpp"
13
14namespace Ipopt {
15
16 // Class MatlabJournal.
17 // ---------------------------------------------------------------
18 // This class encapsulates journal output to the MATLAB console.
19 class MatlabJournal : public Journal {
20 public:
21
22 // The constructor.
24
25 // The destructor.
26 virtual ~MatlabJournal() { };
27
28 protected:
29
30 // These functions override the functions in the Journal class.
31 virtual void PrintImpl (EJournalCategory category, EJournalLevel level,
32 const char* str);
33 virtual void PrintfImpl (EJournalCategory category, EJournalLevel level,
34 const char* pformat, va_list ap);
35 virtual void FlushBufferImpl();
36 };
37}
38
39#endif
Journal class (part of the Journalist implementation.).
virtual void PrintImpl(EJournalCategory category, EJournalLevel level, const char *str)
Print to the designated output location.
virtual void FlushBufferImpl()
Flush output buffer.
MatlabJournal(EJournalLevel default_level)
virtual void PrintfImpl(EJournalCategory category, EJournalLevel level, const char *pformat, va_list ap)
Printf to the designated output location.
EJournalCategory
Category Selection Enum.
EJournalLevel
Print Level Enum.