CTK  0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
Public Member Functions | List of all members
ctkCmdLineModuleResult Class Reference

Describes a reported result of a command line module. More...

#include <Libs/CommandLineModules/Core/ctkCmdLineModuleResult.h>

Public Member Functions

 ctkCmdLineModuleResult ()
 
 ctkCmdLineModuleResult (const ctkCmdLineModuleResult &other)
 
 ctkCmdLineModuleResult (const QString &parameter, const QVariant &value)
 
ctkCmdLineModuleResultoperator= (const ctkCmdLineModuleResult &other)
 
bool operator== (const ctkCmdLineModuleResult &other) const
 
QString parameter () const
 Get the name of the output parameter for which this result was reported. More...
 
QVariant value () const
 Get the result value. More...
 
 ~ctkCmdLineModuleResult ()
 

Detailed Description

Describes a reported result of a command line module.

This class wraps a specific result reported by a running module via a ctkCmdLineModuleFuture instance.

See also
ctkCmdLineModuleFuture
ctkCmdLineModuleFutureWatcher

Definition at line 42 of file ctkCmdLineModuleResult.h.

Constructor & Destructor Documentation

◆ ctkCmdLineModuleResult() [1/3]

ctkCmdLineModuleResult::ctkCmdLineModuleResult ( )

◆ ~ctkCmdLineModuleResult()

ctkCmdLineModuleResult::~ctkCmdLineModuleResult ( )

◆ ctkCmdLineModuleResult() [2/3]

ctkCmdLineModuleResult::ctkCmdLineModuleResult ( const ctkCmdLineModuleResult other)

◆ ctkCmdLineModuleResult() [3/3]

ctkCmdLineModuleResult::ctkCmdLineModuleResult ( const QString &  parameter,
const QVariant &  value 
)

Member Function Documentation

◆ operator=()

ctkCmdLineModuleResult& ctkCmdLineModuleResult::operator= ( const ctkCmdLineModuleResult other)

◆ operator==()

bool ctkCmdLineModuleResult::operator== ( const ctkCmdLineModuleResult other) const

◆ parameter()

QString ctkCmdLineModuleResult::parameter ( ) const

Get the name of the output parameter for which this result was reported.

Returns
The output parameter name.

◆ value()

QVariant ctkCmdLineModuleResult::value ( ) const

Get the result value.

Returns
The result value.

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