3#ifndef ICE_NATIVE_PROPERTIES_ADMIN_H
4#define ICE_NATIVE_PROPERTIES_ADMIN_H
6#include "Ice/PropertiesAdmin.h"
7#include "Ice/PropertyDict.h"
19 public std::enable_shared_from_this<NativePropertiesAdmin>
41 void removeUpdateCallback(std::list<std::function<
void(const
PropertyDict&)>>::iterator p);
45 std::recursive_mutex _mutex;
47 std::list<std::function<
void(const
PropertyDict&)>> _updateCallbacks;
PropertyDict getPropertiesForPrefix(std::string prefix, const Current ¤t) final
Gets all properties whose keys begin with prefix.
std::function< void()> addUpdateCallback(std::function< void(const PropertyDict &)> cb)
Registers an update callback that will be invoked when a property update occurs.
void setProperties(PropertyDict newProperties, const Current ¤t) final
Updates the communicator's properties with the given property set.
std::string getProperty(std::string key, const Current ¤t) final
Gets a property by key.
NativePropertiesAdmin(PropertiesPtr properties, LoggerPtr logger)
Constructs a NativePropertiesAdmin.
The default implementation for the "Properties" admin facet.
Provides remote access to the properties of a communicator.
std::shared_ptr< Properties > PropertiesPtr
A shared pointer to a Properties.
std::shared_ptr< Logger > LoggerPtr
A shared pointer to a Logger.
std::shared_ptr< NativePropertiesAdmin > NativePropertiesAdminPtr
A shared pointer to a NativePropertiesAdmin.
std::map< std::string, std::string, std::less<> > PropertyDict
A simple collection of properties, represented as a dictionary of key/value pairs.
Provides information about an incoming request being dispatched.