9 #ifndef observeEvent_H_
10 #define observeEvent_H_
14 #include <vlutil/vlSmartPointers.h>
16 #include <vlutil/vlExceptions.h>
26 template<
typename SubjectType>
58 throw DtInvalidInput(
"Connection may not be null.");
63 typename ObserverList::iterator it;
90 throw DtInvalidInput(
"Connection may not be null.");
102 reinterpret_cast<DtObserveConnectionComponent*>(observer));
105 sharedCon->disconnect(sharedCon);
113 typename ObserverList::iterator obs;
117 (*obs)->observe(value);