pacemaker 3.0.3
COM automation for people with deadlines and a hatred of GUIs
 
Loading...
Searching...
No Matches
ExperimentDeviceProxy.hpp
Go to the documentation of this file.
1#ifndef PACEMAKER_INCA_COM_EXPERIMENTDEVICEPROXY_HPP_
2#define PACEMAKER_INCA_COM_EXPERIMENTDEVICEPROXY_HPP_
3
4#include <string>
5
9
11{
26 {
36 [[nodiscard]] auto GetName() -> std::wstring
37 {
38 _bstr_t bs = ::ExperimentDevice_Dispatch::GetName();
39 return std::wstring(bs, SysStringLen(bs));
40 }
41 };
42
66} // namespace pacemaker::inca::com
67
68#endif // PACEMAKER_INCA_COM_EXPERIMENTDEVICEPROXY_HPP_
Owning smart-pointer base class for COM dispatch proxy objects.
Definition COMProxy.hpp:58
DispatchWrapper for the ExperimentDevice_Dispatch COM interface.
auto GetName() -> std::wstring
Returns the name of the device as a std::wstring
Helper struct for standardize interface retrieval.