areaDetector  3-14
EPICS areaDetector framework
Macros | Typedefs | Functions | Variables
ADTimePix.cpp File Reference
#include <iostream>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <sys/stat.h>
#include <epicsTime.h>
#include <epicsThread.h>
#include <epicsExit.h>
#include <epicsString.h>
#include <epicsStdio.h>
#include <iocsh.h>
#include <epicsExport.h>
#include "ADTimePix.h"

Macros

#define ERR(msg)
 This is a driver for the TimePix3 pixel array detector. More...
 
#define ERR_ARGS(fmt, ...)
 
#define WARN(msg)    asynPrint(pasynUserSelf, ASYN_TRACE_ERROR, "WARN | %s::%s: %s\n", driverName, functionName, msg)
 
#define WARN_ARGS(fmt, ...)
 
#define LOG(msg)    asynPrint(pasynUserSelf, ASYN_TRACEIO_DRIVER, "%s::%s: %s\n", driverName, functionName, msg)
 
#define LOG_ARGS(fmt, ...)
 
#define FLOW(msg)    asynPrint(pasynUserSelf, ASYN_TRACE_FLOW, "%s::%s: %s\n", driverName, functionName, msg)
 
#define FLOW_ARGS(fmt, ...)    asynPrint(pasynUserSelf, ASYN_TRACE_FLOW, "%s::%s: " fmt "\n", driverName, functionName, __VA_ARGS__)
 
#define delim   "/"
 

Typedefs

using json = nlohmann::json
 

Functions

int ADTimePixConfig (const char *portName, const char *serverURL, int maxBuffers, size_t maxMemory, int priority, int stackSize)
 
 epicsExportRegistrar (ADTimePixRegister)
 

Variables

const char * driverName = "ADTimePix"
 

Macro Definition Documentation

◆ delim

#define delim   "/"

◆ ERR

#define ERR (   msg)
Value:
asynPrint(pasynUserSelf, ASYN_TRACE_ERROR, "ERROR | %s::%s: %s\n", driverName, functionName, \
msg)
const char * driverName
Definition: ADTimePix.cpp:73

This is a driver for the TimePix3 pixel array detector.

Author: Kazimierz Gofron Created On: June, 2022 Last EDited: July 20, 2022 Copyright (c): 2022 Brookhaven National Laboratory

◆ ERR_ARGS

#define ERR_ARGS (   fmt,
  ... 
)
Value:
asynPrint(pasynUserSelf, ASYN_TRACE_ERROR, "ERROR | %s::%s: " fmt "\n", driverName, \
functionName, __VA_ARGS__)
Pylon::EPixelType fmt
Definition: ADPylon.cpp:58

◆ FLOW

#define FLOW (   msg)     asynPrint(pasynUserSelf, ASYN_TRACE_FLOW, "%s::%s: %s\n", driverName, functionName, msg)

◆ FLOW_ARGS

#define FLOW_ARGS (   fmt,
  ... 
)     asynPrint(pasynUserSelf, ASYN_TRACE_FLOW, "%s::%s: " fmt "\n", driverName, functionName, __VA_ARGS__)

◆ LOG

#define LOG (   msg)     asynPrint(pasynUserSelf, ASYN_TRACEIO_DRIVER, "%s::%s: %s\n", driverName, functionName, msg)

◆ LOG_ARGS

#define LOG_ARGS (   fmt,
  ... 
)
Value:
asynPrint(pasynUserSelf, ASYN_TRACEIO_DRIVER, "%s::%s: " fmt "\n", driverName, functionName, \
__VA_ARGS__)

◆ WARN

#define WARN (   msg)     asynPrint(pasynUserSelf, ASYN_TRACE_ERROR, "WARN | %s::%s: %s\n", driverName, functionName, msg)

◆ WARN_ARGS

#define WARN_ARGS (   fmt,
  ... 
)
Value:
asynPrint(pasynUserSelf, ASYN_TRACE_ERROR, "WARN | %s::%s: " fmt "\n", driverName, \
functionName, __VA_ARGS__)

Typedef Documentation

◆ json

using json = nlohmann::json

Function Documentation

◆ ADTimePixConfig()

int ADTimePixConfig ( const char *  portName,
const char *  serverURL,
int  maxBuffers,
size_t  maxMemory,
int  priority,
int  stackSize 
)

◆ epicsExportRegistrar()

epicsExportRegistrar ( ADTimePixRegister  )

Variable Documentation

◆ driverName

const char* driverName = "ADTimePix"