OpenDDS  Snapshot(2023/04/28-20:55)
UpdateManager_T.cpp
Go to the documentation of this file.
1 /*
2  *
3  *
4  * Distributed under the OpenDDS License.
5  * See: http://www.opendds.org/license.html
6  */
7 
8 #include "UpdateManager.h"
9 
10 template<class UType>
11 void
12 Update::Manager::create(const UType& info)
13 {
14  // Invoke add on each of the iterators.
15  for (Updaters::iterator iter = updaters_.begin();
16  iter != updaters_.end();
17  iter++) {
18  (*iter)->create(info);
19  }
20 }
21 
22 template<class QosType>
23 void
24 Update::Manager::update(const Update::IdPath& id, const QosType& qos)
25 {
26  // Invoke update on each of the iterators.
27  for (Updaters::iterator iter = updaters_.begin();
28  iter != updaters_.end();
29  iter++) {
30  (*iter)->update(id, qos);
31  }
32 }
void create(const UType &info)
Updaters updaters_
Definition: UpdateManager.h:89
void update(const IdPath &id, const QosType &qos)