Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
N21-01-21
OnlineMonitoring
viewer
LogViewer.cxx
Go to the documentation of this file.
1
#include "
OnlineMonitoring/viewer/LogViewer.h
"
2
#include "
OnlineMonitoring/viewer/Layout.h
"
3
using namespace
om
;
4
5
LogViewer::LogViewer
(TGWindow *
w
) :
6
TGTextView(w,
Layout
::fWindowSizeX,
Layout
::fLogViewerSizeY)
7
{
8
const
TGFont* font =
9
gClient->GetFont(
"-*-helvetica-medium-r-*-*-*-120-*-*-*-*-*-*"
);
10
this->SetFont(font->GetFontStruct());
11
}
12
13
//......................................................................
14
15
LogViewer::~LogViewer
() { }
16
17
void
LogViewer::PrintToScreen
(
const
std::string
&
s
)
18
{
19
this->AddLine(s.c_str());
20
this->ShowBottom();
21
this->
Update
();
22
}
23
24
////////////////////////////////////////////////////////////////////////
Update
c1 Update()
LogViewer.h
om::LogViewer::~LogViewer
~LogViewer()
Definition:
LogViewer.cxx:15
s
const XML_Char * s
Definition:
expat.h:262
om::Layout
Definition:
Layout.h:5
om::LogViewer::PrintToScreen
void PrintToScreen(const std::string &s)
Definition:
LogViewer.cxx:17
om::LogViewer::LogViewer
LogViewer(TGWindow *w)
Definition:
LogViewer.cxx:5
Layout.h
w
Float_t w
Definition:
plot.C:20
om
Online Monitoring package header.
Definition:
FEBRateAnalysis.h:14
string
enum BeamMode string
Generated on Thu Jan 21 2021 14:14:29 for NOvA by
1.8.11