casa::AppRC Class Reference

#include <AppRC.h>

List of all members.

Public Member Functions

 AppRC ()
 AppRC (const string &filename, const Bool addPID=False, const Bool deleteFile=True)
 ~AppRC ()
void setID (const string &id)
void init (const string &filename, const Bool addPID=False, const Bool deleteFile=True)
string get (const string &name)
string get (const string &name, Int &val)
string get (const string &name, Float &val)
string get (const string &name, Double &val)
void put (const string &name, const string &val)
void put (const string &name, const Int &val)
void put (const string &name, const Float &val)
void put (const string &name, const Double &val)

Private Member Functions

void setPID ()

Private Attributes

Casarc * rc_p
CasarcCleanup rcCleanup
pid_t myPID_p
pid_t myTID_p
Bool addPID_p
Bool deleteFile_p
string fileName_p
string id_p

Detailed Description

Definition at line 39 of file AppRC.h.


Constructor & Destructor Documentation

casa::AppRC::AppRC (  )  [inline]

Definition at line 42 of file AppRC.h.

casa::AppRC::AppRC ( const string &  filename,
const Bool  addPID = False,
const Bool  deleteFile = True 
) [inline]

Definition at line 47 of file AppRC.h.

References deleteFile_p, and init().

casa::AppRC::~AppRC (  ) 

Member Function Documentation

string casa::AppRC::get ( const string &  name,
Double &  val 
)
string casa::AppRC::get ( const string &  name,
Float &  val 
)
string casa::AppRC::get ( const string &  name,
Int &  val 
)
string casa::AppRC::get ( const string &  name  ) 
void casa::AppRC::init ( const string &  filename,
const Bool  addPID = False,
const Bool  deleteFile = True 
)

Referenced by AppRC().

void casa::AppRC::put ( const string &  name,
const Double &  val 
)
void casa::AppRC::put ( const string &  name,
const Float &  val 
)
void casa::AppRC::put ( const string &  name,
const Int &  val 
)
void casa::AppRC::put ( const string &  name,
const string &  val 
)
void casa::AppRC::setID ( const string &  id  )  [inline]

Definition at line 55 of file AppRC.h.

References id_p.

void casa::AppRC::setPID (  )  [inline, private]

Definition at line 74 of file AppRC.h.

References myPID_p.


Member Data Documentation

Bool casa::AppRC::addPID_p [private]

Definition at line 72 of file AppRC.h.

Bool casa::AppRC::deleteFile_p [private]

Definition at line 72 of file AppRC.h.

Referenced by AppRC().

string casa::AppRC::fileName_p [private]

Definition at line 73 of file AppRC.h.

string casa::AppRC::id_p [private]

Definition at line 73 of file AppRC.h.

Referenced by setID().

pid_t casa::AppRC::myPID_p [private]

Definition at line 71 of file AppRC.h.

Referenced by setPID().

pid_t casa::AppRC::myTID_p [private]

Definition at line 71 of file AppRC.h.

Casarc* casa::AppRC::rc_p [private]

Definition at line 69 of file AppRC.h.

CasarcCleanup casa::AppRC::rcCleanup [private]

Definition at line 70 of file AppRC.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1