File tree Expand file tree Collapse file tree 2 files changed +11
-10
lines changed
src/esp/metadata/managers Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ AbstractSensorAttributes::ptr SensorAttributesManager::buildObjectFromJSONDoc(
158
158
return sensorAttributes;
159
159
} // SensorAttributesManager::buildObjectFromJSONDoc
160
160
161
- void SensorAttributesManager::setValsFromJSONDoc (
161
+ void SensorAttributesManager::setValsFromJSONDocInternal (
162
162
AbstractSensorAttributes::ptr attribs,
163
163
const io::JsonGenericValue& jsonConfig) {
164
164
// TODO support loading values from JSON docs for each type of
Original file line number Diff line number Diff line change @@ -98,15 +98,6 @@ class SensorAttributesManager
98
98
const std::string& filename,
99
99
const io::JsonGenericValue& jsonConfig) override ;
100
100
101
- /* *
102
- * @brief Method to take an existing attributes and set its values from passed
103
- * json config file.
104
- * @param attribs (out) an existing attributes to be modified.
105
- * @param jsonConfig json document to parse
106
- */
107
- void setValsFromJSONDoc (attributes::AbstractSensorAttributes::ptr attribs,
108
- const io::JsonGenericValue& jsonConfig) override ;
109
-
110
101
/* *
111
102
* @brief This function will be called to finalize attributes' paths before
112
103
* registration, moving fully qualified paths to the appropriate hidden
@@ -119,6 +110,16 @@ class SensorAttributesManager
119
110
attributes) const override {}
120
111
121
112
protected:
113
+ /* *
114
+ * @brief Internally accessed from AbstractAttributesManager. Method to take
115
+ * an existing attributes and set its values from passed json config file.
116
+ * @param attribs (out) an existing attributes to be modified.
117
+ * @param jsonConfig json document to parse
118
+ */
119
+ void setValsFromJSONDocInternal (
120
+ attributes::AbstractSensorAttributes::ptr attribs,
121
+ const io::JsonGenericValue& jsonConfig) override ;
122
+
122
123
/* *
123
124
* @brief Internal only. Create an attributes from a SensorSpec.
124
125
*
You can’t perform that action at this time.
0 commit comments