2 * @brief The updater class implementation. This class implements the updater logic.
6 * @copyright Intra2net AG
12 #include <boost/foreach.hpp>
16 * Default constructor which initializes the member Conf.
26 * @param _conf A pointer to a Config object.
28 Updater::Updater(Config* _conf)
44 * Setter for member Conf.
47 void Updater::set_config(Config* _conf)
54 * Getter for member Conf.
57 Config* Updater::get_config()
64 * Update all configured services.
66 void Updater::update_services()
68 list<Service*> services = this->Conf->get_services();
70 string ip = "192.168.1.1";
72 BOOST_FOREACH( Service * service, services )