#include <ssMultibeamApplication.h>
Inheritance diagram for ssMultibeamApplication:
Public Member Functions | |
vtkTypeMacro (ssMultibeamApplication, vtkKWApplication) | |
void | PrintSelf (ostream &os, vtkIndent indent) |
Print the state of this object. | |
bool | ParseCommandLineArguments (int argc, char *argv[]) |
Parse the command line arguments and set state. | |
void | SetProcessModule (ssMultibeamProcessModule *module) |
Specify the process module. | |
ssMultibeamProcessModule * | GetProcessModule () |
Give the process module. | |
virtual void | Start (int argc, char *argv[]) |
Start the application. | |
virtual void | Start () |
Start the application. | |
virtual void | Start (char *arg) |
Start the application. | |
virtual int | Exit () |
Shutdown gracefully. | |
ssMultibeamWindow * | MainWindow () |
Give the main (i.e. | |
void | BroadcastScript (char *eventString,...) |
This function will cause the process leader (this object) to execute the script on the other processes. | |
void | BroadcastSimpleScript (const char *str) |
Broadcast a script for execution on all other processes. | |
ssMultibeamRenderModule * | RenderModule () const |
Give the render module in use. | |
vtkObject * | MakeTclObject (const char *className, const char *tclName) |
This constructs a Vtk object The user must cast to the correct type, and is responsible for deleting the object. | |
vtkObject * | TclToVTKObject (const char *tclName) |
This method returns pointer to the object specified as a tcl name. | |
Static Public Member Functions | |
static ssMultibeamApplication * | New () |
Instantiate a new object of this type. | |
static Tcl_Interp * | InitializeTcl (int argc, char *argv[], ostream *err=0) |
Initialize the Tcl/Tk interpreter. | |
Protected Member Functions | |
ssMultibeamApplication () | |
Ctor. | |
virtual | ~ssMultibeamApplication () |
Dtor. | |
void | RenderModule (ssMultibeamRenderModule *module) |
Specify the render module to use. | |
Protected Attributes | |
ssMultibeamProcessModule * | processModule |
ssMultibeamAlertWindow * | alertWindow |
ssMultibeamRenderModule * | renderModule |
Static Protected Attributes | |
static const char *const | LoadComponentProc |
static const char *const | ExitProc |
This is the lead class of the application.
Definition at line 22 of file ssMultibeamApplication.h.
ssMultibeamApplication::ssMultibeamApplication | ( | ) | [protected] |
Ctor.
virtual ssMultibeamApplication::~ssMultibeamApplication | ( | ) | [protected, virtual] |
Dtor.
static ssMultibeamApplication* ssMultibeamApplication::New | ( | ) | [static] |
Instantiate a new object of this type.
This is the only method that objects of this type may be created.
Reimplemented from vtkKWApplication.
ssMultibeamApplication::vtkTypeMacro | ( | ssMultibeamApplication | , | |
vtkKWApplication | ||||
) |
void ssMultibeamApplication::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
Print the state of this object.
os | The output stream. | |
indent | The indentation level. Used for formating output. |
Reimplemented from vtkKWApplication.
static Tcl_Interp* ssMultibeamApplication::InitializeTcl | ( | int | argc, | |
char * | argv[], | |||
ostream * | err = 0 | |||
) | [static] |
Initialize the Tcl/Tk interpreter.
Must be done before any ssMultibeamApplication is instantiated.
argc | The number of command line arguments - from main(). | |
argv | The command line argument vector - from main(). | |
err | This is the stream, returned from this function, to which stderr messages will be sent. |
Reimplemented from vtkKWApplication.
bool ssMultibeamApplication::ParseCommandLineArguments | ( | int | argc, | |
char * | argv[] | |||
) |
Parse the command line arguments and set state.
argc | Number of arguments (from main). | |
argv | Argument vector (from main). |
void ssMultibeamApplication::SetProcessModule | ( | ssMultibeamProcessModule * | module | ) |
Specify the process module.
module | The process module. |
ssMultibeamProcessModule* ssMultibeamApplication::GetProcessModule | ( | ) |
Give the process module.
virtual void ssMultibeamApplication::Start | ( | int | argc, | |
char * | argv[] | |||
) | [virtual] |
Start the application.
argc | Number of arguments (from main). | |
argv | Argument vector (from main). |
Reimplemented from vtkKWApplication.
virtual void ssMultibeamApplication::Start | ( | ) | [virtual] |
virtual void ssMultibeamApplication::Start | ( | char * | arg | ) | [virtual] |
Start the application.
arg | A single argument. |
virtual int ssMultibeamApplication::Exit | ( | ) | [virtual] |
Shutdown gracefully.
Reimplemented from vtkKWApplication.
ssMultibeamWindow* ssMultibeamApplication::MainWindow | ( | ) |
Give the main (i.e.
top level) window associated with this application.
void ssMultibeamApplication::BroadcastScript | ( | char * | eventString, | |
... | ||||
) |
This function will cause the process leader (this object) to execute the script on the other processes.
Can only be called by the process leader (i.e. process 0).
eventString | The script |
void ssMultibeamApplication::BroadcastSimpleScript | ( | const char * | str | ) |
Broadcast a script for execution on all other processes.
str | The script. |
ssMultibeamRenderModule* ssMultibeamApplication::RenderModule | ( | ) | const |
Give the render module in use.
vtkObject* ssMultibeamApplication::MakeTclObject | ( | const char * | className, | |
const char * | tclName | |||
) |
This constructs a Vtk object The user must cast to the correct type, and is responsible for deleting the object.
className | The name of the Vtk class | |
tclName | The instance name. |
vtkObject* ssMultibeamApplication::TclToVTKObject | ( | const char * | tclName | ) |
This method returns pointer to the object specified as a tcl name.
void ssMultibeamApplication::RenderModule | ( | ssMultibeamRenderModule * | module | ) | [protected] |
Specify the render module to use.
module | The module |
Definition at line 166 of file ssMultibeamApplication.h.
Definition at line 167 of file ssMultibeamApplication.h.
Definition at line 168 of file ssMultibeamApplication.h.
const char* const ssMultibeamApplication::LoadComponentProc [static, protected] |
Definition at line 171 of file ssMultibeamApplication.h.
const char* const ssMultibeamApplication::ExitProc [static, protected] |
Definition at line 172 of file ssMultibeamApplication.h.