#include <Strategies.hpp>
Strategy to reset an array.
Definition at line 104 of file Strategies.hpp.
kaa::ArrayResetStrategy::ArrayResetStrategy |
( |
boost::function< bool(uuid_t)> |
isSubscribed, |
|
|
boost::function< void(uuid_t)> |
unsubscribe |
|
) |
| |
|
inline |
void kaa::ArrayResetStrategy::run |
( |
boost::shared_ptr< ICommonRecord > |
parent, |
|
|
const std::string & |
field, |
|
|
const avro::GenericDatum & |
datum |
|
) |
| |
|
virtual |
Routine for processing avro datum and insert field into a record by given name.
- Parameters
-
parent | Record which has to contain data represented in datum. |
field | Name of a field in a given record. |
datum | Avro datum containing data to be converted. |
Implements kaa::AbstractStrategy.
void kaa::ArrayResetStrategy::unregisterArray |
( |
ICommonArray & |
record | ) |
|
void kaa::ArrayResetStrategy::unregisterRecord |
( |
ICommonRecord & |
record | ) |
|
The documentation for this class was generated from the following file:
- /var/lib/jenkins/workspace/kaa/client/client-multi/client-cpp/kaa/configuration/manager/Strategies.hpp