This is Unofficial EPICS BASE Doxygen Site
TestIOC Struct Reference

#include "utilities.h"

Public Member Functions

 TestIOC ()
 
 ~TestIOC ()
 
void init ()
 
void shutdown ()
 

Public Attributes

bool hasInit
 

Detailed Description

Definition at line 299 of file utilities.h.

Constructor & Destructor Documentation

TestIOC::TestIOC ( )
inline

Definition at line 301 of file utilities.h.

301  : hasInit(false) {
302  testdbPrepare();
303  }
bool hasInit
Definition: utilities.h:300
TestIOC::~TestIOC ( )
inline

Definition at line 304 of file utilities.h.

304  {
305  this->shutdown();
306  testdbCleanup();
307  }
void shutdown()
Definition: utilities.h:316

Member Function Documentation

void TestIOC::init ( )
inline

Definition at line 308 of file utilities.h.

308  {
309  if(!hasInit) {
310  eltc(0);
311  testIocInitOk();
312  eltc(1);
313  hasInit = true;
314  }
315  }
bool hasInit
Definition: utilities.h:300
int eltc(int yesno)
Definition: errlog.c:368
void TestIOC::shutdown ( )
inline

Definition at line 316 of file utilities.h.

316  {
317  if(hasInit) {
318  testIocShutdownOk();
319  hasInit = false;
320  }
321  }
bool hasInit
Definition: utilities.h:300

Member Data Documentation

bool TestIOC::hasInit

Definition at line 300 of file utilities.h.


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