Stride Reference Manual
- generated for commit 9643b11
|
Viewer gathers infection count at each sim step. More...
#include <InfectedViewer.h>
Public Member Functions | |
InfectedViewer (std::shared_ptr< SimRunner > runner) | |
Instantiate cases viewer. More... | |
std::vector< unsigned int > | GetInfectionCounts () |
void | Update (sim_event::Id id) |
Let viewer perform update. More... | |
Private Attributes | |
std::vector< unsigned int > | m_infected |
std::shared_ptr< SimRunner > | m_runner |
Viewer gathers infection count at each sim step.
Definition at line 34 of file InfectedViewer.h.
|
inlineexplicit |
Instantiate cases viewer.
Definition at line 38 of file InfectedViewer.h.
|
inline |
Definition at line 40 of file InfectedViewer.h.
References m_infected, and Update().
void stride::viewers::InfectedViewer::Update | ( | sim_event::Id | id | ) |
Let viewer perform update.
Definition at line 33 of file InfectedViewer.cpp.
Referenced by stride::StanController::Control(), and GetInfectionCounts().
|
private |
Definition at line 46 of file InfectedViewer.h.
Referenced by GetInfectionCounts().
|
private |
Definition at line 47 of file InfectedViewer.h.