1#ifndef PACEMAKER_INCA_COM_INCAPROXY_HPP_
2#define PACEMAKER_INCA_COM_INCAPROXY_HPP_
Proxy for the top-level INCA COM automation object.
auto GetOpenedExperimentView() -> pacemaker::inca::detail::unique_com_ptr<::IDispatch >
Returns the COM object representing the currently open experiment view.
IncaProxy(IncaProxy &&)=default
Move constructor transfers ownership of the COM connection.
auto GetOpenedExperiment() -> pacemaker::inca::detail::unique_com_ptr<::IDispatch >
Returns the COM object representing the currently open experiment.
IncaProxy & operator=(IncaProxy &&)=default
Move assignment transfers ownership of the COM connection.
~IncaProxy()
Destructor; calls DisconnectFromTool() if the COM pointer is valid.
IncaProxy(pacemaker::inca::detail::unique_com_ptr<::IDispatch > idispatch)
Constructs the proxy by narrowing a generic IDispatch to Inca_Dispatch.
Non-copyable CRTP base class for COM dispatch proxy objects.
std::unique_ptr< T, ComObjDeleter< T > > unique_com_ptr
RAII owning pointer for COM objects.