29 #include <boost/function.hpp>
30 #include <boost/bind.hpp>
32 #include <vlpi/appearance.h>
38 template <
typename _StateType>
65 const _StateType& originalState)>&
function)
72 typename std::map<makVrv::DtUniqueID, _StateType>::iterator iter;
73 iter =
myMap.find(
id);
75 if (iter !=
myMap.end())
84 const _StateType& state =
static_cast<const _StateType&
>(incoming);
91 const _StateType& state =
static_cast<const _StateType&
>(incoming);
93 typename DtIsModifiedCallList::iterator iter =
95 typename std::map<makVrv::DtUniqueID, _StateType>::const_iterator
96 cacheIter =
myMap.find(
id);
100 if ((*iter)(state, cacheIter->second))
112 std::map<makVrv::DtUniqueID, _StateType>
myMap;
114 typedef std::vector<boost::function<
bool (
const _StateType& newState,
180 return (newState != cached);
197 return (newState != cached);
214 return (newState != cached);
231 return (newState != cached);
281 if (numberOfAggs != curAggLimit)
286 for (
int i = 0; i < numberOfAggs; i++)
303 if (numberOfAggs != curAggLimit)
308 for (
int i = 0; i < numberOfAggs; i++)