Sparkle 0.0.1
Loading...
Searching...
No Matches
spk::SynchronizableObject Class Referenceabstract

Base for objects requiring deferred synchronization hooks. More...

#include <spk_synchronizable_object.hpp>

Inheritance diagram for spk::SynchronizableObject:
Inheritance graph
Collaboration diagram for spk::SynchronizableObject:
Collaboration graph

Public Member Functions

void requestSynchronization () noexcept
 Marks the object as needing synchronization.
bool needsSynchronization () const noexcept
 Checks if synchronization is pending.
void synchronize ()
 Performs synchronization if requested.
void forceSynchronization ()
 Forces synchronization regardless of current flag.

Detailed Description

Base for objects requiring deferred synchronization hooks.

Member Function Documentation

◆ needsSynchronization()

bool spk::SynchronizableObject::needsSynchronization ( ) const
inlinenoexcept

Checks if synchronization is pending.

Returns
true when requested.

The documentation for this class was generated from the following file: