FARGOS/VISTA Object Management Environment Core  ..
FARGOS/VISTA Object Management Environment Core Table of Contents
ReplumbAndLog Class Reference

Intercept output to an existing file descriptor by taking ownership of its destination, examining all data written to that descriptor, and possibly modifying it before sending it on to the originally intended output destination. More...

#include <logging_api.hpp>

Public Member Functions

 ReplumbAndLog (OS_HANDLE_TYPE existing_fd, IO_processBlockFP rout=acceptData, const char *label="replumb")
 
 ~ReplumbAndLog ()
 

Static Public Member Functions

static int acceptData (SharedBufferAllocRecord *rec, IO_Processor *controller)
 

Protected Attributes

OS_HANDLE_TYPE source_fd
 
OS_HANDLE_TYPE output_fd
 
LogManagerlogMgr
 
SharedMemoryVariableNode namingNode
 
unsigned char bfrBlock [0x2000]
 

Detailed Description

Intercept output to an existing file descriptor by taking ownership of its destination, examining all data written to that descriptor, and possibly modifying it before sending it on to the originally intended output destination.

Constructor & Destructor Documentation

◆ ReplumbAndLog()

◆ ~ReplumbAndLog()

ReplumbAndLog::~ReplumbAndLog ( )
inline

Member Function Documentation

◆ acceptData()

int ReplumbAndLog::acceptData ( SharedBufferAllocRecord rec,
IO_Processor controller 
)
static

Member Data Documentation

◆ bfrBlock

unsigned char ReplumbAndLog::bfrBlock[0x2000]
protected

Referenced by ReplumbAndLog().

◆ logMgr

LogManager* ReplumbAndLog::logMgr
protected

◆ namingNode

SharedMemoryVariableNode ReplumbAndLog::namingNode
protected

Referenced by ReplumbAndLog().

◆ output_fd

OS_HANDLE_TYPE ReplumbAndLog::output_fd
protected

Referenced by acceptData(), and ReplumbAndLog().

◆ source_fd

OS_HANDLE_TYPE ReplumbAndLog::source_fd
protected

Referenced by ReplumbAndLog().


The documentation for this class was generated from the following files:
Generated: Fri Jul 31 2020 18:19:16
Support Information