PT-Cooling-Log 1.0
PTCoolingLogViewer
Public メソッド | Static Public 変数
クラス LogViewer

class for PT cooling log [詳細]

#include <LogViewer.hh>

LogViewerに対する継承グラフ
Switch

すべてのメンバ一覧

Public メソッド

 LogViewer (int &argc, char *argv[])
 a constructor
virtual ~LogViewer ()
 a destructor
void run ()
 a main routine
std::string url () const
 get a url for PgSQL server
double labelSize ()
 get a label size
double titleSize ()
 get a title size for y-axis
double titleOffset ()
 get a title offset for y-axis
std::string startTime ()
 get a start time string
std::string endTime ()
 get a end time string
double tleft ()
 get a left padding size of the time window
double tright ()
 get a right padding size of the time window
double tmin ()
 get a lower edge of time window
double tmax ()
 get a lower edge of time window
double toffset () const
 get a time offset (copy)
double & toffset ()
 get a time offset (reference)
std::string output ()
 get a prefix of output file name
std::string eventLog ()
 get a path to the event log database file
TSQLServer * server ()
 get a pointer to the SQL server
void connect ()
 connect to SQL database server

Static Public 変数

static const std::string tgCoolingData = "tbl_coolingdata"
 default table name
static const std::string tgCryoTmpr = "view_cryo_tmpr"
 temperature view name
static const std::string tgFlwHe4 = "view_flw_he4"
 He4 flow view name.
static const std::string tgMw = "view_mw"
 microwave view name
static const std::string tgPrssCryo = "view_prss_cryo"
 cryo pressure view name
static const std::string tgPrssHe3 = "view_prss_he3"
 He3 pressure view name.
static const std::string tgPrssHe4 = "view_prss_he4"
 He4 pressure view name.
static const std::string sqlEpoch = "EXTRACT(EPOCH FROM datetime)"
 sql string for EPOCH
static const std::string sqlTimeZone = "EXTRACT(TIMEZONE FROM datetime)"
 sql string for Timezone

説明

class for PT cooling log

This is a main class for PT Cooling Log display program.

setup...View methods
This class has methods to create and setup new PtView object; setupCryoTmprView, setupPrssCryoView, setupPrssHe3View, setupPrssHe4View. These methods may be better to be replaced with dedicated child class objects like PtMwView, for better coding...
argument handling
This class iherits Switch class to handle argument list. At the moment, the related part are implemented in this class, but for better coding, it may be nicer to have one intermediate class for the argument handling.

LogViewer.hh42 行で定義されています。


このクラスの説明は次のファイルから生成されました:
 全て クラス ファイル 関数 変数