ngc 1.5.0
 
Loading...
Searching...
No Matches
ngcbPP Class Reference

#include <ngcbPP.hpp>

Inheritance diagram for ngcbPP:
ngcbPP_OUT

Public Member Functions

 ngcbPP ()
 Constructor.
 
 ngcbPP (int id)
 Constructor.
 
virtual ~ngcbPP ()
 Destructor.
 
int Initialized ()
 Return initialization flag.
 
char * ErrMsg ()
 Error message.
 
void Id (int id)
 Assign id.
 
int Id ()
 Return processor ID.
 
int NumBuf ()
 Return number of frame buffers.
 
int RdOnly ()
 Return input buffer read-only flag.
 
void * Execute (void *buffer, ngcb_pp_descr *descr)
 Execute Processor.
 
virtual void * Process (void *buffer, ngcb_pp_descr *descr)
 Pixel-Processor.
 

Public Attributes

int verboseLevel
 Verbose level.
 
int logLevel
 Logging level.
 
ngcbPPnext
 Next processor.
 
ngcb_pp_syncpsync
 Thread synchronization primitive.
 
ngcb_pp_thr proc
 Built-in processing thread.
 
pthread_t thid
 Thread id.
 
void * procBuf
 Processing thread buffer (forward)
 
ngcb_pp_descr procDescr
 Processing thread buffer descriptor (forward)
 

Protected Member Functions

void Init_ (int id)
 Initialization function.
 
void Log (const char *msg)
 Logging function.
 
void * Malloc (size_t size)
 Preferred buffer allocation.
 

Protected Attributes

int initialized
 Initialization flag.
 
int numBuf
 Number of frame buffers.
 
int rdOnly
 Input buffer read-only flag.
 

Detailed Description

Pixel-Processor class

Constructor & Destructor Documentation

◆ ngcbPP() [1/2]

ngcbPP::ngcbPP ( )
inline

Constructor.

◆ ngcbPP() [2/2]

ngcbPP::ngcbPP ( int id)
inlineexplicit

Constructor.

◆ ~ngcbPP()

virtual ngcbPP::~ngcbPP ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ ErrMsg()

char * ngcbPP::ErrMsg ( )
inline

Error message.

◆ Execute()

void * ngcbPP::Execute ( void * buffer,
ngcb_pp_descr * descr )
inline

Execute Processor.

◆ Id() [1/2]

int ngcbPP::Id ( )
inline

Return processor ID.

◆ Id() [2/2]

void ngcbPP::Id ( int id)
inline

Assign id.

◆ Init_()

void ngcbPP::Init_ ( int id)
inlineprotected

Initialization function.

◆ Initialized()

int ngcbPP::Initialized ( )
inline

Return initialization flag.

◆ Log()

void ngcbPP::Log ( const char * msg)
inlineprotected

Logging function.

◆ Malloc()

void * ngcbPP::Malloc ( size_t size)
inlineprotected

Preferred buffer allocation.

◆ NumBuf()

int ngcbPP::NumBuf ( )
inline

Return number of frame buffers.

◆ Process()

virtual void * ngcbPP::Process ( void * buffer,
ngcb_pp_descr * descr )
inlinevirtual

Pixel-Processor.

Reimplemented in ngcbPP_OUT.

◆ RdOnly()

int ngcbPP::RdOnly ( )
inline

Return input buffer read-only flag.

Member Data Documentation

◆ initialized

int ngcbPP::initialized
protected

Initialization flag.

◆ logLevel

int ngcbPP::logLevel

Logging level.

◆ next

ngcbPP* ngcbPP::next

Next processor.

◆ numBuf

int ngcbPP::numBuf
protected

Number of frame buffers.

◆ proc

ngcb_pp_thr ngcbPP::proc

Built-in processing thread.

◆ procBuf

void* ngcbPP::procBuf

Processing thread buffer (forward)

◆ procDescr

ngcb_pp_descr ngcbPP::procDescr

Processing thread buffer descriptor (forward)

◆ psync

ngcb_pp_sync* ngcbPP::psync

Thread synchronization primitive.

◆ rdOnly

int ngcbPP::rdOnly
protected

Input buffer read-only flag.

◆ thid

pthread_t ngcbPP::thid

Thread id.

◆ verboseLevel

int ngcbPP::verboseLevel

Verbose level.


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