30 #ifndef GENAPI_PORTSTACKEDIMPL_H 31 #define GENAPI_PORTSTACKEDIMPL_H 40 #pragma warning( push ) 41 #pragma warning( disable: 4251 ) // enApi::CPortImpl::m_ptrPort' : class 'GenApi::CPointer<T>' needs to have dll-interface 42 #pragma warning ( disable : 4068 ) // unknown pragma; refers to BullsEyeCoverage 46 # pragma warning ( push ) 47 # pragma warning ( disable : 4251 ) // DLL interface (this is a bug) 48 # pragma warning ( disable : 4275 ) // DLL interface (this is a bug) 127 pPortRecorder->Replay(
this);
146 # pragma warning ( pop ) 150 #endif // ifndef GENAPI_PORTSTACKEDIMPL_H GENICAM_INTERFACE GENAPI_DECL_ABSTRACT IPortStackedConstruct
Interface for ports.
Common types used in the public GenApi interface.
virtual void Write(const void *pBuffer, int64_t Address, int64_t Length)=0
Writes a chunk of bytes to the port.
CPortStackedImpl()
Constructor.
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT IPortWriteList
virtual EYesNo GetSwapEndianess()
Determines if the port adapter must perform an endianess swap.
virtual ~CPortStackedImpl()
Destructor.
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT int64_t Address
CNodePtr m_ptrPort
Pointer to the node holding a reference to this implementation.
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT IPortStacked
Interface for ports.
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT IPortReplay
Interface for replaying write commands on a port.
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT int64_t int64_t Length
enum GENAPI_NAMESPACE::_EYesNo EYesNo
Defines the choices of a Yes/No alternatives.
virtual void SetPortImpl(IPortStacked *pPort)
Sets pointer the real port implementation; this function may called only once.
Standard implementation for a port !
Definition of interface IPort.
Definition of interface IPortConstruct.
virtual EAccessMode GetAccessMode() const =0
Get the access mode of the node.
Definition of template CPointer.
bool IsValid() const
true if the pointer is valid
virtual void Replay(IPortWriteList *pPortRecorder, bool Invalidate=true)
sends the commands to the camera.
enum GENAPI_NAMESPACE::_EAccessMode EAccessMode
access mode of a node
declspec's to be used for GenApi Windows dll
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT bool Invalidate
virtual void Read(void *pBuffer, int64_t Address, int64_t Length)=0
Reads a chunk of bytes from the port.
Lexical analyzer for CIntSwissKnife.