31 #ifndef GENAPI_ICOMMAND_H 32 #define GENAPI_ICOMMAND_H 39 # pragma warning ( push ) 40 # pragma warning ( disable : 4251 ) // XXX needs to have dll-interface to be used by clients of class YYY 59 virtual void Execute(
bool Verify =
true) = 0;
79 #ifndef DOXYGEN_IGNORE 100 return ref::m_Ptr->Execute(
Verify);
109 ref::m_Ptr->operator()();
118 return ref::m_Ptr->IsDone(
Verify);
135 # pragma warning ( pop ) 138 #endif // ifndef GENAPI_ICOMMAND_H Common types used in the public GenApi interface.
virtual bool IsDone(bool Verify=true)=0
Query whether the command is executed.
virtual void operator()()
Execute the command.
virtual bool operator()() const
Get node value.
virtual bool IsDone(bool Verify=true)
Query whether the command is executed.
virtual void Execute(bool Verify=true)
Execute the command.
interface GENAPI_DECL_ABSTRACT ICommand
Interface for command like properties.
#define ACCESS_EXCEPTION
Fires a access exception, e.g. throw ACCESS_EXCEPTION("Not everybody")
interface GENAPI_DECL_ABSTRACT IValue
Interface for value properties.
interface GENAPI_DECL_ABSTRACT bool Verify
declspec's to be used for GenApi Windows dll
Definition of the interface IValue.
Part of the generic device API.
CCommandRefT< ICommand > CCommandRef
Reference to an ICommand pointer.