NetBurner 3.5.6
PDF Version
DiagCallBack Class Reference

Callback-based diagnostic item that calls a custom function to generate diagnostic content. More...

#include <diagnostics.h>

Inherits DiagItemClass.

Public Member Functions

 DiagCallBack (const char *name, diagcallback *pFunc)
 Constructor for callback-based diagnostic item.
 

Detailed Description

Callback-based diagnostic item that calls a custom function to generate diagnostic content.

Constructor & Destructor Documentation

◆ DiagCallBack()

DiagCallBack::DiagCallBack ( const char * name,
diagcallback * pFunc )
inline

Constructor for callback-based diagnostic item.

Parameters
nameName of the diagnostic item that will appear in the JSON output
pFuncPointer to the callback function that will generate the diagnostic content

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