DABC (Data Acquisition Backbone Core)  2.9.9
Data Structures | Enumerations | Functions | Variables
saftdabc Namespace Reference

GSI Simplified API for Timing Library (saftlib) plug-in for dabc. More...

Data Structures

class  Device
 
class  DeviceRef
 
class  Factory
 Factory for saftlib plugin classes More...
 
class  Input
 The saftlib timing message input implementation for DABC. More...
 
class  Timing_Event
 The saftlib input event data structure. More...
 

Enumerations

enum  EventFormats_t { saft_Format_Raw , saft_Format_Mbs , saft_Format_Hadaq }
 

Functions

std::string tr_formatActionEvent (guint64 id, guint32 pmode)
 
std::string tr_formatActionFlags (guint16 flags, guint64 delay, guint32 pmode)
 
std::string tr_formatActionParam (guint64 param, guint32 evtNo, guint32 pmode)
 
std::string tr_formatDate (guint64 time, guint32 pmode)
 
guint64 tr_mask (int i)
 

Variables

const char * commandRunMainloop = "RunGlibMainloop"
 Command to invoke the glib/dbus mainloop. More...
 
const char * parEventRate = "ReceiveEventRate"
 Name of event rate parameter. More...
 
const guint32 PMODE_DEC = 0x1
 
const guint32 PMODE_HEX = 0x2
 
const guint32 PMODE_NONE = 0x0
 
const guint32 PMODE_VERBOSE = 0x4
 
const char * xmlAcceptFlags = "SaftSnoopFlags"
 WR event accept flags to snoop. More...
 
const char * xmlCallbackMode = "SaftTransportCallback"
 switch between polling for data or callback mode More...
 
const char * xmlDeviceName = "SaftBoard"
 name of the saft device, e.g. More...
 
const char * xmlEventFormat ="SaftEventFormat"
 
const char * xmlEventIds = "SaftSnoopEventIds"
 WR event ids to snoop. More...
 
const char * xmlInputs = "SaftHardwareInputNames"
 EXPLODER input name items that should be latched with timestamp. More...
 
const char * xmlMasks = "SaftSnoopEventMasks"
 WR event masks to snoop. More...
 
const char * xmlOffsets = "SaftSnoopOffsets"
 WR event offsets to snoop. More...
 
const char * xmlSaftSingleEvent ="SaftSingleEvents"
 
const char * xmlSaftSubeventId = "SaftSubeventId"
 
const char * xmlSaftVerbose = "SaftVerbose"
 switch between silent or verbose event receiver mode More...
 
const char * xmlTimeout = "SaftTimeout"
 time out for polling mode More...
 

Detailed Description

GSI Simplified API for Timing Library (saftlib) plug-in for dabc.

Enumeration Type Documentation

◆ EventFormats_t

Enumerator
saft_Format_Raw 
saft_Format_Mbs 
saft_Format_Hadaq 

Definition at line 49 of file Input.h.

Function Documentation

◆ tr_mask()

guint64 saftdabc::tr_mask ( int  i)

◆ tr_formatDate()

std::string saftdabc::tr_formatDate ( guint64  time,
guint32  pmode 
)

Definition at line 513 of file Device.cxx.

◆ tr_formatActionEvent()

std::string saftdabc::tr_formatActionEvent ( guint64  id,
guint32  pmode 
)

Definition at line 541 of file Device.cxx.

◆ tr_formatActionParam()

std::string saftdabc::tr_formatActionParam ( guint64  param,
guint32  evtNo,
guint32  pmode 
)

Definition at line 566 of file Device.cxx.

◆ tr_formatActionFlags()

std::string saftdabc::tr_formatActionFlags ( guint16  flags,
guint64  delay,
guint32  pmode 
)

Definition at line 593 of file Device.cxx.

Variable Documentation

◆ xmlDeviceName

const char * saftdabc::xmlDeviceName = "SaftBoard"
extern

name of the saft device, e.g.

"baseboard"

baseboard

Definition at line 29 of file Factory.cxx.

◆ xmlInputs

const char * saftdabc::xmlInputs = "SaftHardwareInputNames"
extern

EXPLODER input name items that should be latched with timestamp.

Definition at line 32 of file Factory.cxx.

◆ xmlMasks

const char * saftdabc::xmlMasks = "SaftSnoopEventMasks"
extern

WR event masks to snoop.

Definition at line 35 of file Factory.cxx.

◆ xmlEventIds

const char * saftdabc::xmlEventIds = "SaftSnoopEventIds"
extern

WR event ids to snoop.

Definition at line 39 of file Factory.cxx.

◆ xmlOffsets

const char * saftdabc::xmlOffsets = "SaftSnoopOffsets"
extern

WR event offsets to snoop.

Definition at line 41 of file Factory.cxx.

◆ xmlAcceptFlags

const char * saftdabc::xmlAcceptFlags = "SaftSnoopFlags"
extern

WR event accept flags to snoop.

Definition at line 45 of file Factory.cxx.

◆ xmlTimeout

const char * saftdabc::xmlTimeout = "SaftTimeout"
extern

time out for polling mode

Definition at line 62 of file Factory.cxx.

◆ xmlCallbackMode

const char * saftdabc::xmlCallbackMode = "SaftTransportCallback"
extern

switch between polling for data or callback mode

Definition at line 60 of file Factory.cxx.

◆ xmlSaftVerbose

const char * saftdabc::xmlSaftVerbose = "SaftVerbose"
extern

switch between silent or verbose event receiver mode

Definition at line 48 of file Factory.cxx.

◆ xmlSaftSubeventId

const char * saftdabc::xmlSaftSubeventId = "SaftSubeventId"
extern

Definition at line 53 of file Factory.cxx.

◆ xmlSaftSingleEvent

const char * saftdabc::xmlSaftSingleEvent ="SaftSingleEvents"
extern

Definition at line 55 of file Factory.cxx.

◆ xmlEventFormat

const char * saftdabc::xmlEventFormat ="SaftEventFormat"
extern

Definition at line 57 of file Factory.cxx.

◆ commandRunMainloop

const char * saftdabc::commandRunMainloop = "RunGlibMainloop"
extern

Command to invoke the glib/dbus mainloop.

Definition at line 64 of file Factory.cxx.

◆ parEventRate

const char * saftdabc::parEventRate = "ReceiveEventRate"
extern

Name of event rate parameter.

Definition at line 66 of file Factory.cxx.

◆ PMODE_NONE

const guint32 saftdabc::PMODE_NONE = 0x0

Definition at line 292 of file Device.h.

◆ PMODE_DEC

const guint32 saftdabc::PMODE_DEC = 0x1

Definition at line 293 of file Device.h.

◆ PMODE_HEX

const guint32 saftdabc::PMODE_HEX = 0x2

Definition at line 294 of file Device.h.

◆ PMODE_VERBOSE

const guint32 saftdabc::PMODE_VERBOSE = 0x4

Definition at line 295 of file Device.h.