ImFusion C++ SDK 4.4.0
ImFusion::KeyValueStore< StoredT >::Entry Class Reference
Inheritance diagram for ImFusion::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 ImFusion::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 ImFusion::Utils::NotCopyable
 NotCopyable (NotCopyable &&) noexcept=default
NotCopyable & operator= (NotCopyable &&) noexcept=default
 NotCopyable (const NotCopyable &)=delete
NotCopyable & operator= (const NotCopyable &)=delete
Protected Member Functions inherited from ImFusion::SignalReceiver
void disconnectAll ()
 Disconnects all existing connections.

Protected Attributes

friend KeyValueStore< StoredT >::MapT

Member Function Documentation

◆ attributes()

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

◆ synchronizeWorld()

template<typename StoredT>
void ImFusion::KeyValueStore< StoredT >::Entry::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 ImFusion::KeyValueStore< StoredT >::Entry::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:
  • AnatomyPlugin/include/ImFusion/AnatomyPlugin/KeyValueStore.h
Search Tab / S to search, Esc to close