29 #ifndef GENAPI_PORTSTACKEDIMPL_H 30 #define GENAPI_PORTSTACKEDIMPL_H 39 #pragma warning( push ) 40 #pragma warning( disable: 4251 ) // enApi::CPortImpl::m_ptrPort' : class 'GenApi::CPointer<T>' needs to have dll-interface 41 #pragma warning ( disable : 4068 ) // unknown pragma; refers to BullsEyeCoverage 45 # pragma warning ( push ) 46 # pragma warning ( disable : 4251 ) // DLL interface (this is a bug) 47 # pragma warning ( disable : 4275 ) // DLL interface (this is a bug) 83 virtual void Read(
void *pBuffer, int64_t Address, int64_t Length) = 0;
86 virtual void Write(
const void *pBuffer, int64_t Address, int64_t Length) = 0;
93 virtual void Write(PORT_REGISTER_STACK_ENTRY *pEntries,
size_t numEntries) = 0;
123 virtual void Replay( IPortWriteList *pPortRecorder,
bool Invalidate =
true )
126 pPortRecorder->Replay(
this);
133 void InvalidateNode()
136 m_ptrPort->InvalidateNode();
145 # pragma warning ( pop ) 149 #endif // ifndef GENAPI_PORTSTACKEDIMPL_H CPortStackedImpl()
Constructor.
Definition: PortStackedImpl.h:61
virtual void SetPortImpl(IPortStacked *pPort)
Sets pointer the real port implementation; this function may called only once.
Definition: PortStackedImpl.h:100
Common types used in the public GenApi interface.
bool IsValid() const
true if the pointer is valid
Definition: Pointer.h:109
enum GENAPI_NAMESPACE::_EYesNo EYesNo
virtual void Replay(IPortWriteList *pPortRecorder, bool Invalidate=true)
sends the commands to the camera.
Definition: PortStackedImpl.h:123
no
Definition: Types.h:141
virtual ~CPortStackedImpl()
Destructor.
Definition: PortStackedImpl.h:66
virtual void Read(void *pBuffer, int64_t Address, int64_t Length)=0
Reads a chunk of bytes from the port.
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT IPortStackedConstruct
Interface for ports.
Definition: IPortConstruct.h:61
enum GENAPI_NAMESPACE::_EAccessMode EAccessMode
Standard implementation for a port !
Definition: PortStackedImpl.h:57
Definition of interface IPort.
virtual EAccessMode GetAccessMode() const =0
Get the access mode of the node.
virtual void Write(const void *pBuffer, int64_t Address, int64_t Length)=0
Writes a chunk of bytes to the port.
Definition of interface IPortConstruct.
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT IPortStacked
Interface for ports.
Definition: IPortStacked.h:62
Standard GenICam Exceptions.
Definition of template CPointer.
declspec's to be used for GenApi Windows dll
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT IPortReplay
Interface for replaying write commands on a port.
Definition: IPortRecorder.h:56
virtual EYesNo GetSwapEndianess()
Determines if the port adapter must perform an endianess swap.
Definition: PortStackedImpl.h:107
Definition: ChunkAdapter.h:37