40 MACLayerFactoryMap::iterator macIter = macLayerFactoryMap_.begin();
42 for(;macIter != macLayerFactoryMap_.end(); ++macIter)
44 delete macIter->second;
47 PHYLayerFactoryMap::iterator phyIter = phyLayerFactoryMap_.begin();
49 for(;phyIter != phyLayerFactoryMap_.end(); ++phyIter)
51 delete phyIter->second;
54 ShimLayerFactoryMap::iterator shimIter = shimLayerFactoryMap_.begin();
56 for(;shimIter != shimLayerFactoryMap_.end(); ++shimIter)
58 delete shimIter->second;
65 MACLayerFactoryMap::iterator iter;
67 if((iter = macLayerFactoryMap_.find(sLibraryFile)) != macLayerFactoryMap_.end())
76 macLayerFactoryMap_.insert(std::make_pair(sLibraryFile,pFactory));
84 PHYLayerFactoryMap::iterator iter;
86 if((iter = phyLayerFactoryMap_.find(sLibraryFile)) != phyLayerFactoryMap_.end())
95 phyLayerFactoryMap_.insert(std::make_pair(sLibraryFile,pFactory));
103 ShimLayerFactoryMap::iterator iter;
105 if((iter = shimLayerFactoryMap_.find(sLibraryFile)) != shimLayerFactoryMap_.end())
107 return *iter->second;
114 shimLayerFactoryMap_.insert(std::make_pair(sLibraryFile,pFactory));
const MACLayerFactory & getMACLayerFactory(const std::string &sLibraryFile)
LayerFactory< MACLayerImplementor > MACLayerFactory
const ShimLayerFactory & getShimLayerFactory(const std::string &sLibraryFile)
const PHYLayerFactory & getPHYLayerFactory(const std::string &sLibraryFile)
Factory for creating T layers . The factory manages the DLL allowing for the creation of layers of th...
LayerFactory< ShimLayerImplementor > ShimLayerFactory