vtkSlicerCLIModuleLogic Class Reference

#include <vtkSlicerCLIModuleLogic.h>

Inheritance diagram for vtkSlicerCLIModuleLogic:
vtkSlicerModuleLogic vtkSlicerLogic vtkObject

List of all members.

Public Member Functions

void Apply (vtkMRMLCommandLineModuleNode *node)
void ApplyAndWait (vtkMRMLCommandLineModuleNode *node)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void ProcessMrmlEvents (vtkObject *vtkNotUsed(caller), unsigned long vtkNotUsed(event), void *vtkNotUsed(callData))
void SetTemporaryDirectory (const char *tempdir)
 vtkBooleanMacro (RedirectModuleStreams, int)
 vtkBooleanMacro (DeleteTemporaryFiles, int)
 vtkGetMacro (RedirectModuleStreams, int)
 vtkGetMacro (DeleteTemporaryFiles, int)
 vtkSetMacro (RedirectModuleStreams, int)
 vtkSetMacro (DeleteTemporaryFiles, int)
 vtkTypeMacro (vtkSlicerCLIModuleLogic, vtkSlicerModuleLogic)

Static Public Member Functions

static vtkSlicerCLIModuleLogicNew ()
 The Usual vtk class functions.

Protected Member Functions

void ApplyTask (void *clientdata)
std::string ConstructTemporaryFileName (const std::string &tag, const std::string &type, const std::string &name, const std::vector< std::string > &extensions, CommandLineModuleType commandType) const
std::string ConstructTemporarySceneFileName (vtkMRMLScene *scene)
std::string FindHiddenNodeID (const ModuleDescription &d, const ModuleParameter &p)

Static Protected Member Functions

static void ProgressCallback (void *)

Private Member Functions

void operator= (const vtkSlicerCLIModuleLogic &)
 vtkSlicerCLIModuleLogic (const vtkSlicerCLIModuleLogic &)
 vtkSlicerCLIModuleLogic ()
virtual ~vtkSlicerCLIModuleLogic ()

Private Attributes

vtkMRMLCommandLineModuleNodeCommandLineModuleNode
int DeleteTemporaryFiles
int RedirectModuleStreams
std::string TemporaryDirectory

Constructor & Destructor Documentation

vtkSlicerCLIModuleLogic::vtkSlicerCLIModuleLogic (  )  [private]
vtkSlicerCLIModuleLogic::~vtkSlicerCLIModuleLogic (  )  [private, virtual]
vtkSlicerCLIModuleLogic::vtkSlicerCLIModuleLogic ( const vtkSlicerCLIModuleLogic  )  [private]

Member Function Documentation

void vtkSlicerCLIModuleLogic::Apply ( vtkMRMLCommandLineModuleNode node  ) 
void vtkSlicerCLIModuleLogic::ApplyAndWait ( vtkMRMLCommandLineModuleNode node  ) 

References ApplyTask().

Referenced by Apply().

void vtkSlicerCLIModuleLogic::ApplyTask ( void *  clientdata  )  [protected]

