iv::SharedAttr< T > Class Template Referencefinal
#include <SharedAttr.hpp>
Public Member Functions | |
SharedAttr (ClientMarker *cm, T const &initial_value=T()) | |
~SharedAttr () | |
Public Member Functions inherited from iv::SharedAttr_I< T > | |
SharedAttr_I (ClientMarker *cm, AttributeEventProcessor *, T const &initial_value=T()) | |
Public Member Functions inherited from iv::Attr< T > | |
Attr (ClientMarker *, AttributeEventProcessor *, bool allow_ModifyMode) | |
T | Get () const |
void | Modify (ClientMarker *modifier, T const &) |
Public Member Functions inherited from iv::Attribute | |
Attribute (ClientMarker *, AttributeEventProcessor *event_processor, bool allow_ModifyMode) | |
ClientMarker * | owner () const |
std::type_index | Type () |
ValueMode | Mode () const |
std::any | GetAny () |
void | ModifyMode (ClientMarker *modifier, Attribute::ValueMode) |
void | ModifyAny (ClientMarker *modifier, std::any) |
void | Insert_Listener (AttributeListener *) |
void | Remove_Listener (AttributeListener *) |
Additional Inherited Members | |
Public Types inherited from iv::Attribute | |
enum | ValueMode { ValueMode::Disabled, ValueMode::Value, ValueMode::ValueModify } |
Protected Member Functions inherited from iv::SharedAttr_I< T > | |
virtual void | GetSourceValue (T &out) const override |
virtual void | ModifySource (T const &) override |
Protected Member Functions inherited from iv::Attribute | |
void | SetAttributeMode (ValueMode) |
void | SourceValueChanged () |
AttributeEventProcessor * | event_processor () |
void | event_processor (AttributeEventProcessor *) |
void | Notify_Activated () |
void | Notify_Deactivated () |
bool | allow_ModifyMode () |
Detailed Description
template<class T>
class iv::SharedAttr< T >
SharedAttr with locally stored listeners but unable to be copied, assigned or moved.
Definition at line 30 of file SharedAttr.hpp.
Constructor & Destructor Documentation
◆ SharedAttr()
template<class T >
iv::SharedAttr< T >::SharedAttr | ( | ClientMarker * | cm, |
T const & | initial_value = T() |
||
) |
Definition at line 27 of file SharedAttr.inl.
◆ ~SharedAttr()
template<class T >
iv::SharedAttr< T >::~SharedAttr |
Definition at line 35 of file SharedAttr.inl.
The documentation for this class was generated from the following files:
- ivorium_core/Attribute/Attributes/SharedAttr.hpp
- ivorium_core/Attribute/Attributes/SharedAttr.inl