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
6
#include "
pacemaker/inca/detail/COMProxy.hpp
"
7
#include "
pacemaker/inca/detail/DispatchWrapper.hpp
"
8
#include "
pacemaker/inca/detail/incacom.hpp
"
9
10
namespace
pacemaker::inca::com
11
{
25
struct
ExperimentDevice_DispatchWrapper
:
public
pacemaker::inca::detail::DispatchWrapper
<::ExperimentDevice_Dispatch>
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
65
using
ExperimentDeviceProxy
=
pacemaker::inca::detail::COMProxy<ExperimentDevice_DispatchWrapper>
;
66
}
// namespace pacemaker::inca::com
67
68
#endif
// PACEMAKER_INCA_COM_EXPERIMENTDEVICEPROXY_HPP_
COMProxy.hpp
DispatchWrapper.hpp
pacemaker::inca::detail::COMProxy
Owning smart-pointer base class for COM dispatch proxy objects.
Definition
COMProxy.hpp:58
incacom.hpp
pacemaker::inca::com
Definition
CalibrationScalarDataProxy.hpp:10
pacemaker::inca::com::ExperimentDevice_DispatchWrapper
DispatchWrapper for the ExperimentDevice_Dispatch COM interface.
Definition
ExperimentDeviceProxy.hpp:26
pacemaker::inca::com::ExperimentDevice_DispatchWrapper::GetName
auto GetName() -> std::wstring
Returns the name of the device as a std::wstring
Definition
ExperimentDeviceProxy.hpp:36
pacemaker::inca::detail::DispatchWrapper
Helper struct for standardize interface retrieval.
Definition
DispatchWrapper.hpp:16
src
pacemaker
inca
com
ExperimentDeviceProxy.hpp
Generated by
1.12.0