13 #include <vlutil/vlSmartPointers.h>
14 #include <vlutil/vlExceptions.h>
47 virtual void makeInvalid();
52 inline bool isValid()
const
61 inline void validate()
const
65 DtTHROW_NEW(DtCorruptedState,
"Interface is invalid.");
80 template <
typename K,
typename V>
81 std::shared_ptr<V>
DtFindProxyByName(std::map<K, std::weak_ptr<V> >& map,
const std::string& name)
83 typedef std::weak_ptr<V> VWP;
84 typedef std::shared_ptr<V> VSP;
86 typename std::map<K, std::weak_ptr<V> >::iterator iter = map.find(name);
89 VSP proctor = iter->second.lock();