DispatchWrapper for the top-level Inca_Dispatch COM interface.
More...
#include <IncaProxy.hpp>


Public Member Functions | |
| auto | GetOpenedExperiment () -> IncaOnlineExperimentProxy |
| Returns the COM object representing the currently open experiment. | |
| auto | GetOpenedExperimentView () -> IncaExperimentViewProxy |
| Returns the COM object representing the currently open experiment view. | |
Additional Inherited Members | |
Public Types inherited from DispatchWrapper<::Inca_Dispatch > | |
| using | type |
DispatchWrapper for the top-level Inca_Dispatch COM interface.
Inherits ::Inca_Dispatch and overloads two C++ methods that return fully typed proxy objects instead of raw IDispatch pointers.
Instances of this type are never constructed directly; they are managed exclusively through the IncaProxy owning smart pointer.
Definition at line 25 of file IncaProxy.hpp.
|
inlinenodiscard |
Returns the COM object representing the currently open experiment.
Calls the base Inca_Dispatch::GetOpenedExperiment(), detaches the returned IDispatch, and constructs an IncaOnlineExperimentProxy by narrowing the pointer via query_interface.
IncaOnlineExperimentProxy for the open experiment.| std::runtime_error | if the base COM call fails or the resulting pointer cannot be narrowed to IncaOnlineExperiment_Dispatch. |
Definition at line 37 of file IncaProxy.hpp.
|
inlinenodiscard |
Returns the COM object representing the currently open experiment view.
Calls the base Inca_Dispatch::GetOpenedExperimentView(), detaches the returned IDispatch, and constructs an IncaExperimentViewProxy by narrowing the pointer via query_interface.
IncaExperimentViewProxy for the open experimnet view.| std::runtime_error | if the base COM call fails or the resulting pointer cannot be narrowed to IncaExperimentView_Dispatch. |
Definition at line 49 of file IncaProxy.hpp.