Main Page
Namespaces
Classes
Files
File List
File Members
build
buildd
coinor-ipopt-3.10.2
Ipopt
contrib
MatlabInterface
src
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
14
namespace
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.
23
MatlabJournal
(
EJournalLevel
default_level);
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
Generated on Fri Jun 29 2012 06:35:12 by
1.8.1.1