The Sparta Modeling Framework
Loading...
Searching...
No Matches
sparta::collection::AgedArrayCollector< ArrayType > Class Template Reference

An AgedArrayCollector is created by the Array class in sparta when Pipeline collection is required. More...

#include <AgedArrayCollector.hpp>

Inheritance diagram for sparta::collection::AgedArrayCollector< ArrayType >:
Collaboration diagram for sparta::collection::AgedArrayCollector< ArrayType >:

Public Member Functions

 AgedArrayCollector (sparta::TreeNode *parent, const ArrayType *array)
 Construct an AgedArrayCollector.
 
void collect () override final
 set up the Collector with the current state of the Array, and begin collection going forward.
 

Detailed Description

template<class ArrayType>
class sparta::collection::AgedArrayCollector< ArrayType >

An AgedArrayCollector is created by the Array class in sparta when Pipeline collection is required.

This collector will always present the data of an Aged array starting at index 0.

Definition at line 27 of file AgedArrayCollector.hpp.

Constructor & Destructor Documentation

◆ AgedArrayCollector()

template<class ArrayType >
sparta::collection::AgedArrayCollector< ArrayType >::AgedArrayCollector ( sparta::TreeNode parent,
const ArrayType array 
)
inline

Construct an AgedArrayCollector.

Parameters
parentA pointer to the parent treenode for wich collectable objects will be created under.
arrayThe array to be collected

Definition at line 40 of file AgedArrayCollector.hpp.

Member Function Documentation

◆ collect()

template<class ArrayType >
void sparta::collection::AgedArrayCollector< ArrayType >::collect ( )
inlinefinaloverride

set up the Collector with the current state of the Array, and begin collection going forward.

Definition at line 50 of file AgedArrayCollector.hpp.


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