Critical Link MityCam SoC Firmware  1.0
Critical Link MityCam SoC Firmware
tcGenICamStatusReporter Class Reference

#include <GenICamStatusReporter.h>

Inheritance diagram for tcGenICamStatusReporter:
Collaboration diagram for tcGenICamStatusReporter:

Public Member Functions

 tcGenICamStatusReporter (unsigned int buffer_size=gnDEFAULT_BUFFER_SIZE, uint64_t bytes_written_addr=gnDEFAULT_BUFFER_BYTESWRITTEN_LOCATION, uint64_t buffer_location=gnDEFAULT_BUFFER_LOCATION)
 
virtual ~tcGenICamStatusReporter ()
 
virtual void updateStatus (teStatus aeStatus, const char *apMessage) override
 
- Public Member Functions inherited from tcStatusReporter
 tcStatusReporter ()
 
virtual ~tcStatusReporter ()
 
virtual void disableIndicators (bool abDisable)
 

Static Public Attributes

static const unsigned int gnDEFAULT_BUFFER_LOCATION = DEBUG_BUFFER_ADDR
 
static const uint64_t gnDEFAULT_BUFFER_BYTESWRITTEN_LOCATION = DEBUG_BUFFER_BYTESWRITTEN_ADDR
 
static const uint64_t gnDEFAULT_BUFFER_SIZE = 0x10000
 

Protected Member Functions

unsigned int addText (const char *text)
 
- Protected Member Functions inherited from tcStatusReporter
const char * statusToString (teStatus aeStatus)
 

Protected Attributes

unsigned int mnBufferSize
 
uint64_t mnBytesWrittenAddr
 
unsigned int mnBytesTransmitted
 
unsigned int mnWritePtr
 
tcRegisterFilempRegs
 
char * mpRingBuffer
 

Additional Inherited Members

- Public Types inherited from tcStatusReporter
enum  teStatus {
  eeCapturingStart, eeCapturingEnd, eeGood, eeWarning,
  eeError, eeClear, eeInfo
}
 
- Static Public Member Functions inherited from tcStatusReporter
static void UpdateStatus (teStatus aeStatus, const char *apMessage)
 
static void DisableIndicators (bool abDisable)
 
- Static Protected Attributes inherited from tcStatusReporter
static std::list< tcStatusReporter * > mcReporters
 

Constructor & Destructor Documentation

◆ tcGenICamStatusReporter()

tcGenICamStatusReporter::tcGenICamStatusReporter ( unsigned int  buffer_size = gnDEFAULT_BUFFER_SIZE,
uint64_t  bytes_written_addr = gnDEFAULT_BUFFER_BYTESWRITTEN_LOCATION,
uint64_t  buffer_location = gnDEFAULT_BUFFER_LOCATION 
)

◆ ~tcGenICamStatusReporter()

tcGenICamStatusReporter::~tcGenICamStatusReporter ( )
virtual

Member Function Documentation

◆ addText()

unsigned int tcGenICamStatusReporter::addText ( const char *  text)
protected

◆ updateStatus()

void tcGenICamStatusReporter::updateStatus ( teStatus  aeStatus,
const char *  apMessage 
)
overridevirtual

overrides for tcStatusReporter

Implements tcStatusReporter.

Member Data Documentation

◆ gnDEFAULT_BUFFER_BYTESWRITTEN_LOCATION

const uint64_t tcGenICamStatusReporter::gnDEFAULT_BUFFER_BYTESWRITTEN_LOCATION = DEBUG_BUFFER_BYTESWRITTEN_ADDR
static

◆ gnDEFAULT_BUFFER_LOCATION

const unsigned int tcGenICamStatusReporter::gnDEFAULT_BUFFER_LOCATION = DEBUG_BUFFER_ADDR
static

◆ gnDEFAULT_BUFFER_SIZE

const uint64_t tcGenICamStatusReporter::gnDEFAULT_BUFFER_SIZE = 0x10000
static

◆ mnBufferSize

unsigned int tcGenICamStatusReporter::mnBufferSize
protected

◆ mnBytesTransmitted

unsigned int tcGenICamStatusReporter::mnBytesTransmitted
protected

◆ mnBytesWrittenAddr

uint64_t tcGenICamStatusReporter::mnBytesWrittenAddr
protected

◆ mnWritePtr

unsigned int tcGenICamStatusReporter::mnWritePtr
protected

◆ mpRegs

tcRegisterFile* tcGenICamStatusReporter::mpRegs
protected

◆ mpRingBuffer

char* tcGenICamStatusReporter::mpRingBuffer
protected

The documentation for this class was generated from the following files: