Public Member Functions | Private Attributes
GENAPI_NAMESPACE::CPortImpl Class Reference

Standard implementation for a port ! More...

#include <PortImpl.h>

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

List of all members.

Public Member Functions

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

Private Attributes

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

Detailed Description

Standard implementation for a port !

Definition at line 59 of file PortImpl.h.


Constructor & Destructor Documentation

Constructor.

Definition at line 63 of file PortImpl.h.

virtual GENAPI_NAMESPACE::CPortImpl::~CPortImpl ( ) [inline, virtual]

Destructor.

Definition at line 68 of file PortImpl.h.


Member Function Documentation

virtual EAccessMode GENAPI_NAMESPACE::CPortImpl::GetAccessMode ( ) const [pure virtual]

Get the access mode of the node.

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

Implemented in GENAPI_NAMESPACE::CTestPortStruct< CDataStruct >.

Determines if the port adapter must perform an endianess swap.

Definition at line 102 of file PortImpl.h.

Definition at line 128 of file PortImpl.h.

virtual void GENAPI_NAMESPACE::CPortImpl::Read ( void *  pBuffer,
int64_t  Address,
int64_t  Length 
) [pure virtual]

Reads a chunk of bytes from the port.

Implemented in GENAPI_NAMESPACE::CTestPortStruct< CDataStruct >.

virtual void GENAPI_NAMESPACE::CPortImpl::Replay ( IPortWriteList *  pPortRecorder,
bool  Invalidate = true 
) [inline, virtual]

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 118 of file PortImpl.h.

virtual void GENAPI_NAMESPACE::CPortImpl::SetPortImpl ( IPort pPort) [inline, virtual]

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

Definition at line 95 of file PortImpl.h.

virtual void GENAPI_NAMESPACE::CPortImpl::Write ( const void *  pBuffer,
int64_t  Address,
int64_t  Length 
) [pure virtual]

Writes a chunk of bytes to the port.

Implemented in GENAPI_NAMESPACE::CTestPortStruct< CDataStruct >.


Member Data Documentation

Pointer to the node holding a reference to this implementation.

Definition at line 136 of file PortImpl.h.


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


rc_visard_driver
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Ruess
autogenerated on Thu Jun 6 2019 20:43:11