DiffEq - Modern C++ ODE Integration Library
1.0.0
High-performance C++ library for solving ODEs with async signal processing
Loading...
Searching...
No Matches
state.hpp
1
#pragma once
2
3
#include <memory>
4
5
namespace
diffeq {
6
class
IState
{
7
public
:
8
virtual
~IState
() =
default
;
9
virtual
void
* data_ptr() = 0;
10
11
template
<
typename
T>
12
T get_data() {
13
return
*
static_cast<
T*
>
(data_ptr());
14
}
15
};
16
}
diffeq::IState
Definition
state.hpp:6
include
core
state.hpp
Generated by
1.9.8