31 #ifndef GENAPI_IPORT_H 32 #define GENAPI_IPORT_H 40 # pragma warning ( push ) 41 # pragma warning ( disable : 4251 ) // XXX needs to have dll-interface to be used by clients of class YYY 67 #ifndef DOXYGEN_IGNORE 88 return ref::m_Ptr->Read(pBuffer, Address, Length);
97 return ref::m_Ptr->Write(pBuffer, Address, Length);
113 # pragma warning ( pop ) 116 #endif // ifndef GENAPI_IPORT_H Definition of interface IBase.
#define GENICAM_INTERFACE
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT IBase
Base interface common to all nodes.
Common types used in the public GenApi interface.
CPortRefT< IPort > CPortRef
Reference to an IEnumEntry pointer.
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT int64_t Address
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT int64_t int64_t Length
#define ACCESS_EXCEPTION
Fires a access exception, e.g. throw ACCESS_EXCEPTION("Not everybody")
T * m_Ptr
Pointer to the implementation the reference references to.
virtual void Write(const void *pBuffer, int64_t Address, int64_t Length)
Writes a chunk of bytes to the port.
virtual void Read(void *pBuffer, int64_t Address, int64_t Length)
Reads a chunk of bytes from the port.
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT IPort
Interface for ports.
declspec's to be used for GenApi Windows dll
virtual void Write(const void *pBuffer, int64_t Address, int64_t Length)=0
Writes a chunk of bytes to the port.
Lexical analyzer for CIntSwissKnife.