Class CTraceFifoStdBuffer#

Inheritance Relationships#

Base Type#

Class Documentation#

class CTraceFifoStdBuffer : public CTraceFifoWriter#

Interception and dispatching of all messages from STDOUT and STDERR to the trace fifo.

Public Functions

CTraceFifoStdBuffer(uint32_t uiInstanceID = 1000u, size_t nSize = 16384)#

Constructor.

Parameters:
  • uiInstanceID[in] The instance ID to use for sending/monitoring the messages.

  • nSize[in] Default size of the fifo.

virtual ~CTraceFifoStdBuffer() override#

Destructor.

virtual bool Open(size_t nTimeout = 1000, uint32_t uiFlags = 0u) override#

Open the fifo and direct all messages from StdOut and StdErr to the trace fifo. Override of CTraceFifoBase::Open.

Parameters:
  • nTimeout[in] Timeout to return from this function. A timeout of 0xffffffff does not return until a connection has been established.

  • uiFlags[in] Zero or more flags of ETraceFifoOpenFlags enum.

Returns:

Returns true when connected; false otherwise.

virtual void Close() override#

Revert the redirection and close the open fifo. Override of CTraceFifoBase::Close.