Searched refs:default_ (Results 1 – 3 of 3) sorted by relevance
355 void setDefaultValue(std::shared_ptr<C2Param> default_);482 inline ParamBuilder &withDefault(std::shared_ptr<T> default_) {486 *mTypedParam = std::shared_ptr<T>(T::From(C2Param::Copy(*default_).release()));487 setDefaultValue(default_);496 inline ParamBuilder &withDefault(T *default_) {497 return withDefault(std::shared_ptr<T>(default_));511 inline ParamBuilder &withConstValue(std::shared_ptr<T> default_) {513 setSetter([default_](520 if (*typedValue != *default_) {526 return withDefault(default_);[all …]
192 std::unique_ptr<T> default_,199 c2_status_t err = validator_(default_);205 mCurrentConfig[T::PARAM_TYPE] = std::move(default_);213 T *default_, const std::string &name,217 return addLocalParam(std::unique_ptr<T>(default_), name, attrib, validator_);
165 void setDefaultValue(std::shared_ptr<C2Param> default_) { in setDefaultValue() argument166 mDefaultValue = default_; in setDefaultValue()312 void C2InterfaceHelper::ParamHelper::setDefaultValue(std::shared_ptr<C2Param> default_) { in setDefaultValue() argument313 mImpl->setDefaultValue(default_); in setDefaultValue()