transferArray
 All Data Structures Files Functions Variables Typedefs Macros
Data Structures | Typedefs | Functions | Variables
devTransferArrayRecord.c File Reference
#include <stddef.h>
#include <stdlib.h>
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include "recGbl.h"
#include "cantProceed.h"
#include "epicsExport.h"
#include "epicsExit.h"
#include "epicsMutex.h"
#include "epicsThread.h"
#include "epicsString.h"
#include "ellLib.h"
#include "dbDefs.h"
#include "epicsPrint.h"
#include "alarm.h"
#include "dbAccess.h"
#include "devSup.h"
#include "dbEvent.h"
#include "dbFldTypes.h"
#include "errMdef.h"
#include "recSup.h"
#include "db_convert.h"
#include "dbScan.h"
#include "dbCa.h"
#include "waveformRecord.h"
#include "transferArrayRecord.h"
+ Include dependency graph for devTransferArrayRecord.c:

Data Structures

struct  WAVEFORM_SPEC
 
struct  TA_RECINFO
 

Typedefs

typedef struct WAVEFORM_SPEC WAVEFORM_SPEC
 
typedef struct TA_RECINFO TA_RECINFO
 

Functions

static long init_tarray_record ()
 
static long read_tarray_record ()
 
 epicsExportAddress (dset, devTransferArray)
 
static long rec_error (transferArrayRecord *prec, long status, const char *pmsg)
 record error process More...
 
static long get_waveform_spec (transferArrayRecord *prec)
 get specification of waveform More...
 
static void * get_out_buff (transferArrayRecord *prec)
 get pointer of buffer for out-link More...
 
static void * get_inp_buff (transferArrayRecord *prec)
 get pointer of buffer for inp-link More...
 
static long init_tarray_record (transferArrayRecord *prec)
 Initialization of a transferArray record. More...
 
static long get_inp_value (transferArrayRecord *prec, void *pBuffer, long nRequest, long *pnGet, size_t offset)
 Data read-out with offset specification. More...
 
static long read_tarray_record (transferArrayRecord *prec)
 Process for transferArray record. More...
 

Variables

struct {
   long   number
 
   DEVSUPFUN   dev_report
 
   DEVSUPFUN   init
 
   DEVSUPFUN   init_record
 
   DEVSUPFUN   get_ioint_info
 
   DEVSUPFUN   read_tarray
 
devTransferArray
 

Typedef Documentation

typedef struct WAVEFORM_SPEC WAVEFORM_SPEC
typedef struct TA_RECINFO TA_RECINFO

Function Documentation

static long init_tarray_record ( )
static
static long read_tarray_record ( )
static
epicsExportAddress ( dset  ,
devTransferArray   
)
static long rec_error ( transferArrayRecord *  prec,
long  status,
const char *  pmsg 
)
static

record error process

Parameters
[in]precThe pointer to transferArrayRecord structure
[in]statusstatus code
[in]pmsgThe pointer to message to print console
Returns
status is returned as it is

+ Here is the caller graph for this function:

static long get_waveform_spec ( transferArrayRecord *  prec)
static

get specification of waveform

Parameters
[in]precThe pointer to a transferArrayRecord structure
Return values
0End successful
otherError occurred

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void* get_out_buff ( transferArrayRecord *  prec)
static

get pointer of buffer for out-link

Parameters
[in]precThe pointer to transferArrayRecord structure
Returns
The pointer to buffer

+ Here is the caller graph for this function:

static void* get_inp_buff ( transferArrayRecord *  prec)
static

get pointer of buffer for inp-link

Parameters
[in]precThe pointer to transferArrayRecord structure
Returns
The pointer to buffer

+ Here is the caller graph for this function:

static long init_tarray_record ( transferArrayRecord *  prec)
static

Initialization of a transferArray record.

Parameters
[in]precThe pointer to transferArrayRecord structure
Return values
0End successful
otherError occurred
static long get_inp_value ( transferArrayRecord *  prec,
void *  pBuffer,
long  nRequest,
long *  pnGet,
size_t  offset 
)
static

Data read-out with offset specification.

Parameters
[in]precPointer to transferArray record
[in]pBufferThe pointer to a buffer space
[in]nRequestThe number of elements to read
[out]pnGetThe pointer to the read number of elements
[in]offsetOffset
Return values
0End successful
otherError occurred

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static long read_tarray_record ( transferArrayRecord *  prec)
static

Process for transferArray record.

Parameters
[in]precThe pointer to transferArrayRecord structure
Return values
0Successful end
otherError occurred

+ Here is the call graph for this function:

Variable Documentation

long number
DEVSUPFUN dev_report
DEVSUPFUN init
DEVSUPFUN init_record
DEVSUPFUN get_ioint_info
DEVSUPFUN read_tarray
struct { ... } devTransferArray
Initial value:
= {
5,
NULL,
NULL,
NULL,
}
static long init_tarray_record()
static long read_tarray_record()

[RETURN]  [BACK]