MADARA
3.2.3
|
Tracker specialization for types that have individual indexed elements, and track their modification status individually. More...
#include <Tracker.h>
Private Types | |
typedef std::decay< decltype(get_value(std::declval< T >)))>::type | V |
Pointer to tracked object. More... | |
Private Member Functions | |
Tracker (T *tracked, VariableReference ref) | |
virtual void | force_push (KnowledgeBase &kb) |
As push, but ignore any modification status tracking. More... | |
virtual const char * | get_name () const |
Get name of MADARA variable. More... | |
virtual const void * | get_tracked () const |
Get pointer to tracked object. More... | |
virtual void | pull () |
Override to implement pulling logic (from ref_) More... | |
virtual void | push (KnowledgeBase &kb) |
Override to implement pushing logic (into ref_) More... | |
Private Attributes | |
T * | tracked_ |
Static Private Attributes | |
static const bool | can_read = RD |
static const bool | can_write = WR |
Friends | |
class | Transaction |
Tracker specialization for types that have individual indexed elements, and track their modification status individually.
|
private |
|
inlineprivate |
|
inlineprivatevirtual |
As push, but ignore any modification status tracking.
Implements madara::knowledge::rcw::BaseTracker.
|
inlineprivatevirtual |
Get name of MADARA variable.
Implements madara::knowledge::rcw::BaseTracker.
|
inlineprivatevirtual |
Get pointer to tracked object.
Implements madara::knowledge::rcw::BaseTracker.
|
inlineprivatevirtual |
Override to implement pulling logic (from ref_)
Implements madara::knowledge::rcw::BaseTracker.
|
inlineprivatevirtual |
Override to implement pushing logic (into ref_)
Implements madara::knowledge::rcw::BaseTracker.
|
friend |
|
staticprivate |
|
staticprivate |
|
private |