Clp
1.17.8
Main Page
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Enumerator
a
b
c
e
g
i
k
l
m
n
p
s
t
u
Related Functions
Files
File List
File Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Functions
a
c
e
f
g
i
m
o
p
r
s
w
Variables
Typedefs
Enumerations
Enumerator
c
Macros
a
b
c
d
f
h
i
l
m
n
o
p
r
s
t
u
v
•
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Clp
src
MyEventHandler.hpp
Go to the documentation of this file.
1
/* $Id$ */
2
// Copyright (C) 2004, International Business Machines
3
// Corporation and others. All Rights Reserved.
4
// This code is licensed under the terms of the Eclipse Public License (EPL).
5
6
#ifndef MyEventHandler_H
7
#define MyEventHandler_H
8
9
#include "
ClpEventHandler.hpp
"
10
18
class
MyEventHandler
:
public
ClpEventHandler
{
19
20
public
:
23
virtual
int
event
(
Event
whichEvent);
25
29
MyEventHandler
();
31
MyEventHandler
(
ClpSimplex
*model);
33
virtual
~MyEventHandler
();
35
MyEventHandler
(
const
MyEventHandler
&rhs);
37
MyEventHandler
&
operator=
(
const
MyEventHandler
&rhs);
39
virtual
ClpEventHandler
*
clone
()
const
;
41
42
protected
:
43
// data goes here
44
};
45
46
#endif
47
48
/* vi: softtabstop=2 shiftwidth=2 expandtab tabstop=2
49
*/
ClpSimplex
This solves LPs using the simplex method.
Definition:
ClpSimplex.hpp:106
MyEventHandler
This is so user can trap events and do useful stuff.
Definition:
MyEventHandler.hpp:18
MyEventHandler::operator=
MyEventHandler & operator=(const MyEventHandler &rhs)
Assignment.
MyEventHandler::~MyEventHandler
virtual ~MyEventHandler()
Destructor.
ClpEventHandler::Event
Event
enums for what sort of event.
Definition:
ClpEventHandler.hpp:34
ClpEventHandler.hpp
ClpEventHandler
Base class for Clp event handling.
Definition:
ClpEventHandler.hpp:27
MyEventHandler::clone
virtual ClpEventHandler * clone() const
Clone.
MyEventHandler::MyEventHandler
MyEventHandler()
Default constructor.
MyEventHandler::event
virtual int event(Event whichEvent)
This can do whatever it likes.
Generated by
1.8.17