Construct version 5.4.4
An agent based modeling framework
OutputManager Struct Reference

Class that handles all output. More...

Public Member Functions

void add_output (Output *output) noexcept
 Adds an Output routine. The OutputManager takes ownership of submitted pointers.
 

Public Attributes

std::vector< Output * > _output
 

Detailed Description

Class that handles all output.

This manager calls the Output::process(t) function with t being the current time index of each Output it owns after all Models have completed their clean up functions. To add an output use OutputManager::add_output. This manager will then take ownership of the pointer and deallocate it upon deconstruction.