29#ifndef GENAPI_PORTSTACKEDIMPL_H
30#define GENAPI_PORTSTACKEDIMPL_H
39#pragma warning( push )
40#pragma warning( disable: 4251 )
41#pragma warning ( disable : 4068 )
43namespace GENAPI_NAMESPACE
45# pragma warning ( push )
46# pragma warning ( disable : 4251 )
47# pragma warning ( disable : 4275 )
57 class CPortStackedImpl :
public IPortStackedConstruct,
public IPortStacked,
public IPortReplay
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 )
Standard GenICam Exceptions.
declspec's to be used for GenApi Windows dll
Definition of interface IPortConstruct.
Definition of interface IPort.
Definition of template CPointer.
Common types used in the public GenApi interface.
bool IsValid() const
true if the pointer is valid
Definition Pointer.h:109
Definition PortStackedImpl.h:58
CPortStackedImpl()
Constructor.
Definition PortStackedImpl.h:61
virtual EYesNo GetSwapEndianess()
Determines if the port adapter must perform an endianess swap.
Definition PortStackedImpl.h:107
virtual void SetPortImpl(IPortStacked *pPort)
Sets pointer the real port implementation; this function may called only once.
Definition PortStackedImpl.h:100
virtual void Read(void *pBuffer, int64_t Address, int64_t Length)=0
Reads a chunk of bytes from the port.
virtual void Write(PORT_REGISTER_STACK_ENTRY *pEntries, size_t numEntries)=0
Writes a chunk of bytes to the port.
virtual ~CPortStackedImpl()
Destructor.
Definition PortStackedImpl.h:66
virtual void Replay(IPortWriteList *pPortRecorder, bool Invalidate=true)
sends the commands to the camera.
Definition PortStackedImpl.h:123
virtual void Write(const void *pBuffer, int64_t Address, int64_t Length)=0
Writes a chunk of bytes to the port.
virtual EAccessMode GetAccessMode() const =0
Get the access mode of the node.
enum GENAPI_NAMESPACE::_EYesNo EYesNo
enum GENAPI_NAMESPACE::_EAccessMode EAccessMode
@ No
no
Definition Types.h:141