File NullEvent.hpp¶
File List > astrea > astro > astro > propagation > event_detection > events > NullEvent.hpp
Go to the documentation of this file
#pragma once
#include <units/units.hpp>
#include <astro/astro.fwd.hpp>
namespace astrea {
namespace astro {
class NullEvent {
public:
std::string get_name() const { return "NullEvent"; }
Unitless measure_event(const Time& time, const State& state, const Vehicle& vehicle) const
{
return 1.0 * mp_units::one;
}
bool is_terminal() const { return false; }
};
} // namespace astro
} // namespace astrea