pva2pva 1.4.2
Loading...
Searching...
No Matches
LocalFL Struct Reference

Public Member Functions

 LocalFL (db_field_log *pfl, dbChannel *pchan)

Public Attributes

db_field_log * pfl
bool ours

Detailed Description

Definition at line 250 of file pvif.h.

Constructor & Destructor Documentation

◆ LocalFL()

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

Definition at line 254 of file pvif.h.

255 :pfl(pfl)
256 ,ours(false)
257 {
258 if(!pfl && (ellCount(&pchan->pre_chain)!=0 || ellCount(&pchan->post_chain)!=0)) {
259 pfl = db_create_read_log(pchan);
260 if(pfl) {
261 ours = true;
262 pfl = dbChannelRunPreChain(pchan, pfl);
263 if(pfl) pfl = dbChannelRunPostChain(pchan, pfl);
264 }
265 }
266 this->pfl = pfl;
267 }

◆ ~LocalFL()

LocalFL::~LocalFL ( )
inline

Definition at line 268 of file pvif.h.

268 {
269 if(ours) db_delete_field_log(pfl);
270 }

Member Data Documentation

◆ ours

bool LocalFL::ours

Definition at line 253 of file pvif.h.

◆ pfl

db_field_log* LocalFL::pfl

Definition at line 252 of file pvif.h.


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