38# pragma warning ( push )
39# pragma warning ( disable : 4251 )
42namespace GENAPI_NAMESPACE
52 GENICAM_INTERFACE GENAPI_DECL_ABSTRACT
IPort :
virtual public IBase
55 virtual void Read(
void *pBuffer, int64_t Address, int64_t Length) = 0;
58 virtual void Write(
const void *pBuffer, int64_t Address, int64_t Length) = 0;
73 class CPortRefT :
public CBaseRefT<T>
75 typedef CBaseRefT<T> ref;
83 virtual void Read(
void *pBuffer, int64_t Address, int64_t Length)
87 ref::m_Ptr->Read(pBuffer, Address, Length);
96 virtual void Write(
const void *pBuffer, int64_t Address, int64_t Length)
100 ref::m_Ptr->Write(pBuffer, Address, Length);
118# pragma warning ( pop )
Standard GenICam Exceptions.
declspec's to be used for GenApi Windows dll
Definition of interface IBase.
virtual void Write(const void *pBuffer, int64_t Address, int64_t Length)=0
Writes a chunk of bytes to the port.
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
CPortRefT< IPort > CPortRef
Definition IPort.h:111
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT IPort
Interface for ports.
Definition IPort.h:55
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT IBase
Base interface common to all nodes.
Definition IBase.h:53