ImFusion SDK 4.3
KeyValueStore< StoredT >::Entry Class Reference
+ Inheritance diagram for KeyValueStore< StoredT >::Entry:

Public Member Functions

 Entry (std::tuple< StoredT, Properties, KeyValueStore< StoredT > & > args)
 
 Entry (KeyValueStore< StoredT > &parent)
 
 Entry (const Entry &other)=delete
 
bool operator= (StoredT other)
 
template<typename U = StoredT>
refToperator= (const U &other)
 Direct assignment, deleted for pointer-like case, use unique_ptr instead.
 
refTvalue ()
 
const refTvalue () const
 
 operator refT & ()
 
 operator const refT & () const
 
refToperator-> ()
 
const refToperator-> () const
 
const Propertiesattributes () const
 
StoredT replace (StoredT other)
 
void modify (const std::function< void(T &)> &func)
 
void modify (const std::function< void(Properties &)> &func)
 
void synchronizeWorld (const std::string &key)
 Synchronize the "world" representation of the object.
 
void synchronizeLocal ()
 Synchronize the "local" representation of the object.
 
template<typename U>
KeyValueStore< StoredT >::refToperator= (const U &other)
 
- Public Member Functions inherited from SignalReceiver
 SignalReceiver ()=default
 Default constructor.
 
 SignalReceiver (const SignalReceiver &other)
 Copy constructor, does not copy any existing signal connections from other.
 
SignalReceiveroperator= (SignalReceiver rhs)
 Assignment operator, disconnects all existing connections, does not copy any existing signal connections from rhs.
 
virtual ~SignalReceiver ()
 Virtual destructor disconnects from all connected signals.
 

Protected Member Functions

 Entry (Entry &&other)
 
StoredT remove ()
 
- Protected Member Functions inherited from NotCopyable
 NotCopyable (NotCopyable &&) noexcept=default
 
NotCopyableoperator= (NotCopyable &&) noexcept=default
 
 NotCopyable (const NotCopyable &)=delete
 
NotCopyableoperator= (const NotCopyable &)=delete
 
- Protected Member Functions inherited from SignalReceiver
void disconnectAll ()
 Disconnects all existing connections.
 

Protected Attributes

friend KeyValueStore< StoredT >::MapT
 

Member Function Documentation

◆ attributes()

template<typename StoredT>
const Properties & attributes ( ) const
Returns
The metadata used for visualisation.

◆ synchronizeWorld()

template<typename StoredT>
void synchronizeWorld ( const std::string & key)

Synchronize the "world" representation of the object.

Has no effect if the attribute "no_synchronization" is set to true

◆ synchronizeLocal()

template<typename StoredT>
void synchronizeLocal ( )

Synchronize the "local" representation of the object.

Has no effect if the attribute "no_synchronization" is set to true


The documentation for this class was generated from the following file:
Search Tab / S to search, Esc to close