Public Member Functions | Private Attributes | List of all members
GENAPI_NAMESPACE::CPortStackedImpl Class Referenceabstract

Standard implementation for a port ! More...

#include <PortStackedImpl.h>

Inheritance diagram for GENAPI_NAMESPACE::CPortStackedImpl:
Inheritance graph
[legend]

Public Member Functions

 CPortStackedImpl ()
 Constructor. More...
 
virtual EAccessMode GetAccessMode () const =0
 Get the access mode of the node. More...
 
virtual EYesNo GetSwapEndianess ()
 Determines if the port adapter must perform an endianess swap. More...
 
void InvalidateNode ()
 
virtual void Read (void *pBuffer, int64_t Address, int64_t Length)=0
 Reads a chunk of bytes from the port. More...
 
virtual void Replay (IPortWriteList *pPortRecorder, bool Invalidate=true)
 sends the commands to the camera. More...
 
virtual void SetPortImpl (IPortStacked *pPort)
 Sets pointer the real port implementation; this function may called only once. More...
 
virtual void Write (const void *pBuffer, int64_t Address, int64_t Length)=0
 Writes a chunk of bytes to the port. More...
 
virtual void Write (PORT_REGISTER_STACK_ENTRY *pEntries, size_t numEntries)=0
 Writes a chunk of bytes to the port. More...
 
virtual ~CPortStackedImpl ()
 Destructor. More...
 

Private Attributes

CNodePtr m_ptrPort
 Pointer to the node holding a reference to this implementation. More...
 

Detailed Description

Standard implementation for a port !

Definition at line 58 of file PortStackedImpl.h.

Constructor & Destructor Documentation

GENAPI_NAMESPACE::CPortStackedImpl::CPortStackedImpl ( )
inline

Constructor.

Definition at line 62 of file PortStackedImpl.h.

virtual GENAPI_NAMESPACE::CPortStackedImpl::~CPortStackedImpl ( )
inlinevirtual

Destructor.

Definition at line 67 of file PortStackedImpl.h.

Member Function Documentation

virtual EAccessMode GENAPI_NAMESPACE::CPortStackedImpl::GetAccessMode ( ) const
pure virtual

Get the access mode of the node.

Driver closed => NI, Driver open => RW, analysing a struct, RO

virtual EYesNo GENAPI_NAMESPACE::CPortStackedImpl::GetSwapEndianess ( )
inlinevirtual

Determines if the port adapter must perform an endianess swap.

Definition at line 108 of file PortStackedImpl.h.

void GENAPI_NAMESPACE::CPortStackedImpl::InvalidateNode ( )
inline

Definition at line 134 of file PortStackedImpl.h.

virtual void GENAPI_NAMESPACE::CPortStackedImpl::Read ( void *  pBuffer,
int64_t  Address,
int64_t  Length 
)
pure virtual

Reads a chunk of bytes from the port.

virtual void GENAPI_NAMESPACE::CPortStackedImpl::Replay ( IPortWriteList pPortRecorder,
bool  Invalidate = true 
)
inlinevirtual

sends the commands to the camera.

the default implementation just walks the list and issues each command using the WriteRegister method. Depending on the capabilities of the transport layer the implementation can however use a special command which sends all register write commands as one package.

Definition at line 124 of file PortStackedImpl.h.

virtual void GENAPI_NAMESPACE::CPortStackedImpl::SetPortImpl ( IPortStacked pPort)
inlinevirtual

Sets pointer the real port implementation; this function may called only once.

Definition at line 101 of file PortStackedImpl.h.

virtual void GENAPI_NAMESPACE::CPortStackedImpl::Write ( const void *  pBuffer,
int64_t  Address,
int64_t  Length 
)
pure virtual

Writes a chunk of bytes to the port.

virtual void GENAPI_NAMESPACE::CPortStackedImpl::Write ( PORT_REGISTER_STACK_ENTRY pEntries,
size_t  numEntries 
)
pure virtual

Writes a chunk of bytes to the port.

Member Data Documentation

CNodePtr GENAPI_NAMESPACE::CPortStackedImpl::m_ptrPort
private

Pointer to the node holding a reference to this implementation.

Definition at line 142 of file PortStackedImpl.h.


The documentation for this class was generated from the following file:


rc_genicam_api
Author(s): Heiko Hirschmueller
autogenerated on Wed Mar 17 2021 02:48:42