31 #ifndef GENAPI_IREGISTER_H 32 #define GENAPI_IREGISTER_H 39 # pragma warning ( push ) 40 # pragma warning ( disable : 4251 ) // XXX needs to have dll-interface to be used by clients of class YYY 84 #ifndef DOXYGEN_IGNORE 148 # pragma warning ( pop ) 151 #endif // ifndef GENAPI_IREGISTER_H #define GENICAM_INTERFACE
virtual int64_t GetAddress(bool Verify=false)=0
Retrieves the Address of the register.
Common types used in the public GenApi interface.
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT bool Verify
virtual int64_t GetLength(bool Verify=false)=0
Retrieves the Length of the register [Bytes].
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT IRegister
Interface for registers.
virtual void Get(uint8_t *pBuffer, int64_t Length, bool Verify=false, bool IgnoreCache=false)
Fills a buffer with the register's contents.
CRegisterRefT< IRegister > CRegisterRef
Reference to an IRegister pointer.
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT int64_t int64_t Length
#define ACCESS_EXCEPTION
Fires a access exception, e.g. throw ACCESS_EXCEPTION("Not everybody")
virtual void Set(const uint8_t *pBuffer, int64_t Length, bool Verify=true)
Set the register's contents.
T * m_Ptr
Pointer to the implementation the reference references to.
virtual int64_t GetLength(bool Verify=false)
Retrieves the Length of the register [Bytes].
virtual int64_t GetAddress(bool Verify=false)
Retrieves the Address of the register.
declspec's to be used for GenApi Windows dll
virtual void Get(uint8_t *pBuffer, int64_t Length, bool Verify=false, bool IgnoreCache=false)=0
Fills a buffer with the register's contents.
Definition of the interface IValue.
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT IValue
Interface for value properties.
Lexical analyzer for CIntSwissKnife.