12 using namespace std::placeholders;
55 std::vector<TPlugin::Ptr>::iterator plugin_iterator;
56 for( plugin_iterator = _vectorPlugins.begin(); plugin_iterator != _vectorPlugins.end(); ++plugin_iterator )
58 std::vector<ProcessInfo>::iterator processInfo_iterator;
59 for( processInfo_iterator = (*plugin_iterator)->_exported.begin(); processInfo_iterator != (*plugin_iterator)->_exported.end(); ++processInfo_iterator)
61 _mapExportedMethods[processInfo_iterator->_methodType].push_back(*processInfo_iterator);
74 std::map<unsigned, std::vector<ProcessInfo> >::const_iterator it;
75 std::vector<ProcessInfo>::const_iterator itr;
78 if (it!=_mapExportedMethods.end())
80 itr = std::find_if( it->second.begin(),
82 std::bind(&ProcessInfo::compare, _1, lCData.
_processInfo) );
84 if (itr!=it->second.end())
86 _fp = (FP)( (*itr)._methodAddress );
87 plugin = (
TPlugin*)( (*itr)._object );
90 (plugin->*_fp)(lCData);