Collage
1.7.0
High-performance C++ library for developing object-oriented distributed applications.
|
Distributable Collage object for any servus::Serializable object. More...
#include <distributable.h>
Public Member Functions | |
Distributable (Args...args) | |
Construct a new distributable object. More... | |
Distributable (const Distributable &rhs) | |
Copy-construct a distributable object. More... | |
bool | isDirty () const final |
uint128_t | commit (const uint32_t incarnation=CO_COMMIT_NEXT) final |
void | notifyChanged () override |
Call whenever the object has been modified so it can be distributed. | |
Distributable Collage object for any servus::Serializable object.
Clients instantiate this object with a concrete Zerobuf object (or other servus::Serializable) using CRTP. The base class T needs to implement and call an abstract change notification method "virtual void notifyChanged() = 0;" (Zerobuf does this).
Definition at line 39 of file distributable.h.
|
inline |
|
inline |
|
inlinefinal |
Definition at line 62 of file distributable.h.
|
inlinefinal |
Definition at line 60 of file distributable.h.