Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
mitk::SegmentAnythingProcessExecutor Class Reference

You may register an observer for an ExternalProcessOutputEvent, ExternalProcessStdOutEvent or ExternalProcessStdErrEvent in order to get notified of any output. More...

#include <mitkSegmentAnythingProcessExecutor.h>

Inheritance diagram for mitk::SegmentAnythingProcessExecutor:
Collaboration diagram for mitk::SegmentAnythingProcessExecutor:

Public Types

using Self = SegmentAnythingProcessExecutor
 
using Superclass = mitk::ProcessExecutor
 
using Pointer = ::itk::SmartPointer< Self >
 
using ConstPointer = ::itk::SmartPointer< const Self >
 
- Public Types inherited from mitk::ProcessExecutor
using Self = ProcessExecutor
 
using Superclass = ::itk::Object
 
using Pointer = ::itk::SmartPointer< Self >
 
using ConstPointer = ::itk::SmartPointer< const Self >
 
using ArgumentListType = std::vector< std::string >
 

Public Member Functions

virtual const char * GetClassName () const
 
 mitkNewMacro1Param (SegmentAnythingProcessExecutor, double &)
 
virtual void SetStop (bool _arg)
 
virtual bool GetStop () const
 
bool Execute (const std::string &executionPath, const ArgumentListType &argumentList)
 Executes the process. This version assumes that the executable name is the first argument in the argument list and has already been converted to its OS dependent name via the static convert function of this class. More...
 
void SetTimeout (double &timeout)
 
- Public Member Functions inherited from mitk::ProcessExecutor
virtual void SetSharedOutputPipes (bool _arg)
 
virtual bool GetSharedOutputPipes () const
 
bool Execute (const std::string &executionPath, const std::string &executableName, ArgumentListType &argumentList)
 
int GetExitValue ()
 
void KillProcess ()
 

Protected Member Functions

 SegmentAnythingProcessExecutor ()=delete
 
 SegmentAnythingProcessExecutor (double &)
 
 ~SegmentAnythingProcessExecutor ()=default
 
- Protected Member Functions inherited from mitk::ProcessExecutor
 ProcessExecutor ()
 
 ~ProcessExecutor () override
 

Additional Inherited Members

- Static Public Member Functions inherited from mitk::ProcessExecutor
static Pointer New ()
 
static std::string EnsureCorrectOSPathSeparator (const std::string &)
 
static std::string GetOSDependendExecutableName (const std::string &name)
 
- Protected Attributes inherited from mitk::ProcessExecutor
int m_ExitValue
 
bool m_SharedOutputPipes
 Specifies if the child process should share the output pipes (true) or not (false). If pipes are not shared the output will be passed by invoking ExternalProcessOutputEvents. More...
 

Detailed Description

You may register an observer for an ExternalProcessOutputEvent, ExternalProcessStdOutEvent or ExternalProcessStdErrEvent in order to get notified of any output.

Remarks
The events will only be invoked if the pipes are NOT(!) shared. By default the pipes are not shared.

Definition at line 29 of file mitkSegmentAnythingProcessExecutor.h.

Member Typedef Documentation

◆ ConstPointer

◆ Pointer

◆ Self

◆ Superclass

Constructor & Destructor Documentation

◆ SegmentAnythingProcessExecutor() [1/2]

mitk::SegmentAnythingProcessExecutor::SegmentAnythingProcessExecutor ( )
protecteddelete

◆ SegmentAnythingProcessExecutor() [2/2]

mitk::SegmentAnythingProcessExecutor::SegmentAnythingProcessExecutor ( double &  )
protected

◆ ~SegmentAnythingProcessExecutor()

mitk::SegmentAnythingProcessExecutor::~SegmentAnythingProcessExecutor ( )
protecteddefault

Member Function Documentation

◆ Execute()

bool mitk::SegmentAnythingProcessExecutor::Execute ( const std::string &  executionPath,
const ArgumentListType argumentList 
)
virtual

Executes the process. This version assumes that the executable name is the first argument in the argument list and has already been converted to its OS dependent name via the static convert function of this class.

Reimplemented from mitk::ProcessExecutor.

◆ GetClassName()

virtual const char* mitk::SegmentAnythingProcessExecutor::GetClassName ( ) const
virtual

Reimplemented from mitk::ProcessExecutor.

◆ GetStop()

virtual bool mitk::SegmentAnythingProcessExecutor::GetStop ( ) const
virtual

◆ mitkNewMacro1Param()

mitk::SegmentAnythingProcessExecutor::mitkNewMacro1Param ( SegmentAnythingProcessExecutor  ,
double &   
)

◆ SetStop()

virtual void mitk::SegmentAnythingProcessExecutor::SetStop ( bool  _arg)
virtual

◆ SetTimeout()

void mitk::SegmentAnythingProcessExecutor::SetTimeout ( double &  timeout)

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