Home
last modified time | relevance | path

Searched refs:vDev (Results 1 – 5 of 5) sorted by relevance

/base/msdp/device_status/tools/vdev/src/
Dvirtual_device_builder.cpp69 …r::VirtualDeviceBuilder(const std::string &name, std::shared_ptr<VirtualDevice> vDev) : vDev_(vDev) in VirtualDeviceBuilder() argument
71 CopyProperties(name, vDev); in VirtualDeviceBuilder()
444 auto vDev = vDevs.front(); in Select() local
460 vDev = vDevs[index]; in Select()
462 return vDev; in Select()
465 … VirtualDeviceBuilder::CopyProperties(const std::string &name, std::shared_ptr<VirtualDevice> vDev) in CopyProperties() argument
467 CHKPV(vDev); in CopyProperties()
468 CopyIdentity(name, vDev); in CopyProperties()
469 CopyAbsInfo(vDev); in CopyProperties()
470 CopyEvents(vDev); in CopyProperties()
[all …]
Dvirtual_keyboard_builder.cpp118 …[](std::shared_ptr<VirtualDevice> vDev) { return ((vDev != nullptr) && vDev->IsKeyboard()); }, vDe… in Clone() argument
123 auto vDev = VirtualDeviceBuilder::Select(vDevs, "keyboard"); in Clone() local
124 CHKPV(vDev); in Clone()
126 std::cout << "Cloning \'" << vDev->GetName() << "\'." << std::endl; in Clone()
127 VirtualDeviceBuilder vBuilder(GetDeviceName(), vDev); in Clone()
129 std::cout << "Failed to clone \' " << vDev->GetName() << " \'." << std::endl; in Clone()
138 std::cout << "Failed to clone \' " << vDev->GetName() << " \'." << std::endl; in Clone()
142 std::cout << "Clone \'" << vDev->GetName() << "\' successfully" << std::endl; in Clone()
Dvirtual_mouse_builder.cpp154 …[](std::shared_ptr<VirtualDevice> vDev) { return ((vDev != nullptr) && vDev->IsMouse()); }, vDevs); in Clone() argument
159 auto vDev = VirtualDeviceBuilder::Select(vDevs, "mouse"); in Clone() local
160 CHKPV(vDev); in Clone()
162 std::cout << "Cloning \'" << vDev->GetName() << "\'." << std::endl; in Clone()
163 VirtualDeviceBuilder vBuilder(GetDeviceName(), vDev); in Clone()
165 std::cout << "Failed to clone \' " << vDev->GetName() << " \'." << std::endl; in Clone()
174 std::cout << "Failed to clone \' " << vDev->GetName() << " \'." << std::endl; in Clone()
178 std::cout << "Clone \'" << vDev->GetName() << "\' successfully." << std::endl; in Clone()
Dvirtual_touchscreen_builder.cpp182 …[](std::shared_ptr<VirtualDevice> vDev) { return ((vDev != nullptr) && vDev->IsTouchscreen()); }, … in Clone() argument
187 auto vDev = VirtualDeviceBuilder::Select(vDevs, "touchscreen"); in Clone() local
188 CHKPV(vDev); in Clone()
190 std::cout << "Cloning \'" << vDev->GetName() << "\'." << std::endl; in Clone()
191 VirtualDeviceBuilder vBuilder(GetDeviceName(), vDev); in Clone()
193 std::cout << "Failed to clone \' " << vDev->GetName() << " \'." << std::endl; in Clone()
202 std::cout << "Failed to clone \' " << vDev->GetName() << " \'." << std::endl; in Clone()
206 std::cout << "Clone \'" << vDev->GetName() << "\' successfully" << std::endl; in Clone()
/base/msdp/device_status/tools/vdev/include/
Dvirtual_device_builder.h37 VirtualDeviceBuilder(const std::string &name, std::shared_ptr<VirtualDevice> vDev);
81 void CopyProperties(const std::string &name, std::shared_ptr<VirtualDevice> vDev);
82 void CopyIdentity(const std::string &name, std::shared_ptr<VirtualDevice> vDev);
83 void CopyAbsInfo(std::shared_ptr<VirtualDevice> vDev);
84 void CopyEvents(std::shared_ptr<VirtualDevice> vDev);