Home
last modified time | relevance | path

Searched refs:className (Results 1 – 4 of 4) sorted by relevance

/drivers/external_device_manager/utils/include/
Dsingle_instance.h21 #define DECLARE_SINGLE_INSTANCE_BASE(className) \ argument
23 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) \ argument
32 DECLARE_SINGLE_INSTANCE_BASE(className) \
35 className() = default; \
36 ~className() = default;
[all …]
/drivers/peripheral/camera/vdi_base/common/device_manager/include/
Dcreate_devicemanager_factory.h29 std::shared_ptr<IDeviceManager> GetDeviceManagerByName(std::string className) in GetDeviceManagerByName() argument
33 iter = deviceManagerMap_.find(className); in GetDeviceManagerByName()
64 #define DECLARE_DEVICEMANAGER(className) \ argument
66 static DeviceManagerDynamicClass* className##_; \
71 return std::static_pointer_cast<IDeviceManager>(std::make_shared<className>()); \
74 #define IMPLEMENT_DEVICEMANAGER(className) \ argument
75 DeviceManagerDynamicClass* className::className##_ = \
76 new DeviceManagerDynamicClass(#className, &className::createInstance);
Dcreate_sensor_factory.h29 std::shared_ptr<ISensor> GetSensorByName(std::string className) in GetSensorByName() argument
33 iter = senorMap_.find(className); in GetSensorByName()
64 #define DECLARE_SENSOR(className) \ argument
66 static SensorDynamicClass* className##_; \
71 return std::static_pointer_cast<ISensor>(std::make_shared<className>()); \
74 #define IMPLEMENT_SENSOR(className) \ argument
75 …SensorDynamicClass* className::className##_ = new SensorDynamicClass(#className, &className::creat…
/drivers/hdf_core/framework/tools/hdi-gen/util/
Doptions.cpp365 std::string className = import.substr(index + 1); in GetImportFilePath() local
366 return StringHelper::Format("%s%c%s.idl", dir.c_str(), SEPARATOR, className.c_str()); in GetImportFilePath()