@@ -138,49 +138,62 @@ namespace FPSProfiler
138
138
139
139
/* *
140
140
* @brief Called when a new file is created.
141
- * @param filePath The path of the newly created file .
141
+ * @param config File Save Settings Configuration .
142
142
*/
143
- virtual void OnFileCreated (const AZStd::string& filePath )
143
+ virtual void OnFileCreated (const Configs::FileSaveSettings& config )
144
144
{
145
145
}
146
146
147
147
/* *
148
148
* @brief Called when an existing file is updated.
149
- * @param filePath The path of the file that was modified .
149
+ * @param config File Save Settings Configuration .
150
150
*/
151
- virtual void OnFileUpdate (const AZStd::string& filePath )
151
+ virtual void OnFileUpdate (const Configs::FileSaveSettings& config )
152
152
{
153
153
}
154
154
155
155
/* *
156
156
* @brief Called when a file is successfully saved.
157
- * @param filePath The path of the saved file .
157
+ * @param config File Save Settings Configuration .
158
158
*/
159
- virtual void OnFileSaved (const AZStd::string& filePath )
159
+ virtual void OnFileSaved (const Configs::FileSaveSettings& config )
160
160
{
161
161
}
162
162
163
163
/* *
164
164
* @brief Called when the profiling process starts.
165
- * @param config The configuration settings used for the profiling session.
165
+ * @param recordConfig The configuration settings used for the record session.
166
+ * @param precisionConfig The configuration settings used for the precision.
167
+ * @param debugConfig The configuration settings used for the debugging.
166
168
*/
167
- virtual void OnProfileStart (const Configs::FileSaveSettings& config)
169
+ virtual void OnProfileStart (
170
+ const Configs::RecordSettings& recordConfig,
171
+ const Configs::PrecisionSettings& precisionConfig,
172
+ const Configs::DebugSettings& debugConfig)
168
173
{
169
174
}
170
175
171
176
/* *
172
177
* @brief Called when the profiling data is reset.
173
- * @param config The configuration settings used for the profiling session.
178
+ * @param recordConfig The configuration settings used for the record session.
179
+ * @param precisionConfig The configuration settings used for the precision.
174
180
*/
175
- virtual void OnProfileReset (const Configs::FileSaveSettings& config )
181
+ virtual void OnProfileReset (const Configs::RecordSettings& recordConfig, const Configs::PrecisionSettings& precisionConfig )
176
182
{
177
183
}
178
184
179
185
/* *
180
186
* @brief Called when the profiling process stops.
181
- * @param config The configuration settings used for the profiling session.
187
+ * @param saveConfig The configuration settings used for the file operations.
188
+ * @param recordConfig The configuration settings used for the record session.
189
+ * @param precisionConfig The configuration settings used for the precision.
190
+ * @param debugConfig The configuration settings used for the debugging.
182
191
*/
183
- virtual void OnProfileStop (const Configs::FileSaveSettings& config)
192
+ virtual void OnProfileStop (
193
+ const Configs::FileSaveSettings& saveConfig,
194
+ const Configs::RecordSettings& recordConfig,
195
+ const Configs::PrecisionSettings& precisionConfig,
196
+ const Configs::DebugSettings& debugConfig)
184
197
{
185
198
}
186
199
};
@@ -213,34 +226,41 @@ namespace FPSProfiler
213
226
OnProfileReset,
214
227
OnProfileStop);
215
228
216
- void OnFileCreated (const AZStd::string& filePath ) override
229
+ void OnFileCreated (const Configs::FileSaveSettings& config ) override
217
230
{
218
- Call (FN_OnFileCreated, filePath );
231
+ Call (FN_OnFileCreated, config );
219
232
}
220
233
221
- void OnFileUpdate (const AZStd::string& filePath ) override
234
+ void OnFileUpdate (const Configs::FileSaveSettings& config ) override
222
235
{
223
- Call (FN_OnFileUpdate, filePath );
236
+ Call (FN_OnFileUpdate, config );
224
237
}
225
238
226
- void OnFileSaved (const AZStd::string& filePath ) override
239
+ void OnFileSaved (const Configs::FileSaveSettings& config ) override
227
240
{
228
- Call (FN_OnFileSaved, filePath );
241
+ Call (FN_OnFileSaved, config );
229
242
}
230
243
231
- void OnProfileStart (const Configs::FileSaveSettings& config) override
244
+ void OnProfileStart (
245
+ const Configs::RecordSettings& recordConfig,
246
+ const Configs::PrecisionSettings& precisionConfig,
247
+ const Configs::DebugSettings& debugConfig) override
232
248
{
233
- Call (FN_OnProfileStart, config );
249
+ Call (FN_OnProfileStart, recordConfig, precisionConfig, debugConfig );
234
250
}
235
251
236
- void OnProfileReset (const Configs::FileSaveSettings& config ) override
252
+ void OnProfileReset (const Configs::RecordSettings& recordConfig, const Configs::PrecisionSettings& precisionConfig ) override
237
253
{
238
- Call (FN_OnProfileReset, config );
254
+ Call (FN_OnProfileReset, recordConfig, precisionConfig );
239
255
}
240
256
241
- void OnProfileStop (const Configs::FileSaveSettings& config) override
257
+ void OnProfileStop (
258
+ const Configs::FileSaveSettings& saveConfig,
259
+ const Configs::RecordSettings& recordConfig,
260
+ const Configs::PrecisionSettings& precisionConfig,
261
+ const Configs::DebugSettings& debugConfig) override
242
262
{
243
- Call (FN_OnProfileStop, config );
263
+ Call (FN_OnProfileStop, saveConfig, recordConfig, precisionConfig, debugConfig );
244
264
}
245
265
};
246
266
0 commit comments