Searched refs:className (Results 1 – 4 of 4) sorted by relevance
21 #define DECLARE_SINGLE_INSTANCE_BASE(className) \ argument23 static className &GetInstance(); \26 className(const className &) = delete; \27 className &operator=(const className &) = delete; \28 className(className &&) = delete; \29 className &operator=(className &&) = delete;31 #define DECLARE_SINGLE_INSTANCE(className) \ argument32 DECLARE_SINGLE_INSTANCE_BASE(className) \35 className() = default; \36 ~className() = default;[all …]
29 std::shared_ptr<IDeviceManager> GetDeviceManagerByName(std::string className) in GetDeviceManagerByName() argument33 iter = deviceManagerMap_.find(className); in GetDeviceManagerByName()64 #define DECLARE_DEVICEMANAGER(className) \ argument66 static DeviceManagerDynamicClass* className##_; \71 return std::static_pointer_cast<IDeviceManager>(std::make_shared<className>()); \74 #define IMPLEMENT_DEVICEMANAGER(className) \ argument75 DeviceManagerDynamicClass* className::className##_ = \76 new DeviceManagerDynamicClass(#className, &className::createInstance);
29 std::shared_ptr<ISensor> GetSensorByName(std::string className) in GetSensorByName() argument33 iter = senorMap_.find(className); in GetSensorByName()64 #define DECLARE_SENSOR(className) \ argument66 static SensorDynamicClass* className##_; \71 return std::static_pointer_cast<ISensor>(std::make_shared<className>()); \74 #define IMPLEMENT_SENSOR(className) \ argument75 …SensorDynamicClass* className::className##_ = new SensorDynamicClass(#className, &className::creat…
365 std::string className = import.substr(index + 1); in GetImportFilePath() local366 return StringHelper::Format("%s%c%s.idl", dir.c_str(), SEPARATOR, className.c_str()); in GetImportFilePath()