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