Class Spinnaker::GenApi::CPortImpl¶
ClassList > GenApi > CPortImpl
Standard implementation for a port.
#include <PortImpl.h>
Inherits the following classes: IPortConstruct, IPortReplay
Inherited by the following classes: Spinnaker::GenApi::CRegisterPortImpl, Spinnaker::GenApi::CTestPortStruct
Public Functions¶
| Type | Name |
|---|---|
| CPortImpl () |
|
| virtual EAccessMode | GetAccessMode () const = 0 |
| virtual EYesNo | GetSwapEndianess () |
| void | InvalidateNode () |
| virtual void | Read (void * pBuffer, int64_t Address, int64_t Length) = 0 |
| virtual void | Replay (IPortWriteList * pPortRecorder, bool Invalidate=true) |
| virtual void | SetPortImpl (IPort * pPort) |
| virtual void | Write (const void * pBuffer, int64_t Address, int64_t Length) = 0 |
| virtual | ~CPortImpl () |
Protected Attributes¶
| Type | Name |
|---|---|
| CNodePtr | m_ptrPort |
Public Functions Documentation¶
function CPortImpl¶
Constructor
function GetAccessMode¶
Get the access mode of the node
Driver closed => NI, Driver open => RW, analyzing a struct, RO
function GetSwapEndianess¶
Determines if the port adapter must perform an endianness swap
function InvalidateNode¶
function Read¶
Reads a chunk of bytes from the port
function Replay¶
inline virtual void GenApi::CPortImpl::Replay (
IPortWriteList * pPortRecorder,
bool Invalidate=true
)
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.
function SetPortImpl¶
Sets pointer the real port implementation; this function may called only once
function Write¶
Writes a chunk of bytes to the port
function ~CPortImpl¶
Destructor
Protected Attributes Documentation¶
variable m_ptrPort¶
Pointer to the node holding a reference to this implementation
The documentation for this class was generated from the following file /workspace/include/SpinGenApi/PortImpl.h