[96cbb53] | 1 | |
---|
| 2 | |
---|
| 3 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
---|
| 4 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
---|
| 5 | |
---|
[bce8148] | 6 | |
---|
[96cbb53] | 7 | <html xmlns="http://www.w3.org/1999/xhtml"> |
---|
| 8 | <head> |
---|
| 9 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
---|
| 10 | |
---|
[bce8148] | 11 | <title>version — guiframe 0.1.0 documentation</title> |
---|
| 12 | |
---|
[96cbb53] | 13 | <link rel="stylesheet" href="../_static/default.css" type="text/css" /> |
---|
| 14 | <link rel="stylesheet" href="../_static/pygments.css" type="text/css" /> |
---|
[bce8148] | 15 | |
---|
[96cbb53] | 16 | <script type="text/javascript"> |
---|
| 17 | var DOCUMENTATION_OPTIONS = { |
---|
| 18 | URL_ROOT: '../', |
---|
| 19 | VERSION: '0.1.0', |
---|
| 20 | COLLAPSE_INDEX: false, |
---|
| 21 | FILE_SUFFIX: '.html', |
---|
| 22 | HAS_SOURCE: true |
---|
| 23 | }; |
---|
| 24 | </script> |
---|
| 25 | <script type="text/javascript" src="../_static/jquery.js"></script> |
---|
| 26 | <script type="text/javascript" src="../_static/underscore.js"></script> |
---|
| 27 | <script type="text/javascript" src="../_static/doctools.js"></script> |
---|
[bce8148] | 28 | <link rel="top" title="guiframe 0.1.0 documentation" href="../index.html" /> |
---|
[96cbb53] | 29 | <link rel="up" title="Reference" href="index.html" /> |
---|
| 30 | <link rel="next" title="Local Perspective: plotting" href="local_perspectives/plotting/index.html" /> |
---|
| 31 | <link rel="prev" title="utils" href="utils.html" /> |
---|
| 32 | </head> |
---|
| 33 | <body> |
---|
| 34 | <div class="related"> |
---|
| 35 | <h3>Navigation</h3> |
---|
| 36 | <ul> |
---|
| 37 | <li class="right" style="margin-right: 10px"> |
---|
| 38 | <a href="../genindex.html" title="General Index" |
---|
| 39 | accesskey="I">index</a></li> |
---|
| 40 | <li class="right" > |
---|
| 41 | <a href="../py-modindex.html" title="Python Module Index" |
---|
| 42 | >modules</a> |</li> |
---|
| 43 | <li class="right" > |
---|
| 44 | <a href="local_perspectives/plotting/index.html" title="Local Perspective: plotting" |
---|
| 45 | accesskey="N">next</a> |</li> |
---|
| 46 | <li class="right" > |
---|
| 47 | <a href="utils.html" title="utils" |
---|
| 48 | accesskey="P">previous</a> |</li> |
---|
[bce8148] | 49 | <li><a href="../index.html">guiframe 0.1.0 documentation</a> »</li> |
---|
[96cbb53] | 50 | <li><a href="index.html" accesskey="U">Reference</a> »</li> |
---|
| 51 | </ul> |
---|
| 52 | </div> |
---|
| 53 | |
---|
| 54 | <div class="document"> |
---|
| 55 | <div class="documentwrapper"> |
---|
| 56 | <div class="bodywrapper"> |
---|
| 57 | <div class="body"> |
---|
| 58 | |
---|
| 59 | <div class="section" id="version"> |
---|
| 60 | <h1>version<a class="headerlink" href="#version" title="Permalink to this headline">¶</a></h1> |
---|
[bce8148] | 61 | <div class="section" id="sans-guiframe-version"> |
---|
| 62 | <h2><a class="reference internal" href="#module-sans.guiframe.version" title="sans.guiframe.version"><tt class="xref py py-mod docutils literal"><span class="pre">sans.guiframe.version</span></tt></a><a class="headerlink" href="#sans-guiframe-version" title="Permalink to this headline">¶</a></h2> |
---|
| 63 | <span class="target" id="module-sans.guiframe.version"></span><dl class="class"> |
---|
[96cbb53] | 64 | <dt id="sans.guiframe.version.VersionChecker"> |
---|
[bce8148] | 65 | <em class="property">class </em><tt class="descclassname">sans.guiframe.version.</tt><tt class="descname">VersionChecker</tt><a class="headerlink" href="#sans.guiframe.version.VersionChecker" title="Permalink to this definition">¶</a></dt> |
---|
[96cbb53] | 66 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">object</span></tt></p> |
---|
| 67 | <p>Class of objects used to obtain the current version of an application |
---|
| 68 | from the deployment server. |
---|
| 69 | A sub process is started to read the URL associated with the version number. |
---|
| 70 | The version number is written on file locally before the reading process |
---|
| 71 | ends, then read when the version number is requested.</p> |
---|
| 72 | <p>The reading of the URL is put in a separate process so that it doesn’t |
---|
| 73 | affect the performance of the application and can be managed and stopped at any time.</p> |
---|
[bce8148] | 74 | <dl class="attribute"> |
---|
| 75 | <dt id="sans.guiframe.version.VersionChecker.__class__"> |
---|
| 76 | <tt class="descname">__class__</tt><a class="headerlink" href="#sans.guiframe.version.VersionChecker.__class__" title="Permalink to this definition">¶</a></dt> |
---|
| 77 | <dd><p>alias of <tt class="xref py py-class docutils literal"><span class="pre">type</span></tt></p> |
---|
| 78 | </dd></dl> |
---|
| 79 | |
---|
| 80 | <dl class="attribute"> |
---|
| 81 | <dt id="sans.guiframe.version.VersionChecker.__delattr__"> |
---|
| 82 | <tt class="descname">__delattr__</tt><a class="headerlink" href="#sans.guiframe.version.VersionChecker.__delattr__" title="Permalink to this definition">¶</a></dt> |
---|
| 83 | <dd><p>x.__delattr__(‘name’) <==> del x.name</p> |
---|
| 84 | </dd></dl> |
---|
| 85 | |
---|
| 86 | <dl class="attribute"> |
---|
| 87 | <dt id="sans.guiframe.version.VersionChecker.__dict__"> |
---|
| 88 | <tt class="descname">__dict__</tt><em class="property"> = <dictproxy object at 0x01801550></em><a class="headerlink" href="#sans.guiframe.version.VersionChecker.__dict__" title="Permalink to this definition">¶</a></dt> |
---|
| 89 | <dd></dd></dl> |
---|
| 90 | |
---|
| 91 | <dl class="attribute"> |
---|
| 92 | <dt id="sans.guiframe.version.VersionChecker.__getattribute__"> |
---|
| 93 | <tt class="descname">__getattribute__</tt><a class="headerlink" href="#sans.guiframe.version.VersionChecker.__getattribute__" title="Permalink to this definition">¶</a></dt> |
---|
| 94 | <dd><p>x.__getattribute__(‘name’) <==> x.name</p> |
---|
| 95 | </dd></dl> |
---|
| 96 | |
---|
| 97 | <dl class="attribute"> |
---|
| 98 | <dt id="sans.guiframe.version.VersionChecker.__hash__"> |
---|
| 99 | <tt class="descname">__hash__</tt><a class="headerlink" href="#sans.guiframe.version.VersionChecker.__hash__" title="Permalink to this definition">¶</a></dt> |
---|
| 100 | <dd><p>x.__hash__() <==> hash(x)</p> |
---|
| 101 | </dd></dl> |
---|
| 102 | |
---|
| 103 | <dl class="method"> |
---|
| 104 | <dt id="sans.guiframe.version.VersionChecker.__init__"> |
---|
| 105 | <tt class="descname">__init__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.version.VersionChecker.__init__" title="Permalink to this definition">¶</a></dt> |
---|
| 106 | <dd><p>Start the sub-process used to read the version URL</p> |
---|
| 107 | </dd></dl> |
---|
| 108 | |
---|
| 109 | <dl class="attribute"> |
---|
| 110 | <dt id="sans.guiframe.version.VersionChecker.__module__"> |
---|
| 111 | <tt class="descname">__module__</tt><em class="property"> = 'sans.guiframe.version'</em><a class="headerlink" href="#sans.guiframe.version.VersionChecker.__module__" title="Permalink to this definition">¶</a></dt> |
---|
| 112 | <dd></dd></dl> |
---|
| 113 | |
---|
| 114 | <dl class="staticmethod"> |
---|
| 115 | <dt id="sans.guiframe.version.VersionChecker.__new__"> |
---|
| 116 | <em class="property">static </em><tt class="descname">__new__</tt><big>(</big><em>S</em>, <em>...</em><big>)</big> → a new object with type S, a subtype of T<a class="headerlink" href="#sans.guiframe.version.VersionChecker.__new__" title="Permalink to this definition">¶</a></dt> |
---|
| 117 | <dd></dd></dl> |
---|
| 118 | |
---|
| 119 | <dl class="method"> |
---|
| 120 | <dt id="sans.guiframe.version.VersionChecker.__reduce__"> |
---|
| 121 | <tt class="descname">__reduce__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.version.VersionChecker.__reduce__" title="Permalink to this definition">¶</a></dt> |
---|
| 122 | <dd><p>helper for pickle</p> |
---|
| 123 | </dd></dl> |
---|
| 124 | |
---|
| 125 | <dl class="method"> |
---|
| 126 | <dt id="sans.guiframe.version.VersionChecker.__reduce_ex__"> |
---|
| 127 | <tt class="descname">__reduce_ex__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.version.VersionChecker.__reduce_ex__" title="Permalink to this definition">¶</a></dt> |
---|
| 128 | <dd><p>helper for pickle</p> |
---|
| 129 | </dd></dl> |
---|
| 130 | |
---|
| 131 | <dl class="attribute"> |
---|
| 132 | <dt id="sans.guiframe.version.VersionChecker.__repr__"> |
---|
| 133 | <tt class="descname">__repr__</tt><a class="headerlink" href="#sans.guiframe.version.VersionChecker.__repr__" title="Permalink to this definition">¶</a></dt> |
---|
| 134 | <dd><p>x.__repr__() <==> repr(x)</p> |
---|
| 135 | </dd></dl> |
---|
| 136 | |
---|
| 137 | <dl class="attribute"> |
---|
| 138 | <dt id="sans.guiframe.version.VersionChecker.__setattr__"> |
---|
| 139 | <tt class="descname">__setattr__</tt><a class="headerlink" href="#sans.guiframe.version.VersionChecker.__setattr__" title="Permalink to this definition">¶</a></dt> |
---|
| 140 | <dd><p>x.__setattr__(‘name’, value) <==> x.name = value</p> |
---|
| 141 | </dd></dl> |
---|
| 142 | |
---|
| 143 | <dl class="attribute"> |
---|
| 144 | <dt id="sans.guiframe.version.VersionChecker.__str__"> |
---|
| 145 | <tt class="descname">__str__</tt><a class="headerlink" href="#sans.guiframe.version.VersionChecker.__str__" title="Permalink to this definition">¶</a></dt> |
---|
| 146 | <dd><p>x.__str__() <==> str(x)</p> |
---|
| 147 | </dd></dl> |
---|
| 148 | |
---|
| 149 | <dl class="attribute"> |
---|
| 150 | <dt id="sans.guiframe.version.VersionChecker.__weakref__"> |
---|
| 151 | <tt class="descname">__weakref__</tt><a class="headerlink" href="#sans.guiframe.version.VersionChecker.__weakref__" title="Permalink to this definition">¶</a></dt> |
---|
| 152 | <dd><p>list of weak references to the object (if defined)</p> |
---|
| 153 | </dd></dl> |
---|
| 154 | |
---|
| 155 | <dl class="attribute"> |
---|
| 156 | <dt id="sans.guiframe.version.VersionChecker._process"> |
---|
| 157 | <tt class="descname">_process</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.version.VersionChecker._process" title="Permalink to this definition">¶</a></dt> |
---|
| 158 | <dd></dd></dl> |
---|
| 159 | |
---|
| 160 | <dl class="attribute"> |
---|
| 161 | <dt id="sans.guiframe.version.VersionChecker._t_0"> |
---|
| 162 | <tt class="descname">_t_0</tt><em class="property"> = None</em><a class="headerlink" href="#sans.guiframe.version.VersionChecker._t_0" title="Permalink to this definition">¶</a></dt> |
---|
| 163 | <dd></dd></dl> |
---|
| 164 | |
---|
[96cbb53] | 165 | <dl class="method"> |
---|
| 166 | <dt id="sans.guiframe.version.VersionChecker.get_version"> |
---|
| 167 | <tt class="descname">get_version</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.version.VersionChecker.get_version" title="Permalink to this definition">¶</a></dt> |
---|
| 168 | <dd><p>Returns the last version number that was read from the server.</p> |
---|
| 169 | </dd></dl> |
---|
| 170 | |
---|
| 171 | <dl class="method"> |
---|
| 172 | <dt id="sans.guiframe.version.VersionChecker.is_complete"> |
---|
| 173 | <tt class="descname">is_complete</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.version.VersionChecker.is_complete" title="Permalink to this definition">¶</a></dt> |
---|
| 174 | <dd><p>Method used to poll the reading process. The process will be killed |
---|
| 175 | if the wait time is longer than a predefined maximum. |
---|
| 176 | This method should always be called before get_version() to ensure |
---|
| 177 | accuracy of the version number that is returned.</p> |
---|
| 178 | </dd></dl> |
---|
| 179 | |
---|
| 180 | </dd></dl> |
---|
| 181 | |
---|
| 182 | <dl class="class"> |
---|
| 183 | <dt id="sans.guiframe.version.VersionThread"> |
---|
[bce8148] | 184 | <em class="property">class </em><tt class="descclassname">sans.guiframe.version.</tt><tt class="descname">VersionThread</tt><a class="headerlink" href="#sans.guiframe.version.VersionThread" title="Permalink to this definition">¶</a></dt> |
---|
[96cbb53] | 185 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">threading.Thread</span></tt></p> |
---|
| 186 | <p>Thread used to start the process of reading the current version of an |
---|
| 187 | application from the deployment server.</p> |
---|
| 188 | <p>The VersionChecker is user in a Thread to allow the main application |
---|
| 189 | to continue dealing with UI requests from the user. The main application |
---|
| 190 | provides a call-back method for when the version number is obtained.</p> |
---|
| 191 | <dl class="method"> |
---|
[bce8148] | 192 | <dt id="sans.guiframe.version.VersionThread._Thread__bootstrap"> |
---|
| 193 | <tt class="descname">_Thread__bootstrap</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.version.VersionThread._Thread__bootstrap" title="Permalink to this definition">¶</a></dt> |
---|
| 194 | <dd></dd></dl> |
---|
| 195 | |
---|
| 196 | <dl class="method"> |
---|
| 197 | <dt id="sans.guiframe.version.VersionThread._Thread__bootstrap_inner"> |
---|
| 198 | <tt class="descname">_Thread__bootstrap_inner</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.version.VersionThread._Thread__bootstrap_inner" title="Permalink to this definition">¶</a></dt> |
---|
| 199 | <dd></dd></dl> |
---|
| 200 | |
---|
| 201 | <dl class="method"> |
---|
| 202 | <dt id="sans.guiframe.version.VersionThread._Thread__delete"> |
---|
| 203 | <tt class="descname">_Thread__delete</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.version.VersionThread._Thread__delete" title="Permalink to this definition">¶</a></dt> |
---|
| 204 | <dd><p>Remove current thread from the dict of currently running threads.</p> |
---|
| 205 | </dd></dl> |
---|
| 206 | |
---|
| 207 | <dl class="method"> |
---|
| 208 | <dt id="sans.guiframe.version.VersionThread._Thread__exc_info"> |
---|
| 209 | <tt class="descname">_Thread__exc_info</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.version.VersionThread._Thread__exc_info" title="Permalink to this definition">¶</a></dt> |
---|
| 210 | <dd><p>exc_info() -> (type, value, traceback)</p> |
---|
| 211 | <p>Return information about the most recent exception caught by an except |
---|
| 212 | clause in the current stack frame or in an older stack frame.</p> |
---|
| 213 | </dd></dl> |
---|
| 214 | |
---|
| 215 | <dl class="attribute"> |
---|
| 216 | <dt id="sans.guiframe.version.VersionThread._Thread__initialized"> |
---|
| 217 | <tt class="descname">_Thread__initialized</tt><em class="property"> = False</em><a class="headerlink" href="#sans.guiframe.version.VersionThread._Thread__initialized" title="Permalink to this definition">¶</a></dt> |
---|
| 218 | <dd></dd></dl> |
---|
| 219 | |
---|
| 220 | <dl class="method"> |
---|
| 221 | <dt id="sans.guiframe.version.VersionThread._Thread__stop"> |
---|
| 222 | <tt class="descname">_Thread__stop</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.version.VersionThread._Thread__stop" title="Permalink to this definition">¶</a></dt> |
---|
| 223 | <dd></dd></dl> |
---|
| 224 | |
---|
| 225 | <dl class="attribute"> |
---|
| 226 | <dt id="sans.guiframe.version.VersionThread.__class__"> |
---|
| 227 | <tt class="descname">__class__</tt><a class="headerlink" href="#sans.guiframe.version.VersionThread.__class__" title="Permalink to this definition">¶</a></dt> |
---|
| 228 | <dd><p>alias of <tt class="xref py py-class docutils literal"><span class="pre">type</span></tt></p> |
---|
| 229 | </dd></dl> |
---|
| 230 | |
---|
| 231 | <dl class="attribute"> |
---|
| 232 | <dt id="sans.guiframe.version.VersionThread.__delattr__"> |
---|
| 233 | <tt class="descname">__delattr__</tt><a class="headerlink" href="#sans.guiframe.version.VersionThread.__delattr__" title="Permalink to this definition">¶</a></dt> |
---|
| 234 | <dd><p>x.__delattr__(‘name’) <==> del x.name</p> |
---|
| 235 | </dd></dl> |
---|
| 236 | |
---|
| 237 | <dl class="attribute"> |
---|
| 238 | <dt id="sans.guiframe.version.VersionThread.__dict__"> |
---|
| 239 | <tt class="descname">__dict__</tt><em class="property"> = <dictproxy object at 0x01801110></em><a class="headerlink" href="#sans.guiframe.version.VersionThread.__dict__" title="Permalink to this definition">¶</a></dt> |
---|
| 240 | <dd></dd></dl> |
---|
| 241 | |
---|
| 242 | <dl class="attribute"> |
---|
| 243 | <dt id="sans.guiframe.version.VersionThread.__getattribute__"> |
---|
| 244 | <tt class="descname">__getattribute__</tt><a class="headerlink" href="#sans.guiframe.version.VersionThread.__getattribute__" title="Permalink to this definition">¶</a></dt> |
---|
| 245 | <dd><p>x.__getattribute__(‘name’) <==> x.name</p> |
---|
| 246 | </dd></dl> |
---|
| 247 | |
---|
| 248 | <dl class="attribute"> |
---|
| 249 | <dt id="sans.guiframe.version.VersionThread.__hash__"> |
---|
| 250 | <tt class="descname">__hash__</tt><a class="headerlink" href="#sans.guiframe.version.VersionThread.__hash__" title="Permalink to this definition">¶</a></dt> |
---|
| 251 | <dd><p>x.__hash__() <==> hash(x)</p> |
---|
| 252 | </dd></dl> |
---|
| 253 | |
---|
| 254 | <dl class="method"> |
---|
| 255 | <dt id="sans.guiframe.version.VersionThread.__init__"> |
---|
| 256 | <tt class="descname">__init__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.version.VersionThread.__init__" title="Permalink to this definition">¶</a></dt> |
---|
| 257 | <dd></dd></dl> |
---|
| 258 | |
---|
| 259 | <dl class="attribute"> |
---|
| 260 | <dt id="sans.guiframe.version.VersionThread.__module__"> |
---|
| 261 | <tt class="descname">__module__</tt><em class="property"> = 'sans.guiframe.version'</em><a class="headerlink" href="#sans.guiframe.version.VersionThread.__module__" title="Permalink to this definition">¶</a></dt> |
---|
| 262 | <dd></dd></dl> |
---|
| 263 | |
---|
| 264 | <dl class="staticmethod"> |
---|
| 265 | <dt id="sans.guiframe.version.VersionThread.__new__"> |
---|
| 266 | <em class="property">static </em><tt class="descname">__new__</tt><big>(</big><em>S</em>, <em>...</em><big>)</big> → a new object with type S, a subtype of T<a class="headerlink" href="#sans.guiframe.version.VersionThread.__new__" title="Permalink to this definition">¶</a></dt> |
---|
| 267 | <dd></dd></dl> |
---|
| 268 | |
---|
| 269 | <dl class="method"> |
---|
| 270 | <dt id="sans.guiframe.version.VersionThread.__reduce__"> |
---|
| 271 | <tt class="descname">__reduce__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.version.VersionThread.__reduce__" title="Permalink to this definition">¶</a></dt> |
---|
| 272 | <dd><p>helper for pickle</p> |
---|
| 273 | </dd></dl> |
---|
| 274 | |
---|
| 275 | <dl class="method"> |
---|
| 276 | <dt id="sans.guiframe.version.VersionThread.__reduce_ex__"> |
---|
| 277 | <tt class="descname">__reduce_ex__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.version.VersionThread.__reduce_ex__" title="Permalink to this definition">¶</a></dt> |
---|
| 278 | <dd><p>helper for pickle</p> |
---|
| 279 | </dd></dl> |
---|
| 280 | |
---|
| 281 | <dl class="method"> |
---|
| 282 | <dt id="sans.guiframe.version.VersionThread.__repr__"> |
---|
| 283 | <tt class="descname">__repr__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.version.VersionThread.__repr__" title="Permalink to this definition">¶</a></dt> |
---|
| 284 | <dd></dd></dl> |
---|
| 285 | |
---|
| 286 | <dl class="attribute"> |
---|
| 287 | <dt id="sans.guiframe.version.VersionThread.__setattr__"> |
---|
| 288 | <tt class="descname">__setattr__</tt><a class="headerlink" href="#sans.guiframe.version.VersionThread.__setattr__" title="Permalink to this definition">¶</a></dt> |
---|
| 289 | <dd><p>x.__setattr__(‘name’, value) <==> x.name = value</p> |
---|
| 290 | </dd></dl> |
---|
| 291 | |
---|
| 292 | <dl class="attribute"> |
---|
| 293 | <dt id="sans.guiframe.version.VersionThread.__str__"> |
---|
| 294 | <tt class="descname">__str__</tt><a class="headerlink" href="#sans.guiframe.version.VersionThread.__str__" title="Permalink to this definition">¶</a></dt> |
---|
| 295 | <dd><p>x.__str__() <==> str(x)</p> |
---|
| 296 | </dd></dl> |
---|
| 297 | |
---|
| 298 | <dl class="attribute"> |
---|
| 299 | <dt id="sans.guiframe.version.VersionThread.__weakref__"> |
---|
| 300 | <tt class="descname">__weakref__</tt><a class="headerlink" href="#sans.guiframe.version.VersionThread.__weakref__" title="Permalink to this definition">¶</a></dt> |
---|
| 301 | <dd><p>list of weak references to the object (if defined)</p> |
---|
| 302 | </dd></dl> |
---|
| 303 | |
---|
| 304 | <dl class="method"> |
---|
| 305 | <dt id="sans.guiframe.version.VersionThread._note"> |
---|
| 306 | <tt class="descname">_note</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.version.VersionThread._note" title="Permalink to this definition">¶</a></dt> |
---|
| 307 | <dd></dd></dl> |
---|
| 308 | |
---|
| 309 | <dl class="method"> |
---|
| 310 | <dt id="sans.guiframe.version.VersionThread._set_daemon"> |
---|
| 311 | <tt class="descname">_set_daemon</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.version.VersionThread._set_daemon" title="Permalink to this definition">¶</a></dt> |
---|
| 312 | <dd></dd></dl> |
---|
| 313 | |
---|
| 314 | <dl class="method"> |
---|
[96cbb53] | 315 | <dt id="sans.guiframe.version.VersionThread.getName"> |
---|
| 316 | <tt class="descname">getName</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.version.VersionThread.getName" title="Permalink to this definition">¶</a></dt> |
---|
| 317 | <dd></dd></dl> |
---|
| 318 | |
---|
| 319 | <dl class="method"> |
---|
| 320 | <dt id="sans.guiframe.version.VersionThread.isAlive"> |
---|
| 321 | <tt class="descname">isAlive</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.version.VersionThread.isAlive" title="Permalink to this definition">¶</a></dt> |
---|
| 322 | <dd></dd></dl> |
---|
| 323 | |
---|
| 324 | <dl class="method"> |
---|
| 325 | <dt id="sans.guiframe.version.VersionThread.isDaemon"> |
---|
| 326 | <tt class="descname">isDaemon</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.version.VersionThread.isDaemon" title="Permalink to this definition">¶</a></dt> |
---|
| 327 | <dd></dd></dl> |
---|
| 328 | |
---|
| 329 | <dl class="method"> |
---|
| 330 | <dt id="sans.guiframe.version.VersionThread.join"> |
---|
[bce8148] | 331 | <tt class="descname">join</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.version.VersionThread.join" title="Permalink to this definition">¶</a></dt> |
---|
[96cbb53] | 332 | <dd></dd></dl> |
---|
| 333 | |
---|
| 334 | <dl class="method"> |
---|
| 335 | <dt id="sans.guiframe.version.VersionThread.run"> |
---|
| 336 | <tt class="descname">run</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.version.VersionThread.run" title="Permalink to this definition">¶</a></dt> |
---|
| 337 | <dd><p>Execute the process of reading the current application version number.</p> |
---|
| 338 | </dd></dl> |
---|
| 339 | |
---|
| 340 | <dl class="method"> |
---|
| 341 | <dt id="sans.guiframe.version.VersionThread.setDaemon"> |
---|
[bce8148] | 342 | <tt class="descname">setDaemon</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.version.VersionThread.setDaemon" title="Permalink to this definition">¶</a></dt> |
---|
[96cbb53] | 343 | <dd></dd></dl> |
---|
| 344 | |
---|
| 345 | <dl class="method"> |
---|
| 346 | <dt id="sans.guiframe.version.VersionThread.setName"> |
---|
[bce8148] | 347 | <tt class="descname">setName</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.version.VersionThread.setName" title="Permalink to this definition">¶</a></dt> |
---|
[96cbb53] | 348 | <dd></dd></dl> |
---|
| 349 | |
---|
| 350 | <dl class="method"> |
---|
| 351 | <dt id="sans.guiframe.version.VersionThread.start"> |
---|
| 352 | <tt class="descname">start</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.version.VersionThread.start" title="Permalink to this definition">¶</a></dt> |
---|
| 353 | <dd></dd></dl> |
---|
| 354 | |
---|
| 355 | </dd></dl> |
---|
| 356 | |
---|
| 357 | <dl class="function"> |
---|
[bce8148] | 358 | <dt id="sans.guiframe.version._get_version_from_server"> |
---|
| 359 | <tt class="descclassname">sans.guiframe.version.</tt><tt class="descname">_get_version_from_server</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.version._get_version_from_server" title="Permalink to this definition">¶</a></dt> |
---|
| 360 | <dd><p>Method executed in the independent process used to read the |
---|
| 361 | current version number from the server.</p> |
---|
| 362 | <table class="docutils field-list" frame="void" rules="none"> |
---|
| 363 | <col class="field-name" /> |
---|
| 364 | <col class="field-body" /> |
---|
| 365 | <tbody valign="top"> |
---|
| 366 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>url</strong> – URL to read the version number from</td> |
---|
| 367 | </tr> |
---|
| 368 | </tbody> |
---|
| 369 | </table> |
---|
| 370 | </dd></dl> |
---|
| 371 | |
---|
| 372 | <dl class="function"> |
---|
[96cbb53] | 373 | <dt id="sans.guiframe.version.write_version"> |
---|
[bce8148] | 374 | <tt class="descclassname">sans.guiframe.version.</tt><tt class="descname">write_version</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.version.write_version" title="Permalink to this definition">¶</a></dt> |
---|
[96cbb53] | 375 | <dd><p>Store the version number |
---|
| 376 | This could be put into a DB if the application has one.</p> |
---|
| 377 | </dd></dl> |
---|
| 378 | |
---|
| 379 | </div> |
---|
| 380 | </div> |
---|
| 381 | |
---|
| 382 | |
---|
| 383 | </div> |
---|
| 384 | </div> |
---|
| 385 | </div> |
---|
| 386 | <div class="sphinxsidebar"> |
---|
| 387 | <div class="sphinxsidebarwrapper"> |
---|
| 388 | <h3><a href="../index.html">Table Of Contents</a></h3> |
---|
| 389 | <ul> |
---|
| 390 | <li><a class="reference internal" href="#">version</a><ul> |
---|
[bce8148] | 391 | <li><a class="reference internal" href="#sans-guiframe-version"><tt class="docutils literal"><span class="pre">sans.guiframe.version</span></tt></a></li> |
---|
[96cbb53] | 392 | </ul> |
---|
| 393 | </li> |
---|
| 394 | </ul> |
---|
| 395 | |
---|
| 396 | <h4>Previous topic</h4> |
---|
| 397 | <p class="topless"><a href="utils.html" |
---|
| 398 | title="previous chapter">utils</a></p> |
---|
| 399 | <h4>Next topic</h4> |
---|
| 400 | <p class="topless"><a href="local_perspectives/plotting/index.html" |
---|
| 401 | title="next chapter">Local Perspective: plotting</a></p> |
---|
| 402 | <h3>This Page</h3> |
---|
| 403 | <ul class="this-page-menu"> |
---|
| 404 | <li><a href="../_sources/api/version.txt" |
---|
| 405 | rel="nofollow">Show Source</a></li> |
---|
| 406 | </ul> |
---|
| 407 | <div id="searchbox" style="display: none"> |
---|
| 408 | <h3>Quick search</h3> |
---|
| 409 | <form class="search" action="../search.html" method="get"> |
---|
[bce8148] | 410 | <input type="text" name="q" /> |
---|
[96cbb53] | 411 | <input type="submit" value="Go" /> |
---|
| 412 | <input type="hidden" name="check_keywords" value="yes" /> |
---|
| 413 | <input type="hidden" name="area" value="default" /> |
---|
| 414 | </form> |
---|
| 415 | <p class="searchtip" style="font-size: 90%"> |
---|
| 416 | Enter search terms or a module, class or function name. |
---|
| 417 | </p> |
---|
| 418 | </div> |
---|
| 419 | <script type="text/javascript">$('#searchbox').show(0);</script> |
---|
| 420 | </div> |
---|
| 421 | </div> |
---|
| 422 | <div class="clearer"></div> |
---|
| 423 | </div> |
---|
| 424 | <div class="related"> |
---|
| 425 | <h3>Navigation</h3> |
---|
| 426 | <ul> |
---|
| 427 | <li class="right" style="margin-right: 10px"> |
---|
| 428 | <a href="../genindex.html" title="General Index" |
---|
| 429 | >index</a></li> |
---|
| 430 | <li class="right" > |
---|
| 431 | <a href="../py-modindex.html" title="Python Module Index" |
---|
| 432 | >modules</a> |</li> |
---|
| 433 | <li class="right" > |
---|
| 434 | <a href="local_perspectives/plotting/index.html" title="Local Perspective: plotting" |
---|
| 435 | >next</a> |</li> |
---|
| 436 | <li class="right" > |
---|
| 437 | <a href="utils.html" title="utils" |
---|
| 438 | >previous</a> |</li> |
---|
[bce8148] | 439 | <li><a href="../index.html">guiframe 0.1.0 documentation</a> »</li> |
---|
[96cbb53] | 440 | <li><a href="index.html" >Reference</a> »</li> |
---|
| 441 | </ul> |
---|
| 442 | </div> |
---|
| 443 | <div class="footer"> |
---|
| 444 | © Copyright 2010, sans group. |
---|
[bce8148] | 445 | Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1. |
---|
[96cbb53] | 446 | </div> |
---|
| 447 | </body> |
---|
| 448 | </html> |
---|