fast-nuclear-sim/src/system.hpp

33 lines
561 B
C++
Raw Normal View History

2024-01-28 00:02:54 +11:00
#pragma once
#include <memory>
2024-01-28 00:02:54 +11:00
#include "reactor/coolant/vessel.hpp"
#include "reactor/reactor.hpp"
#include "coolant/pump.hpp"
#include "coolant/valve.hpp"
2024-01-29 22:05:12 +11:00
#include "graphics/mesh/mesh.hpp"
2024-01-28 00:02:54 +11:00
namespace sim
{
struct system
{
sim::reactor::reactor* reactor;
sim::reactor::coolant::vessel* vessel;
sim::coolant::valve<sim::reactor::coolant::vessel>* valve;
sim::coolant::pump<sim::reactor::coolant::vessel>* pump;
2024-01-29 22:05:12 +11:00
sim::graphics::mesh scene;
system();
system(system&& o);
system(const system& o) = delete;
~system();
2024-01-28 00:02:54 +11:00
void update(double dt);
};
};