Searched refs:TelemetryCallback (Results 1 – 2 of 2) sorted by relevance
45 struct TelemetryCallback { struct49 TelemetryCallback() {} in TelemetryCallback() argument50 explicit TelemetryCallback(const std::shared_ptr<ICarTelemetryCallback>& cb) : callback(cb) {} in TelemetryCallback() function51 explicit TelemetryCallback(const CallbackConfig& cfg, in TelemetryCallback() function55 TelemetryCallback(const TelemetryCallback& other) = default;56 TelemetryCallback& operator=(const TelemetryCallback& other) = default; argument58 TelemetryCallback(TelemetryCallback&& other) = default;59 TelemetryCallback& operator=(TelemetryCallback&& other) = default; argument62 bool operator==(const TelemetryCallback& other) const {68 size_t operator()(const TelemetryCallback& tc) const { in operator() argument[all …]
87 std::unordered_set<TelemetryCallback, TelemetryCallback::HashFunction> invokedCallbacks; in addCarDataIds()96 for (const TelemetryCallback& tc : callbacksForId) { in addCarDataIds()118 std::unordered_set<TelemetryCallback, TelemetryCallback::HashFunction> invokedCallbacks; in removeCarDataIds()127 for (const TelemetryCallback& tc : callbacksForId) { in removeCarDataIds()158 TelemetryCallback cb(config, callback); in addCallback()172 std::unordered_set<TelemetryCallback, TelemetryCallback::HashFunction>{cb}; in addCallback()198 auto it = mCallbacks.find(TelemetryCallback(callback)); in removeCallback()205 const TelemetryCallback& tc = *it; in removeCallback()