|
nodiscard |
Gets a partial update generator function for the given partial update tag.
When called, the returned function generates a SampleEvent::PartialUpdate sample with the given partial update value. The UpdateValue template parameter must match the UpdateValue type used to register the updater with the Topic::setUpdater method. A partial update resolves against the key's current value, so the key must have a current value when the returned function is called: a full value was written for the key and the key was not since removed. Calling the returned function for a key with no current value is an application error that throws std::logic_error and publishes nothing.
| tag | The partial update tag. |
Definition at line 1482 of file DataStorm.h.