ngc 1.5.0
 
Loading...
Searching...
No Matches
TEST_APP Class Reference
Inheritance diagram for TEST_APP:
ngcppAPP

Public Member Functions

 TEST_APP ()
 
 ~TEST_APP ()
 
int Connect (const char *name, char *erms) override
 Connect to camera.
 
int Disconnect (char *erms) override
 Disconnect from camera.
 
int Clear (char *erms) override
 Clear data fifos.
 
int StartAcquisition (char *erms) override
 Start image acquisition.
 
int StopAcquisition (char *erms) override
 Stop image acquisition.
 
void SkipData () override
 Skip next data buffer.
 
int NextData (unsigned char *buffer, size_t size, uint64_t *ts, char *erms) override
 Get next data buffer from camera.
 
int Configure (char *erms) override
 Configuration call-back.
 
void AppStart () override
 Enter main loop callback.
 
int Process (int instance, void *buffer, char *erms) override
 Process data (multithreaded, if numProc is greater than 1)
 
void Publish () override
 Publisher call-back, executed after all data-processes have finished.
 
void ResetCounters (int cnt) override
 Call-back to reset the application counters.
 
int CheckParam (int *param, int running, int *idx) override
 Check parameter range.
 
void Command (const char *command, char *reply) override
 Command handler.
 
- Public Member Functions inherited from ngcppAPP
 ngcppAPP ()
 Application constructor.
 
virtual ~ngcppAPP ()
 Destructor.
 
virtual int Alloc (unsigned char **buffer, int n, size_t size, char *erms)
 Allocate circular buffer.
 
virtual void Free (unsigned char **buffer, int n)
 Free circular buffer.
 
int RunApp (int argc, char **argv, char *erms)
 Run the application.
 
void TerminateProcesses ()
 Terminate application processes.
 
void AddLog (const char *msg)
 Add a message to the logging service.
 
void Failure (const char *msg)
 Signal error condition.
 
void FailureOverrun (const char *msg)
 Signal buffer overrun (error condition)
 

Public Attributes

ngcppFRAME_QUEUEintQueue
 
- Public Attributes inherited from ngcppAPP
int nx
 x-dimension
 
int ny
 y-dimension
 
int numProc
 Number of processors.
 
int skipData
 Enable data-skip call-back.
 
ngcbSEMsemData
 Counting data buffer semaphore.
 
bool mainLoopRunning
 Main loop is running.
 

Constructor & Destructor Documentation

◆ TEST_APP()

TEST_APP::TEST_APP ( )
inline

◆ ~TEST_APP()

TEST_APP::~TEST_APP ( )
inline

Member Function Documentation

◆ AppStart()

void TEST_APP::AppStart ( )
inlineoverridevirtual

Enter main loop callback.

Reimplemented from ngcppAPP.

◆ CheckParam()

int TEST_APP::CheckParam ( int * param,
int running,
int * idx )
inlineoverridevirtual

Check parameter range.

Reimplemented from ngcppAPP.

◆ Clear()

int TEST_APP::Clear ( char * erms)
inlineoverridevirtual

Clear data fifos.

Reimplemented from ngcppAPP.

◆ Command()

void TEST_APP::Command ( const char * command,
char * reply )
inlineoverridevirtual

Command handler.

Reimplemented from ngcppAPP.

◆ Configure()

int TEST_APP::Configure ( char * erms)
inlineoverridevirtual

Configuration call-back.

Reimplemented from ngcppAPP.

◆ Connect()

int TEST_APP::Connect ( const char * name,
char * erms )
inlineoverridevirtual

Connect to camera.

Reimplemented from ngcppAPP.

◆ Disconnect()

int TEST_APP::Disconnect ( char * erms)
inlineoverridevirtual

Disconnect from camera.

Reimplemented from ngcppAPP.

◆ NextData()

int TEST_APP::NextData ( unsigned char * buffer,
size_t size,
uint64_t * ts,
char * erms )
inlineoverridevirtual

Get next data buffer from camera.

Reimplemented from ngcppAPP.

◆ Process()

int TEST_APP::Process ( int instance,
void * buffer,
char * erms )
inlineoverridevirtual

Process data (multithreaded, if numProc is greater than 1)

Our clones

Reimplemented from ngcppAPP.

◆ Publish()

void TEST_APP::Publish ( )
inlineoverridevirtual

Publisher call-back, executed after all data-processes have finished.

Reimplemented from ngcppAPP.

◆ ResetCounters()

void TEST_APP::ResetCounters ( int cnt)
inlineoverridevirtual

Call-back to reset the application counters.

Reimplemented from ngcppAPP.

◆ SkipData()

void TEST_APP::SkipData ( )
inlineoverridevirtual

Skip next data buffer.

Reimplemented from ngcppAPP.

◆ StartAcquisition()

int TEST_APP::StartAcquisition ( char * erms)
inlineoverridevirtual

Start image acquisition.

Reimplemented from ngcppAPP.

◆ StopAcquisition()

int TEST_APP::StopAcquisition ( char * erms)
inlineoverridevirtual

Stop image acquisition.

Reimplemented from ngcppAPP.

Member Data Documentation

◆ intQueue

ngcppFRAME_QUEUE* TEST_APP::intQueue

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