pacemaker 1.0.1
COM automation for people with deadlines and a hatred of GUIs
 
Loading...
Searching...
No Matches
IncaProxy.hpp
Go to the documentation of this file.
1#ifndef PACEMAKER_INCA_COM_INCAPROXY_HPP_
2#define PACEMAKER_INCA_COM_INCAPROXY_HPP_
3
6
7struct Inca_Dispatch;
8struct IDispatch;
9
11{
85} // namespace pacemaker::inca::com
86#endif // PACEMAKER_INCA_COM_INCAPROXY_HPP_
Proxy for the top-level INCA COM automation object.
Definition IncaProxy.hpp:34
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.
Definition COMProxy.hpp:35
std::unique_ptr< T, ComObjDeleter< T > > unique_com_ptr
RAII owning pointer for COM objects.