Spinnaker C++
2.6.0.0
Public Member Functions | List of all members
CRegisterPortImpl Class Referenceabstract

Standard implementation for a port using a register based transport layer. More...

Inheritance diagram for CRegisterPortImpl:
CPortImpl

Public Member Functions

 CRegisterPortImpl (int MaxNumQuadlets=1, bool TransportLayerSwapsEndianess=false)
 Constructor. More...
 
virtual ~CRegisterPortImpl ()
 Destructor. More...
 
virtual EAccessMode GetAccessMode () const =0
 Get the access mode of the node. More...
 
virtual void ReadRegister (uint32_t *pRegisters, int64_t Address, int64_t Length)=0
 Reads an array of quadlets from the port. More...
 
virtual void WriteRegister (const uint32_t *pRegisters, int64_t Address, int64_t Length)=0
 Writes an array of quadlets to the port. More...
 
virtual void Read (void *pBuffer, int64_t Address, int64_t Length)
 Reads a chunk of bytes from the port. More...
 
virtual void Write (const void *pBuffer, int64_t Address, int64_t Length)
 Writes a chunk of bytes to the port. More...
 
virtual void SetPortImpl (IPort *pPort)
 Sets pointer the real port implementation; this function may called only once. More...
 
- Public Member Functions inherited from CPortImpl
 CPortImpl ()
 Constructor. More...
 
virtual ~CPortImpl ()
 Destructor. More...
 
virtual EYesNo GetSwapEndianess ()
 Determines if the port adapter must perform an endianness swap. More...
 
virtual void Replay (IPortWriteList *pPortRecorder, bool Invalidate=true)
 sends the commands to the camera. More...
 
void InvalidateNode ()
 

Additional Inherited Members

- Protected Attributes inherited from CPortImpl
CNodePtr m_ptrPort
 Pointer to the node holding a reference to this implementation. More...
 

Detailed Description

Standard implementation for a port using a register based transport layer.

Constructor & Destructor Documentation

CRegisterPortImpl ( int  MaxNumQuadlets = 1,
bool  TransportLayerSwapsEndianess = false 
)
inline

Constructor.

virtual ~CRegisterPortImpl ( )
inlinevirtual

Destructor.

Member Function Documentation

virtual EAccessMode GetAccessMode ( ) const
pure virtual

Get the access mode of the node.

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

Implements CPortImpl.

virtual void Read ( void *  pBuffer,
int64_t  Address,
int64_t  Length 
)
inlinevirtual

Reads a chunk of bytes from the port.

Implements CPortImpl.

virtual void ReadRegister ( uint32_t *  pRegisters,
int64_t  Address,
int64_t  Length 
)
pure virtual

Reads an array of quadlets from the port.

virtual void SetPortImpl ( IPort pPort)
inlinevirtual

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

Reimplemented from CPortImpl.

virtual void Write ( const void *  pBuffer,
int64_t  Address,
int64_t  Length 
)
inlinevirtual

Writes a chunk of bytes to the port.

Implements CPortImpl.

virtual void WriteRegister ( const uint32_t *  pRegisters,
int64_t  Address,
int64_t  Length 
)
pure virtual

Writes an array of quadlets to the port.


The documentation for this class was generated from the following file:
Contact Support Spinnaker® SDK Programmer's Guide and API Reference