GenApi 3.5.1
Classes | Public Member Functions | Protected Attributes | List of all members
CPortWriteList Class Reference

Container holding a list of port write commands.

#include <PortWriteList.h>

Inherits IPortWriteList.

Classes

struct  WriteCommand_t
 The data associated with a write command. More...
 

Public Member Functions

 CPortWriteList ()
 Constructor.
 
virtual ~CPortWriteList ()
 Destructor.
 
virtual void Write (const void *pBuffer, int64_t Address, int64_t Length)
 Writes a chunk of bytes to the port.
 
virtual void Replay (IPort *pPort)
 Replays the write command to the given port interface.
 
virtual void SetCookie (const int64_t Value)
 Sets a cookie in case the port implementation want to cache a command list.
 
virtual int64_t GetCookie ()
 Gets the cookie a port implementation may have set for caching a command list.
 

Protected Attributes

std::list< WriteCommand_t > * m_pWriteCommands
 a list holding the write commands
 
int64_t m_Cookie
 A cookie helper for caching.