24 #include "cheetah/emulator/Factory.h" 31 template<
typename StreamType,
typename T>
32 Factory<StreamType, T>::Factory(Config
const& config, generators::GeneratorFactory<T>& gen_factory)
34 , _generators(gen_factory)
38 template<
typename StreamType,
typename T>
39 Factory<StreamType, T>::~Factory()
43 template<
typename StreamType,
typename T>
44 template<
typename... StreamConstructorArgs>
45 typename Factory<StreamType, T>::EmulatorType* Factory<StreamType, T>::create(std::string
const& key
46 , StreamConstructorArgs&&... args)
48 return new Emulator<StreamType, T>(_config, _generators.create(key), std::forward<StreamConstructorArgs>(args)...);
Some limits and constants for FLDO.