29#ifndef GENAPI_ICOMMAND_H
30#define GENAPI_ICOMMAND_H
37# pragma warning ( push )
38# pragma warning ( disable : 4251 )
41namespace GENAPI_NAMESPACE
57 virtual void Execute(
bool Verify =
true) = 0;
67 virtual bool IsDone(
bool Verify =
true) = 0;
85 class CCommandRefT :
public CValueRefT<T>
87 typedef CValueRefT<T> ref;
95 virtual void Execute(
bool Verify =
true)
99 ref::m_Ptr->Execute(Verify);
103 virtual void operator()()
107 ref::m_Ptr->operator()();
111 virtual bool IsDone(
bool Verify =
true)
115 return ref::m_Ptr->IsDone(Verify);
128# pragma warning ( pop )
declspec's to be used for GenApi Windows dll
virtual bool operator()() const
Get node value.
Definition IBoolean.h:77
virtual bool IsDone(bool Verify=true)=0
Query whether the command is executed.
Definition of the interface IValue.
Common types used in the public GenApi interface.
#define ACCESS_EXCEPTION
Fires a access exception, e.g. throw ACCESS_EXCEPTION("Not everybody")
Definition GCException.h:252
CCommandRefT< ICommand > CCommandRef
Definition ICommand.h:121
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT ICommand
Definition ICommand.h:57
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT IValue
Interface for value properties.
Definition IValue.h:59