FASTApp/MPA3DetectorSrc/MPA3Detector.cpp
/** Report status of the driver.
  * Prints details about the driver if details>0.
  * It then calls the ADDriver::report() method.
  * \param[in] fp File pointed passed by caller where the output is written to.
  * \param[in] details If >0 then driver details are printed.
  */
Report status of the driver.
Prints details about the driver if details>0.
It then calls the ADDriver::report() method.
\param[in] fp File pointed passed by caller where the output is written to.
\param[in] details If >0 then driver details are printed.
Report status of the driver . Prints details about the driver if details > 0 . It then calls the ADDriver :: report () method . \ param [ in ] fp File pointed passed by caller where the output is written to . \ param [ in ] details If > 0 then driver details are printed .
void MPA3Detector::report(FILE *fp, int details)
{
    fprintf(fp, "FAST ComTec MPA3 detector %s\n", this->portName);
    if (details > 0) {
        int numTimePoints, dataType;
        getIntegerParam(P_NumTimePoints, &numTimePoints);
        getIntegerParam(NDDataType, &dataType);
        fprintf(fp, "  # time points:   %d\n", numTimePoints);
        fprintf(fp, "      Data type:   %d\n", dataType);
    }
    asynNDArrayDriver::report(fp, details);
}
void MPA3Detector :: report ( FILE * fp , int details ) { fprintf ( fp , " \n " , this -> portName ) ; if ( details > 0 ) { int numTimePoints , dataType ; getIntegerParam ( P_NumTimePoints , & numTimePoints ) ; getIntegerParam ( NDDataType , & dataType ) ; fprintf ( fp , " \n " , numTimePoints ) ; fprintf ( fp , " \n " , dataType ) ; } asynNDArrayDriver :: report ( fp , details ) ; }
Report status of the driver.
Report status of the driver .
/* Invoke the base class method */