VIPRA Documentation
|
Goals module mixin. More...
#include <goals.hpp>
Public Member Functions | |
void | initialize (VIPRA::Modules::Pedestrians const &pedset, VIPRA::Modules::Map const &map, VIPRA::Random::Engine &engine) |
void | update (Modules::Pedestrians const &pedset, Modules::Map const &map, VIPRA::delta_t deltaT) |
void | change_end_goal (VIPRA::idx pedIdx, VIPRA::f3d currPos, VIPRA::f3d goalPos, VIPRA::Random::Engine &engine) |
VIPRA_INLINE auto | current_goals () const -> const VIPRA::f3dVec & |
VIPRA_INLINE auto | end_goals () const -> const VIPRA::f3dVec & |
VIPRA_INLINE auto | current_goal (VIPRA::idx pedIdx) const -> VIPRA::f3d const & |
VIPRA_INLINE auto | end_goal (VIPRA::idx pedIdx) const -> VIPRA::f3d const & |
VIPRA_INLINE auto | is_goal_met (VIPRA::idx pedIdx) const -> bool |
VIPRA_INLINE auto | is_sim_goal_met () const -> bool |
VIPRA_INLINE auto | time_since_last_goal (VIPRA::idx pedIdx) const -> VIPRA::f_pnt |
Goals (const Goals &)=default | |
Goals (Goals &&) noexcept=default | |
auto | operator= (const Goals &) -> Goals &=default |
auto | operator= (Goals &&) noexcept -> Goals &=default |
Public Attributes | |
virtual | VIPRA_GOALS_INIT_STEP = 0 |
virtual | VIPRA_GOALS_UPDATE_STEP = 0 |
virtual | VIPRA_GOALS_NEXT_GOAL = 0 |
virtual | VIPRA_GOALS_CHANGE_GOAL = 0 |
virtual | VIPRA_GOALS_RESET = 0 |
Protected Member Functions | |
VIPRA_INLINE void | set_goal_met (VIPRA::idx pedIdx, bool met) |
VIPRA_INLINE void | set_end_goal (VIPRA::idx pedIdx, VIPRA::f3d pos) |
VIPRA_INLINE void | set_current_goal (VIPRA::idx pedIdx, VIPRA::f3d pos) |
Goals module mixin.