Main Page
Namespaces
Classes
Files
File List
src
webui
mod
webui
cgibin
monitor.py
Go to the documentation of this file.
1
#! /usr/bin/env python
2
3
"""
4
usage: %(progname)s [args]
5
"""
6
7
#import nstart
8
9
import
os, sys, string, time, getopt, re
10
from
pyclearsilver.log
import
*
11
12
import
neo_cgi, neo_util, neo_cs
13
14
from
pyclearsilver
import
CSPage
15
from
pyclearsilver
import
odb
16
17
import
MBPage
18
import
db_webui
19
20
import
roslib
21
import
roslib.scriptutil
22
23
import
webutil
24
25
class
MyPage
(
MBPage.MBPage
):
26
def
setup
(self, hdf):
27
pass
28
29
def
display
(self, hdf):
30
webutil.grabTopics(hdf, [
"/topics"
])
31
webutil.set_tabs(hdf, [
"status"
,
"monitor"
])
32
33
34
def
run
(context):
35
return
MyPage
(context, pagename=
"monitor"
, nologin=
False
)
36
37
def
main
():
38
context = CSPage.Context()
39
run
(context).
start
()
40
41
if
__name__ ==
"__main__"
:
42
main
()
webui.startcgi.start
start
Definition:
startcgi.py:4
pyclearsilver::log
webui.mod.webui.cgibin.monitor.run
def run(context)
Definition:
monitor.py:34
webui.MBPage.MBPage
Definition:
MBPage.py:18
webui.mod.webui.cgibin.monitor.MyPage.display
def display(self, hdf)
Definition:
monitor.py:29
webui.mod.webui.cgibin.monitor.MyPage.setup
def setup(self, hdf)
Definition:
monitor.py:26
webui.mod.webui.cgibin.monitor.MyPage
Definition:
monitor.py:25
webui.mod.webui.cgibin.monitor.main
def main()
Definition:
monitor.py:37
webui
Author(s): Scott Hassan
autogenerated on Mon Jun 10 2019 15:51:24