Stride Reference Manual  - generated for commit 9643b11
stride::viewers::InfectedFileViewer Class Reference

Viewer of Simulator for cases output. More...

#include <InfectedFileViewer.h>

Collaboration diagram for stride::viewers::InfectedFileViewer:
Collaboration graph

Public Member Functions

 InfectedFileViewer (std::shared_ptr< SimRunner > runner, const std::string &output_prefix)
 Instantiate cases viewer. More...
 
void Update (sim_event::Id id)
 Let viewer perform update. More...
 

Private Attributes

std::vector< unsigned int > m_infected
 
output::InfectedFile m_infected_file
 
std::shared_ptr< SimRunnerm_runner
 

Detailed Description

Viewer of Simulator for cases output.

Definition at line 35 of file InfectedFileViewer.h.

Constructor & Destructor Documentation

stride::viewers::InfectedFileViewer::InfectedFileViewer ( std::shared_ptr< SimRunner runner,
const std::string &  output_prefix 
)
inline

Instantiate cases viewer.

Definition at line 39 of file InfectedFileViewer.h.

References Update().

Here is the call graph for this function:

Member Function Documentation

void stride::viewers::InfectedFileViewer::Update ( sim_event::Id  id)

Let viewer perform update.

Definition at line 33 of file InfectedFileViewer.cpp.

Referenced by InfectedFileViewer(), and stride::ControlHelper::RegisterViewers().

Here is the caller graph for this function:

Member Data Documentation

std::vector<unsigned int> stride::viewers::InfectedFileViewer::m_infected
private

Definition at line 48 of file InfectedFileViewer.h.

output::InfectedFile stride::viewers::InfectedFileViewer::m_infected_file
private

Definition at line 49 of file InfectedFileViewer.h.

std::shared_ptr<SimRunner> stride::viewers::InfectedFileViewer::m_runner
private

Definition at line 50 of file InfectedFileViewer.h.


The documentation for this class was generated from the following files: