![]() |
RTBKit
0.9
Open-source framework to create real-time ad bidding systems.
|
#include <service_base.h>
Classes | |
struct | Data |
Public Member Functions | |
Watch (const OnChange &onChange) | |
Watch (const Watch &other) | |
Watch (Watch &&other) | |
void | swap (Watch &other) |
Watch & | operator= (const Watch &other) |
Watch & | operator= (Watch &&other) |
void | init (const OnChange &onChange) |
void | trigger (const std::string &path, ChangeType change) |
void | disable () |
std::shared_ptr< Data > * | get () |
JML_IMPLEMENT_OPERATOR_BOOL (data.get()) |
Type used to hold a watch on a node.
Definition at line 123 of file service_base.h.
Datacratic::ConfigurationService::Watch::Watch | ( | const OnChange & | onChange | ) | [inline] |
Set up a callback for a watch. The path and the change type will be passed in.
Definition at line 143 of file service_base.h.