25 #ifndef WPROPERTYOBSERVER_H
26 #define WPROPERTYOBSERVER_H
32 #include <boost/signals2/signal.hpp>
33 #include <boost/thread.hpp>
35 #include "WCondition.h"
36 #include "WProperties.h"
37 #include "WExportCommon.h"
50 typedef std::map< std::string, boost::shared_ptr< WPropertyBase > >
PropertyNameMap;
70 void observe( boost::shared_ptr< WProperties > properties, std::set< std::string > names = std::set< std::string >() );
91 static boost::shared_ptr< WPropertyObserver > create();
115 void cancelSubscriptions();
120 void updateSubscriptions();
127 void propertyUpdated( boost::shared_ptr< WPropertyBase > property );
170 #endif // WPROPERTYOBSERVER_H