Public Member Functions | Protected Member Functions | Protected Attributes
GENAPI_NAMESPACE::CPortImplIntern Class Reference

Standard IPort implementation. More...

#include <Port.h>

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

List of all members.

Public Member Functions

virtual EYesNo CacheChunkData () const
 Indicates if the chunk a adapter must hold a cached version of the chunk data.
 CPortImplIntern ()
 Default constructor.
virtual GENICAM_NAMESPACE::gcstring GetChunkID () const
 Get the Id of the chunk the port should be attached to.
virtual bool GetProperty (CNodeDataMap *pNodeDataMap, CPropertyID::EProperty_ID_t PropertyID, CNodeData::PropertyVector_t &PropertyList) const
virtual EYesNo GetSwapEndianess ()
 Determines if the port adapter must perform an endianess swap.
virtual CValueCacheGetValueCache () const
 Returns the value cache.
virtual void Read (void *pBuffer, int64_t Address, int64_t Length)
 Reads a chunk of bytes from the port.
virtual void Replay (IPortWriteList *pPortRecorder, bool Invalidate=true)
 Sends the commands to the camera.
void SetPortImpl (IPort *pPort)
 Sets pointer the real port implementation; this function may called only once.
virtual void SetProperty (CProperty &Property)
virtual void StartRecording (IPortWriteList *pPortRecorder)
 Starts logging all WriteRegister commands to a list.
virtual void StopRecording ()
 Stops recording.
virtual void Write (const void *pBuffer, int64_t Address, int64_t Length)
 Writes a chunk of bytes to the port.
virtual ~CPortImplIntern ()
 Destructor.

Protected Member Functions

virtual EAccessMode InternalGetAccessMode () const
 Get the access mode of the node.
virtual EInterfaceType InternalGetPrincipalInterfaceType () const
 Implementation of IBase::GetPrincipalInterfaceType()

Protected Attributes

EYesNo m_CacheChunkData
 Determines if the port adapter must cache the chunk data.
CStringPolyRef m_ChunkID
 The ChunkID.
IPortm_pPort
 Pointer to node giving access to the real port implementation.
IPortWriteList * m_pPortWriteList
 Pointer to node giving access to the real port implementation.
GENAPI_NAMESPACE::CValueCachem_pValueCache
 Pointer the value cache.
EYesNo m_SwapEndianess
 Determines if the port adapter must perform an endianess swap.

Detailed Description

Standard IPort implementation.

Proxy forwarding all calls to the real implementation

Definition at line 55 of file Port.h.


Constructor & Destructor Documentation

Default constructor.

Destructor.


Member Function Documentation

Indicates if the chunk a adapter must hold a cached version of the chunk data.

Get the Id of the chunk the port should be attached to.

virtual bool GENAPI_NAMESPACE::CPortImplIntern::GetProperty ( CNodeDataMap *  pNodeDataMap,
CPropertyID::EProperty_ID_t  PropertyID,
CNodeData::PropertyVector_t &  PropertyList 
) const [virtual]

Reimplemented from GENAPI_NAMESPACE::CNodeImpl.

Determines if the port adapter must perform an endianess swap.

Returns the value cache.

Get the access mode of the node.

Reimplemented from GENAPI_NAMESPACE::CNodeImpl.

Implementation of IBase::GetPrincipalInterfaceType()

Reimplemented from GENAPI_NAMESPACE::CNodeImpl.

Definition at line 78 of file Port.h.

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

Reads a chunk of bytes from the port.

virtual void GENAPI_NAMESPACE::CPortImplIntern::Replay ( IPortWriteList *  pPortRecorder,
bool  Invalidate = true 
) [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.

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

virtual void GENAPI_NAMESPACE::CPortImplIntern::SetProperty ( CProperty &  Property) [virtual]

Reimplemented from GENAPI_NAMESPACE::CNodeImpl.

virtual void GENAPI_NAMESPACE::CPortImplIntern::StartRecording ( IPortWriteList *  pPortRecorder) [virtual]

Starts logging all WriteRegister commands to a list.

Stops recording.

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

Writes a chunk of bytes to the port.


Member Data Documentation

Determines if the port adapter must cache the chunk data.

Definition at line 169 of file Port.h.

The ChunkID.

Definition at line 160 of file Port.h.

Pointer to node giving access to the real port implementation.

Definition at line 154 of file Port.h.

Pointer to node giving access to the real port implementation.

Definition at line 157 of file Port.h.

Pointer the value cache.

Definition at line 163 of file Port.h.

Determines if the port adapter must perform an endianess swap.

Definition at line 166 of file Port.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