idol
Home
Command-Line Interface
Installation
Basics
Tutorials
Input Format
Troubleshooting
C++ Library
Installation
Examples
API Reference
Troubleshooting
About
GitHub
Loading...
Searching...
No Matches
lib
include
idol
mixed-integer
optimizers
callbacks
CallbackFactory.h
1
//
2
// Created by henri on 12/04/23.
3
//
4
5
#ifndef IDOL_CALLBACKFACTORY_H
6
#define IDOL_CALLBACKFACTORY_H
7
8
namespace
idol {
9
class
Callback
;
10
class
CallbackFactory
;
11
}
12
13
class
idol::CallbackFactory
{
14
public
:
15
virtual
~CallbackFactory
() =
default
;
16
17
virtual
Callback
* operator()() = 0;
18
19
[[nodiscard]]
virtual
CallbackFactory
* clone()
const
= 0;
20
};
21
22
#endif
//IDOL_CALLBACKFACTORY_H
idol::CallbackFactory
Definition
CallbackFactory.h:13
idol::Callback
Definition
Callback.h:69
Generated by
1.16.1