Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
DQM
TrackerCommon
src
GifDisplay.cc
Go to the documentation of this file.
1
#include "
DQM/TrackerCommon/interface/GifDisplay.h
"
2
3
void
GifDisplay::printHTML
(
xgi::Output
*
out
)
4
{
5
std::string
position
=
"position:absolute; left:"
+
get_pix_left
() +
"; top:"
+
get_pix_top
();
6
7
*out << cgicc::div().set(
"style"
, position.c_str()) << std::endl;
8
9
*out << cgicc::iframe()
10
.set(
"name"
,
name
)
11
.set(
"id"
,
name
)
12
.set(
"src"
,
""
)
13
.set(
"height"
,
height
).set(
"width"
,
width
);
14
*out << cgicc::iframe() << std::endl;
15
*out <<
cgicc::br
() << std::endl;
16
*out <<
cgicc::input
().set(
"type"
,
"button"
).set(
"value"
,
"start viewer"
).set(
"onclick"
,
"startViewing('"
+
name
+
"')"
);
17
*out << std::endl;
18
*out <<
cgicc::input
().set(
"type"
,
"button"
).set(
"value"
,
"stop viewer"
).set(
"onclick"
,
"stopViewing('"
+
name
+
"')"
);
19
*out << std::endl;
20
*out <<
cgicc::input
().set(
"type"
,
"button"
).set(
"value"
,
"make current"
).set(
"onclick"
,
"makeCurrent('"
+
name
+
"')"
);
21
*out << std::endl;
22
23
*out << cgicc::div() << std::endl;
24
}
WebElement::get_pix_left
std::string get_pix_left()
Definition:
WebElement.h:38
GifDisplay::height
std::string height
Definition:
GifDisplay.h:19
LaserDQM_cfg.input
tuple input
Definition:
LaserDQM_cfg.py:38
GifDisplay::printHTML
void printHTML(xgi::Output *out)
Definition:
GifDisplay.cc:3
position
static int position[TOTALCHAMBERS][3]
Definition:
ReadPGInfo.cc:509
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
GifDisplay::name
std::string name
Definition:
GifDisplay.h:21
GifDisplay.h
dbtoconf.out
tuple out
Definition:
dbtoconf.py:99
WebElement::get_pix_top
std::string get_pix_top()
Definition:
WebElement.h:37
GifDisplay::width
std::string width
Definition:
GifDisplay.h:20
Output
#define Output(cl)
Definition:
vmac.h:193
beamvalidation.br
string br
Definition:
beamvalidation.py:395
Generated for CMSSW Reference Manual by
1.8.5