Lines Matching refs:RegisterType
40 template<class KeyType, class EntryType, class RegisterType>
46 static RegisterType *GetRegister() {
48 &RegisterType::Init);
116 register_ = new RegisterType;
121 static RegisterType *register_;
126 template<class KeyType, class EntryType, class RegisterType>
128 RegisterType>::register_init_ = FST_ONCE_INIT;
130 template<class KeyType, class EntryType, class RegisterType>
131 Mutex *GenericRegister<KeyType, EntryType, RegisterType>::register_lock_ = 0;
133 template<class KeyType, class EntryType, class RegisterType>
134 RegisterType *GenericRegister<KeyType, EntryType, RegisterType>::register_ = 0;
141 // given RegisterType template parameter. This type must define types Key
143 // SetEntry() functions. An easy way to accomplish this is to have RegisterType
145 template<class RegisterType>
148 typedef typename RegisterType::Key Key;
149 typedef typename RegisterType::Entry Entry;
152 RegisterType *reg = RegisterType::GetRegister();