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

Function SetParameter

Modules/AlgorithmsExt/include/mitkNonBlockingAlgorithm.h:112–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110 */
111 template <typename T>
112 void SetParameter(const char *parameter, const T &value)
113 {
114 // MITK_INFO << "SetParameter(" << parameter << ") " << typeid(T).name() << std::endl;
115 // m_ParameterListMutex->Lock();
116 m_Parameters->SetProperty(parameter, GenericProperty<T>::New(value));
117 // m_ParameterListMutex->Unlock();
118 }
119
120 /**
121 * \brief Set a parameter that holds a smart pointer.

Callers 3

InitializeMethod · 0.85
InitializeMethod · 0.85
InitializeMethod · 0.85

Calls 2

NewFunction · 0.50
SetPropertyMethod · 0.45

Tested by

no test coverage detected