25 #ifndef WOUTPUTPROPERTYHANDLER_H
26 #define WOUTPUTPROPERTYHANDLER_H
28 #include "../WProtonData.h"
39 typedef std::shared_ptr< WOutputPropertyHandler >
SPtr;
Creates, updates and handles the output properties.
boost::function< void() > CallbackPtr
Function typedf for updating the data.
WPropBool m_eventID
Whether to send the eventID or not.
WPropBool getEnergyDeposition()
Getter.
std::shared_ptr< WOutputPropertyHandler > SPtr
shared_ptr that points to itself.
WPropBool getEventID()
Getter.
WOutputPropertyHandler(WProtonData::SPtr protonData, WPropertyGroup::SPtr properties, WOutputPropertyHandler::CallbackPtr dataUpdate)
constructor
WOutputPropertyHandler::CallbackPtr m_dataUpdate
A function variable that reinitializes the WDataSets.
WPropBool m_energyDeposition
Whether to send the energy deposition or not.
void createProperties()
creates the group property and the subroperties.
WPropertyGroup::SPtr m_properties
A property variable that is generated by the WModul.
WProtonData::SPtr m_protonData
Pointer to the content and header of the CSV.
void updateProperties()
update current group property and the subproperties.
std::shared_ptr< WPropertyGroup > SPtr
shared pointer to object of this type
std::shared_ptr< WProtonData > SPtr
shared_ptr that points to itself