#include <coherence/util/processor/UpdaterProcessor.hpp>
Inherits AbstractProcessor.
Public Types | |
typedef spec::Handle | Handle |
UpdaterProcessor Handle definition. | |
typedef spec::View | View |
UpdaterProcessor View definition. | |
typedef spec::Holder | Holder |
UpdaterProcessor Holder definition. | |
Public Member Functions | |
virtual Object::Holder | process (InvocableMap::Entry::Handle hEntry) const |
virtual void | readExternal (PofReader::Handle hIn) |
virtual void | writeExternal (PofWriter::Handle hOut) const |
virtual bool | equals (Object::View v) const |
virtual size32_t | hashCode () const |
Protected Member Functions | |
UpdaterProcessor () | |
Construct a UpdaterProcessor. | |
UpdaterProcessor (ValueUpdater::View vUpdater, Object::Holder hValue) | |
Construct an UpdaterProcessor based on the specified ValueUpdater. | |
Protected Attributes | |
FinalView< ValueUpdater > | f_vUpdater |
The underlying ValueUpdater. | |
FinalHolder< Object > | f_hValue |
A value to update the entry's value with. |
UpdaterProcessor | ( | ValueUpdater::View | vUpdater, | |
Object::Holder | hValue | |||
) | [protected] |
Construct an UpdaterProcessor based on the specified ValueUpdater.
vUpdater | a ValueUpdater object; passing null will simpy replace the entry's value with the specified one instead of updating it | |
hValue | the value to update the target entry with |