Class DataCollection::DamageReceiver
ClassList > DataCollection > DamageReceiver
Data receiver class specialized for storing DamageData objects.More...
#include <DamageReceiver.hpp>
Inherits the following classes: DataCollection::DataReceiver
Public Functions inherited from DataCollection::DataReceiver
See DataCollection::DataReceiver
Type | Name |
---|---|
DataReceiver () = default Default constructor for DataReceiver class. |
|
bool | IsEmpty () Checks if the storage is empty. |
void | StoreIntoStorage (T obj) Store a data object into the storage. |
std::vector< T > & | getStorage () Retrieves the stored data objects. |
virtual | ~DataReceiver () = default Virtual destructor for DataReceiver class. |
Protected Attributes inherited from DataCollection::DataReceiver
See DataCollection::DataReceiver
Type | Name |
---|---|
std::vector< T > | storage Vector to store shared_ptr data objects of type T. |
Detailed Description
This class extends DataReceiver class and provides specific functionality for storing DamageData objects along with damage sources and amounts.
The documentation for this class was generated from the following file source/DataCollection/DamageReceiver.hpp