+class AFTER_CONNECTED_NOTIFIER : public PROPERTY_NOTIFIER_BASE<bool>,
+ private NONCOPYABLE {
+public:
+ AFTER_CONNECTED_NOTIFIER()
+ : connects(0),
+ disconnects(0)
+ {}
+ void Notify(const bool & oldValue, const bool & newValue);
+
+ size_t GetConnects() const { return connects; }
+ size_t GetDisconnects() const { return disconnects; }
+
+private:
+ size_t connects;
+ size_t disconnects;
+};
+