25 #ifndef WEVENTIDLIMITATIONPROPERTYHANDLER_H
26 #define WEVENTIDLIMITATIONPROPERTYHANDLER_H
30 #include "../WProtonData.h"
31 #include "../WSingleSelectorName.h"
43 typedef std::shared_ptr< WEventIDLimitationPropertyHandler >
SPtr;
Creates, updates and handles the EventID properties.
void updateMesh()
Update your mesh when changing properties.
void determineMinMaxEventID()
Determines smalles und biggest eventID.
void createProperties()
creates the group property and the subproperty
WProtonData::SPtr m_protonData
Pointer to the content and header of the CSV.
WEventIDLimitationPropertyHandler(WProtonData::SPtr protonData, WPropertyGroup::SPtr properties, WEventIDLimitationPropertyHandler::CallbackPtr dataUpdate)
constructor
WEventIDLimitationPropertyHandler::CallbackPtr m_dataUpdate
A function variable that reinitializes the WDataSets.
void updateProperty()
update current group property and subproperty
std::shared_ptr< WEventIDLimitationPropertyHandler > SPtr
shared_ptr that points to itself
WPropertyGroup::SPtr m_properties
A property variable that is generated by the WModul.
WPropInt getMaxCap()
Getter.
WPropInt getMinCap()
Getter.
boost::function< void() > CallbackPtr
Function variables for updating the data.
WPropInt m_maxCap
Set upper border of range of eventID selection.
WPropTrigger m_applySelection
Apply the current event ID selection.
WPropInt m_minCap
Set lower border of range of eventID selection.
std::shared_ptr< WPropertyGroup > SPtr
shared pointer to object of this type
std::shared_ptr< WProtonData > SPtr
shared_ptr that points to itself