28 #include <boost/function.hpp>
29 #include <boost/bind.hpp>
31 #include <vlpi/appearance.h>
37 template <
typename _StateType>
64 const _StateType& originalState)>&
function)
71 typename std::map<makVrv::DtUniqueID, _StateType>::iterator iter;
72 iter =
myMap.find(
id);
74 if (iter !=
myMap.end())
83 const _StateType& state =
static_cast<const _StateType&
>(incoming);
90 const _StateType& state =
static_cast<const _StateType&
>(incoming);
92 typename DtIsModifiedCallList::iterator iter =
94 typename std::map<makVrv::DtUniqueID, _StateType>::const_iterator
95 cacheIter =
myMap.find(
id);
99 if ((*iter)(state, cacheIter->second))
111 std::map<makVrv::DtUniqueID, _StateType>
myMap;
113 typedef std::vector<boost::function<
bool (
const _StateType& newState,
179 return (newState != cached);
196 return (newState != cached);
213 return (newState != cached);
263 if (numberOfAggs != curAggLimit)
268 for (
int i = 0; i < numberOfAggs; i++)
285 if (numberOfAggs != curAggLimit)
290 for (
int i = 0; i < numberOfAggs; i++)