|
template<class LocatorType, class DataType, class RepositoryInFileType, class RepositoryInMonetType>
Definition at line 62 of file RepositoryDispatcher.h.
Referenced by Impala::Core::ImageSet::InterestPointProc::HandleDoneDir(), Impala::Core::VideoSet::InterestPointProc::HandleDoneFile(), Impala::Persistency::RepositoryDispatcher< Impala::Persistency::SegmentationLocator, Impala::Core::VideoSet::Segmentation, Impala::Persistency::SegmentationRepositoryInFile, Impala::Persistency::SegmentationRepositoryInMonet >::Replace(), and Impala::Persistency::RepositoryDispatcher< Impala::Persistency::SegmentationLocator, Impala::Core::VideoSet::Segmentation, Impala::Persistency::SegmentationRepositoryInFile, Impala::Persistency::SegmentationRepositoryInMonet >::Sync(). 00063 {
00064 String protocol = loc.GetProtocol();
00065 if ((protocol == "file") || (protocol == "dataServer"))
00066 {
00067 return mRepFile.Add(loc, data);
00068 }
00069 if (protocol == "mapi")
00070 {
00071 return mRepMonet.Add(loc, data);
00072 }
00073 ILOG_ERROR("Add: unknown protocol: [" << loc.GetProtocol() << "] in "
00074 << loc);
00075 }
|