Issues.00228 - lordmundi/wikidoctest GitHub Wiki

00228: add tcl commands to get status info

« 00227 | Issues | 00229 »

Summary: add tcl commands to get status info

Created: 2010–02–11 14:31

Status: Released

Category: Request

From: frankie

Version: 2.0

Released_In: 2.1

Description:

this is a request for tcl interface to get some status information. things that would be useful might include:

  • the current framerate
  • the currently loaded plugins and versions
  • the currently defined viewports and channels
  • the current mode (standalone, client, etc.)
  • double or single precision mode
  • anything else that might report health and status

Comments

brad April 16 2010, at 04:04 PM: Added the following commands:

doug.cmd get_seconds : returns the number of seconds DOUG has been runing since program start

doug.cmd get_fps : returns the current frames-per-second or framerate

doug.cmd get_mode : returns the current mode (server, client, standalone…)

doug.cmd get_plugins : returns a list of install plugins

doug.cmd get_precision : returns double or single indicating current floating point precision

doug.display get -views : returns a list of defined viewports in channel#:view_name format

doug.display get -channels : returns a list of defined channels

doug.plugin_version <plugin_name> : returns the version string of specified plugin

doug.plugin_status : returns the initialization status of the plugin

doug.plugin_message_log : returns a list of messages logged from the plugin (both status and warnings)

doug.plugin_status_messages : returns a list of messages logged from the plugin (only status)

doug.plugin_warning_messages : returns a list of messages logged from the plugin (only warnings)


« 00227 | Issues | 00229 »

Associated Commits

| commit | 0a6e44d77c3db7016fbf1401f2fccfd22262aff1 link6 | || | Author: | Frankie Graffagnino | | Date: | Tue Apr 20 12:48:29 2010 -0500 | | Message: | [@Issue 00228 and 00143: Fixed doug.cmd get_fps Changes in libviewer were needed to fix the new command "doug.cmd get_fps". Also, extra printouts for issue 00143 were removed. @] |

Affected Files:

bin_Linux_FC3/doug           | Bin 444530 -> 444194 bytes
 lib_Linux_FC3/libdsp.a       | Bin 748856 -> 753606 bytes
 lib_Linux_FC3/libdsp_s.so    | Bin 615442 -> 618597 bytes
 lib_Linux_FC3/libviewer.a    | Bin 1011302 -> 1014206 bytes
 lib_Linux_FC3/libviewer_s.so | Bin 848898 -> 849657 bytes
 5 files changed, 0 insertions(+), 0 deletions(-)

| commit | fc97647793eb80e0a74b02a86ba5e7d3a8294879 link7 | || | Author: | Frankie Graffagnino | | Date: | Mon Apr 19 17:47:39 2010 -0500 | | Message: | [@Issue 00143, 00212, 00224, 00227, 00228, and 00236 Ton of fixes from Brad. Includes: - obvious warning when running without direct rendering - DOUG should give an error when a load is specified that doesn't exist - doug background command seg faults on bad data - new tcl commands, including ones to get current framerate and heartbeat - fix for issues when replacing or extracting files using dsp_package @] |

Affected Files:

bin_Linux_FC3/doug         | Bin 420358 -> 444530 bytes
 bin_Linux_FC3/dsp_baseline | Bin 28580 -> 28584 bytes
 bin_Linux_FC3/dsp_cache    | Bin 17080 -> 17084 bytes
 bin_Linux_FC3/dsp_cleanup  | Bin 13702 -> 13702 bytes
 bin_Linux_FC3/dsp_cmd      | Bin 33817 -> 33817 bytes
 bin_Linux_FC3/dsp_manager  | Bin 83353 -> 83515 bytes
 bin_Linux_FC3/dsp_package  | Bin 21214 -> 21456 bytes
 bin_Linux_FC3/dsp_server   | Bin 133066 -> 133134 bytes
 bin_Linux_FC3/dsp_viewer   | Bin 68906 -> 68910 bytes
 9 files changed, 0 insertions(+), 0 deletions(-)