ngc 1.5.0
 
Loading...
Searching...
No Matches
ngcbPP.hpp File Reference
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <errno.h>
#include <dlfcn.h>
#include <ngc/core/ngcb.h>
#include <ngc/core/ngcbSched.h>

Go to the source code of this file.

Classes

struct  ngcb_pp_descr
 
class  ngcb_pp_sync
 
class  ngcbPP
 
class  ngcbPP_FACTORY
 
class  ngcbPIPELINE
 

Macros

#define ngcbPP_SUCCESS   0x0000
 
#define ngcbPP_SKIP   0x0001
 
#define ngcbPP_FAILURE   0x0100
 
#define ngcbPP_ERR_FATAL   0x1100
 
#define ngcbPPLOG(...)
 
#define ngcbPP_MAX_LIB   32
 
#define NGC_REGISTER_PP_MOD(type, name)
 

Typedefs

typedef void *(* ngcb_pp_thr) (void *arg)
 

Detailed Description

Macro Definition Documentation

◆ NGC_REGISTER_PP_MOD

#define NGC_REGISTER_PP_MOD ( type,
name )
Value:
extern "C" { type name; \
int _ngcb_pp_ ## name = 1 ; }

Pixel-Processor module registration macro

◆ ngcbPP_ERR_FATAL

#define ngcbPP_ERR_FATAL   0x1100

◆ ngcbPP_FAILURE

#define ngcbPP_FAILURE   0x0100

◆ ngcbPP_MAX_LIB

#define ngcbPP_MAX_LIB   32

Maximum number of external libraries

◆ ngcbPP_SKIP

#define ngcbPP_SKIP   0x0001

◆ ngcbPP_SUCCESS

#define ngcbPP_SUCCESS   0x0000

◆ ngcbPPLOG

#define ngcbPPLOG ( ...)
Value:
do {char s[320]; snprintf(s, 320, __VA_ARGS__); Log(s);} while (0)

Logging macro (only valid inside ngcbPP and ngcbPIPELINE classes)

Typedef Documentation

◆ ngcb_pp_thr

typedef void *(* ngcb_pp_thr) (void *arg)

Thread function type