24 #include <blackboard/interface_observer.h>
25 #include <interface/interface.h>
75 __bbio_observed_create.clear();
76 __bbio_observed_destroy.clear();
122 const char *id_pattern)
throw()
124 __bbio_observed_create.lock();
125 __bbio_observed_create[type_pattern].push_back(id_pattern);
126 __bbio_observed_create[type_pattern].sort();
127 __bbio_observed_create[type_pattern].unique();
128 __bbio_observed_create.unlock();
142 const char *id_pattern)
throw()
144 __bbio_observed_destroy.lock();
145 __bbio_observed_destroy[type_pattern].push_back(id_pattern);
146 __bbio_observed_destroy[type_pattern].sort();
147 __bbio_observed_destroy[type_pattern].unique();
148 __bbio_observed_destroy.unlock();
158 return &__bbio_observed_create;
168 return &__bbio_observed_destroy;