#include <coherence/util/ValueUpdater.hpp>
Inherits Object.
Inherited by AbstractUpdater [virtual]
, CompositeUpdater [virtual]
, PofUpdater [virtual]
, and ReflectionUpdater [virtual]
.
Public Types | |
typedef spec::Handle | Handle |
ValueUpdater Handle definition. | |
typedef spec::View | View |
ValueUpdater View definition. | |
typedef spec::Holder | Holder |
ValueUpdater Holder definition. | |
Public Member Functions | |
virtual void | update (Object::Handle hTarget, Object::Holder ohValue) const =0 |
Update the state of the passed target object using the passed value. |
virtual void update | ( | Object::Handle | hTarget, | |
Object::Holder | ohValue | |||
) | const [pure virtual] |
Update the state of the passed target object using the passed value.
hTarget | the Object to update the state of | |
ohValue | the new value to update the state with |
ClassCastException | if this ValueUpdater is incompatible with the passed target object or the value and the implementation requires the passed object or the value to be of a certain type | |
Exception | if this ValueUpdater encounters a checked exception in the course of updating the target object | |
IllegalArgumentException | if this ValueUpdater cannot handle the passed target object or value for any other reason; an implementor should include a descriptive message |
Implemented in AbstractUpdater, CompositeUpdater, PofUpdater, ReflectionUpdater, TypedUpdater, and TypedUpdater< AH::ValueType::BoxedType, C, M, coherence::lang::BoxHandle< AH::ValueType >, OH >.