References ModuleProcessInformation::Abort, vtkMRMLCommandLineModuleNode::Cancelled, CommandLineModule, CommandLineModuleNode, vtkMRMLCommandLineModuleNode::Completed, vtkMRMLCommandLineModuleNode::CompletedWithErrors, ConstructTemporaryFileName(), ConstructTemporarySceneFileName(), autoSlicerTracto2regions::d, ModuleProcessInformation::ElapsedTime, FindHiddenNodeID(), vtkMRMLDisplayableNode::GetDisplayNode(), vtkMRMLModelHierarchyNode::GetDisplayNode(), ModuleDescription::GetLocation(), vtkMRMLCommandLineModuleNode::GetModuleDescription(), vtkMRMLScene::GetNodeByID(), vtkMRMLFiducialListNode::GetNthFiducialSelected(), vtkMRMLFiducialListNode::GetNthFiducialXYZ(), vtkMRMLROIListNode::GetNthROIRadiusXYZ(), vtkMRMLROIListNode::GetNthROISelected(), vtkMRMLROIListNode::GetNthROIXYZ(), vtkMRMLFiducialListNode::GetNumberOfFiducials(), vtkMRMLROIListNode::GetNumberOfROIs(), ModuleDescription::GetParameterDefaultValue(), ModuleDescription::GetParameterGroups(), ModuleDescription::GetProcessInformation(), vtkMRMLCommandLineModuleNode::GetStatus(), ModuleDescription::GetTarget(), ModuleDescription::GetTitle(), ModuleDescription::GetType(), ModuleDescription::HasParameter(), ModuleDescription::HasReturnParameters(), vtkMRMLCommandLineModuleNode::Idle, ii, ModuleProcessInformation::Initialize(), vtkSlicerLogic::MRMLScene, New(), slicer::vtk::prefix, process(), ModuleProcessInformation::Progress, ProgressCallback(), ModuleProcessInformation::ProgressMessage, PythonModule, RedirectModuleStreams, result, vtkMRMLCommandLineModuleNode::Running, vtkMRMLDisplayableNode::SetAndObserveDisplayNodeID(), vtkMRMLModelHierarchyNode::SetAndObserveDisplayNodeID(), ModuleProcessInformation::SetProgressCallback(), vtkMRMLNode::SetScene(), vtkMRMLCommandLineModuleNode::SetStatus(), SharedObjectModule, ModuleProcessInformation::StageProgress, NodeSelector::t, TemporaryDirectory, and vtkMRMLStorageNode::WriteData().

Referenced by Apply(), and ApplyAndWait().

std::string vtkSlicerCLIModuleLogic::ConstructTemporaryFileName ( const std::string &  tag,
const std::string &  type,
const std::string &  name,
const std::vector< std::string > &  extensions,
CommandLineModuleType  commandType 
) const [protected]

Referenced by ApplyTask().

std::string vtkSlicerCLIModuleLogic::ConstructTemporarySceneFileName ( vtkMRMLScene scene  )  [protected]

Referenced by ApplyTask().

std::string vtkSlicerCLIModuleLogic::FindHiddenNodeID ( const ModuleDescription d,
const ModuleParameter p 
) [protected]
vtkSlicerCLIModuleLogic * vtkSlicerCLIModuleLogic::New (  )  [static]

The Usual vtk class functions.

Reimplemented from vtkSlicerModuleLogic.

References autoSlicerTracto2regions::ret.

Referenced by Apply(), ApplyTask(), and qSlicerCLIModule::createLogic().

void vtkSlicerCLIModuleLogic::operator= ( const vtkSlicerCLIModuleLogic  )  [private]

Reimplemented from vtkSlicerModuleLogic.

void vtkSlicerCLIModuleLogic::PrintSelf ( ostream &  os,
vtkIndent  indent 
)

Reimplemented from vtkSlicerModuleLogic.

virtual void vtkSlicerCLIModuleLogic::ProcessMrmlEvents ( vtkObject vtkNotUsedcaller,
unsigned long   vtkNotUsedevent,
void *  vtkNotUsedcallData 
) [inline, virtual]
void vtkSlicerCLIModuleLogic::ProgressCallback ( void *  who  )  [static, protected]

Referenced by ApplyTask().

void vtkSlicerCLIModuleLogic::SetTemporaryDirectory ( const char tempdir  )  [inline]
vtkSlicerCLIModuleLogic::vtkBooleanMacro ( RedirectModuleStreams  ,
int   
)
vtkSlicerCLIModuleLogic::vtkBooleanMacro ( DeleteTemporaryFiles  ,
int   
)
vtkSlicerCLIModuleLogic::vtkGetMacro ( RedirectModuleStreams  ,
int   
)
vtkSlicerCLIModuleLogic::vtkGetMacro ( DeleteTemporaryFiles  ,
int   
)
vtkSlicerCLIModuleLogic::vtkSetMacro ( RedirectModuleStreams  ,
int   
)
vtkSlicerCLIModuleLogic::vtkSetMacro ( DeleteTemporaryFiles  ,
int   
)
vtkSlicerCLIModuleLogic::vtkTypeMacro ( vtkSlicerCLIModuleLogic  ,
vtkSlicerModuleLogic   
)

Member Data Documentation

Referenced by vtkSlicerCLIModuleLogic().

Referenced by ApplyTask().


The documentation for this class was generated from the following files:

Generated on 6 Apr 2011 for Slicer3 by  doxygen 1.6.1