This is Unofficial EPICS BASE Doxygen Site
LocalFL Struct Reference

#include "pvif.h"

Public Member Functions

 LocalFL (db_field_log *pfl, dbChannel *pchan)
 
 ~LocalFL ()
 

Public Attributes

db_field_log * pfl
 
bool ours
 

Detailed Description

Definition at line 241 of file pvif.h.

Constructor & Destructor Documentation

LocalFL::LocalFL ( db_field_log *  pfl,
dbChannel *  pchan 
)
inline

Definition at line 245 of file pvif.h.

246  :pfl(pfl)
247  ,ours(false)
248  {
249  if(!pfl && (ellCount(&pchan->pre_chain)!=0 || ellCount(&pchan->pre_chain)==0)) {
250  pfl = db_create_read_log(pchan);
251  if(pfl) {
252  ours = true;
253  pfl = dbChannelRunPreChain(pchan, pfl);
254  if(pfl) pfl = dbChannelRunPostChain(pchan, pfl);
255  }
256  }
257  }
#define ellCount(PLIST)
Report the number of nodes in a list.
Definition: ellLib.h:84
db_field_log * pfl
Definition: pvif.h:243
bool ours
Definition: pvif.h:244
LocalFL::~LocalFL ( )
inline

Definition at line 258 of file pvif.h.

258  {
259  if(ours) db_delete_field_log(pfl);
260  }
db_field_log * pfl
Definition: pvif.h:243
bool ours
Definition: pvif.h:244

Member Data Documentation

bool LocalFL::ours

Definition at line 244 of file pvif.h.

db_field_log* LocalFL::pfl

Definition at line 243 of file pvif.h.


The documentation for this struct was generated from the following file: