Standard implementation for a port using a register based transport layer.
More...
#include <RegisterPortImpl.h>
|
| CRegisterPortImpl (int MaxNumQuadlets=1, bool TransportLayerSwapsEndianess=false) |
| Constructor.
|
|
virtual | ~CRegisterPortImpl () |
| Destructor.
|
|
virtual EAccessMode | GetAccessMode () const =0 |
| Get the access mode of the node.
|
|
virtual void | ReadRegister (uint32_t *pRegisters, int64_t Address, int64_t Length)=0 |
| Reads an array of quadlets from the port.
|
|
virtual void | WriteRegister (const uint32_t *pRegisters, int64_t Address, int64_t Length)=0 |
| Writes an array of quadlets to the port.
|
|
virtual void | Read (void *pBuffer, int64_t Address, int64_t Length) |
| Reads a chunk of bytes from the port.
|
|
virtual void | Write (const void *pBuffer, int64_t Address, int64_t Length) |
| Writes a chunk of bytes to the port.
|
|
virtual void | SetPortImpl (IPort *pPort) |
| Sets pointer the real port implementation; this function may called only once.
|
|
| CPortImpl () |
| Constructor.
|
|
virtual | ~CPortImpl () |
| Destructor.
|
|
virtual EAccessMode | GetAccessMode () const =0 |
| Get the access mode of the node.
|
|
virtual void | Read (void *pBuffer, int64_t Address, int64_t Length)=0 |
| Reads a chunk of bytes from the port.
|
|
virtual void | Write (const void *pBuffer, int64_t Address, int64_t Length)=0 |
| Writes a chunk of bytes to the port.
|
|
virtual void | SetPortImpl (IPort *pPort) |
| Sets pointer the real port implementation; this function may called only once.
|
|
virtual EYesNo | GetSwapEndianess () |
| Determines if the port adapter must perform an endianness swap.
|
|
virtual void | Replay (IPortWriteList *pPortRecorder, bool Invalidate=true) |
| sends the commands to the camera.
|
|
void | InvalidateNode () |
|
Standard implementation for a port using a register based transport layer.
◆ CRegisterPortImpl()
CRegisterPortImpl |
( |
int |
MaxNumQuadlets = 1 , |
|
|
bool |
TransportLayerSwapsEndianess = false |
|
) |
| |
|
inline |
◆ ~CRegisterPortImpl()
◆ GetAccessMode()
Get the access mode of the node.
Driver closed => NI, Driver open => RW, analyzing a struct, RO
Implements CPortImpl.
◆ Read()
virtual void Read |
( |
void * |
pBuffer, |
|
|
int64_t |
Address, |
|
|
int64_t |
Length |
|
) |
| |
|
inlinevirtual |
Reads a chunk of bytes from the port.
Implements CPortImpl.
◆ ReadRegister()
virtual void ReadRegister |
( |
uint32_t * |
pRegisters, |
|
|
int64_t |
Address, |
|
|
int64_t |
Length |
|
) |
| |
|
pure virtual |
Reads an array of quadlets from the port.
◆ SetPortImpl()
virtual void SetPortImpl |
( |
IPort * |
pPort | ) |
|
|
inlinevirtual |
Sets pointer the real port implementation; this function may called only once.
Reimplemented from CPortImpl.
◆ Write()
virtual void Write |
( |
const void * |
pBuffer, |
|
|
int64_t |
Address, |
|
|
int64_t |
Length |
|
) |
| |
|
inlinevirtual |
Writes a chunk of bytes to the port.
Implements CPortImpl.
◆ WriteRegister()
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: