ACQ400_XRM (xrmIoc)
Loading...
Searching...
No Matches
acq400_INST Class Reference

#include <acq400_INST.h>

Inheritance diagram for acq400_INST:
acq400_asynPortDriver acq400_INST_SPY acq400_INST_STR

Public Member Functions

 acq400_INST (const char *portName, const char *_strategy)
asynStatus writeInt32 (asynUser *pasynUser, epicsInt32 value)
Public Member Functions inherited from acq400_asynPortDriver
 acq400_asynPortDriver (const char *portName, int maxAddr, int interfaceMask, int interruptMask, int asynFlags, int autoConnect, int priority, int stackSize)
virtual ~acq400_asynPortDriver ()

Protected Member Functions

virtual void task ()
child_process_info run_socket_fork_exec ()
char * make_kev_from_ip (const char *ps_name, int p_key)
char * make_kev_from_sp (const char *ps_name, int p_key)
Protected Member Functions inherited from acq400_asynPortDriver
asynStatus gip (int pnum, int *pram)
asynStatus gip (int addr, int pnum, int *pram)
asynStatus sip (int addr, int pnum, int pram)
asynStatus sip (int addr, int pnum, unsigned pram)
asynStatus sip (int addr, int pnum, epicsInt64 pram)
asynStatus sip (int addr, int pnum, double pram)
asynStatus gsp (int pnum, int maxchar, char *str)
asynStatus ssp (int pnum, const char *str)

Static Protected Member Functions

static void task_runner (void *drvPvt)

Protected Attributes

const char * cmd
bool send_buffer_numbers
bool block_on_new_buffer
int read_backlog [MAXREAD_BACKLOG+1]
int P_INST_STRATEGY
int P_REDIS_HOST
int P_REDIS_PORT
int P_REDIS_MKEY
int P_REDIS_BCOUNT
int P_REDIS_STATUS
int P_REDIS_MMKEY
int P_ACQ_PORT
int P_STREAM_SUBSET_MASK
Protected Attributes inherited from acq400_asynPortDriver
epicsEventId eventId
int P_RUNSTOP
int P_UPDATES
int P_TS_USEC
int P_MON_RL
int mrl_param
unsigned update

Static Protected Attributes

static int nice = ::getenv_default("acq400_INST_NICE", 0)

Detailed Description

provides launch framework for instrumentation streaming.

Member Function Documentation

◆ make_kev_from_ip()

char * acq400_INST::make_kev_from_ip ( const char * ps_name,
int p_key )
protected

returns new char[] key-equals-value string from INTEGER param. conventionally ps_name is the PS_xxx def from above, but it doesn't have to be. client to delete

◆ make_kev_from_sp()

char * acq400_INST::make_kev_from_sp ( const char * ps_name,
int p_key )
protected

returns new char[] key-equals-value string from STRING param. conventionally ps_name is the PS_xxx def from above, but it doesn't have to be. client to delete

Member Data Documentation

◆ P_ACQ_PORT

int acq400_INST::P_ACQ_PORT
protected

Port used on acq400 (4210=STReam, 53667=SPY)

◆ P_INST_STRATEGY

int acq400_INST::P_INST_STRATEGY
protected

Instrumentation strategy "STReam" or "SPY" (output).

  • SPY is non-intrusive and recommended.

◆ P_REDIS_BCOUNT

int acq400_INST::P_REDIS_BCOUNT
protected

REDIS byte count (output)

◆ P_REDIS_HOST

int acq400_INST::P_REDIS_HOST
protected

REDIS server DNS-name or IP. (input)

◆ P_REDIS_MKEY

int acq400_INST::P_REDIS_MKEY
protected

REDIS major key. (input)

◆ P_REDIS_MMKEY

int acq400_INST::P_REDIS_MMKEY
protected

REDIS current major.minor key (output)

◆ P_REDIS_PORT

int acq400_INST::P_REDIS_PORT
protected

REDIS port to send to. (input)

◆ P_REDIS_STATUS

int acq400_INST::P_REDIS_STATUS
protected

REDIS status (output)

◆ P_STREAM_SUBSET_MASK

int acq400_INST::P_STREAM_SUBSET_MASK
protected

SPY client would need to know this


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