MCPcopy Create free account
hub / github.com/MITK/MITK / SetPointerParameter

Function SetPointerParameter

Modules/AlgorithmsExt/include/mitkNonBlockingAlgorithm.h:127–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125 */
126 template <typename T>
127 void SetPointerParameter(const char *parameter, const itk::SmartPointer<T> &value)
128 {
129 // MITK_INFO << this << "->SetParameter smartpointer(" << parameter << ") " << typeid(itk::SmartPointer<T>).name()
130 // << std::endl;
131 m_ParameterListMutex.lock();
132 m_Parameters->SetProperty(parameter, SmartPointerProperty::New(value.GetPointer()));
133 m_ParameterListMutex.unlock();
134 }
135 // virtual void SetParameter( const char*, mitk::BaseProperty* ); // for "number of iterations", ...
136 // create some property observing to inform algorithm object about changes
137 // perhaps some TriggerParameter(string) macro that creates an observer for changes in a specific property like

Callers 3

InitializeMethod · 0.85
InitializeMethod · 0.85

Calls 5

GetPointerMethod · 0.80
NewFunction · 0.50
lockMethod · 0.45
SetPropertyMethod · 0.45
unlockMethod · 0.45

Tested by

no test coverage detected