|
client-cpp
0.0.1-SNAPSHOT
|
#include <DefaultConfigurationDelta.hpp>
Inheritance diagram for kaa::DefaultConfigurationDelta:
Collaboration diagram for kaa::DefaultConfigurationDelta:Public Member Functions | |
| DefaultConfigurationDelta () | |
| DefaultConfigurationDelta (const DeltaHandlerId &handlerId) | |
| virtual DeltaHandlerId | getHandlerId () |
| virtual bool | hasChanged (const std::string &field) |
| virtual DeltaTypePtr | getDeltaType (const std::string &field) |
| virtual std::string | toString () const |
| void | updateFieldDeltaType (const std::string &field, DeltaTypePtr type) |
Public Member Functions inherited from kaa::IConfigurationDelta | |
| virtual | ~IConfigurationDelta () |
Definition at line 30 of file DefaultConfigurationDelta.hpp.
|
inline |
Default constructor Set delta handler id to default value, i.e. 0
Definition at line 36 of file DefaultConfigurationDelta.hpp.
|
inline |
Constructor
| handlerId | delta handler id |
Definition at line 42 of file DefaultConfigurationDelta.hpp.
|
inlinevirtual |
Retrieves the delta type of the given field
| field | the name of the field |
Implements kaa::IConfigurationDelta.
Definition at line 87 of file DefaultConfigurationDelta.hpp.
|
inlinevirtual |
Retrieves handler id of the current delta
Implements kaa::IConfigurationDelta.
Definition at line 49 of file DefaultConfigurationDelta.hpp.
|
inlinevirtual |
Tells if the field was changed
| field | the name of the field |
Implements kaa::IConfigurationDelta.
Definition at line 58 of file DefaultConfigurationDelta.hpp.
|
inlinevirtual |
Retrieves JSON representation of the inner data
Implements kaa::IConfigurationDelta.
Definition at line 98 of file DefaultConfigurationDelta.hpp.
|
inline |
Add new delta pair (field name-delta type) to an inner storage
Definition at line 78 of file DefaultConfigurationDelta.hpp.