Commit 9bf84b5a authored by Burlen Loring's avatar Burlen Loring

SciberQuestToolKit -- Rename intialization helper

Rename vtkInitializationHelper::TestingInitialize/Finalize to
vtkInitializationHelper::StandaloneInitialize/Finalize.

Change-Id: Icdb1ca8c22a42b6306ec47c93a85b7f90148eba6
parent 5f490998
......@@ -131,7 +131,7 @@ void vtkInitializationHelper::Initialize(int argc, char**argv,
}
//----------------------------------------------------------------------------
void vtkInitializationHelper::TestingInitialize()
void vtkInitializationHelper::StandaloneInitialize()
{
// Verify that the version of the library that we linked against is
// compatible with the version of the headers we compiled against.
......@@ -149,7 +149,7 @@ void vtkInitializationHelper::Finalize()
}
//----------------------------------------------------------------------------
void vtkInitializationHelper::TestingFinalize()
void vtkInitializationHelper::StandaloneFinalize()
{
// Optional: Delete all global objects allocated by libprotobuf.
google::protobuf::ShutdownProtobufLibrary();
......
......@@ -50,11 +50,12 @@ public:
static void Finalize();
// Description:
// Initialization for ctests. This is needed to insure that
// linker does not remove object factories' auto init during
// static linking. It also cleans up after protobuf.
static void TestingInitialize();
static void TestingFinalize();
// Initialization for standalone executables linking against a PV
// library. This is needed to insure that linker does not remove object
// factories' auto init during static linking. It also cleans up after
// protobuf.
static void StandaloneInitialize();
static void StandaloneFinalize();
protected:
vtkInitializationHelper() {};
......
......@@ -87,7 +87,7 @@ vtkRenderWindow *vtkRenderWindowSingleton::RenderWindow=NULL;
//*****************************************************************************
vtkMultiProcessController *Initialize(int *argc, char ***argv)
{
vtkInitializationHelper::TestingInitialize();
vtkInitializationHelper::StandaloneInitialize();
vtkMultiProcessController *controller;
......@@ -131,7 +131,7 @@ int Finalize(vtkMultiProcessController* controller, int code)
controller->Finalize();
controller->Delete();
vtkInitializationHelper::TestingFinalize();
vtkInitializationHelper::StandaloneFinalize();
return code;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment