afmt
This commit is contained in:
parent
92d65aa3a5
commit
0cc8af5eb0
@ -326,9 +326,10 @@ void LocalDataPoolManager::resetHkUpdateResetHelper() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ReturnValue_t LocalDataPoolManager::subscribeForPeriodicPacket(sid_t sid, bool enableReporting,
|
ReturnValue_t LocalDataPoolManager::subscribeForPeriodicPacket(sid_t sid, bool enableReporting,
|
||||||
float collectionInterval, bool isDiagnostics,
|
float collectionInterval,
|
||||||
object_id_t packetDestination) {
|
bool isDiagnostics,
|
||||||
|
object_id_t packetDestination) {
|
||||||
struct HkReceiver hkReceiver;
|
struct HkReceiver hkReceiver;
|
||||||
hkReceiver.dataId.sid = sid;
|
hkReceiver.dataId.sid = sid;
|
||||||
hkReceiver.reportingType = ReportingType::PERIODIC;
|
hkReceiver.reportingType = ReportingType::PERIODIC;
|
||||||
|
@ -241,13 +241,13 @@ class LocalDataPoolManager : public ProvidesDataPoolSubscriptionIF, public Acces
|
|||||||
MutexIF* getMutexHandle();
|
MutexIF* getMutexHandle();
|
||||||
|
|
||||||
LocalDataPoolManager* getPoolManagerHandle() override;
|
LocalDataPoolManager* getPoolManagerHandle() override;
|
||||||
ReturnValue_t subscribeForPeriodicPacket(sid_t sid, bool enableReporting,
|
ReturnValue_t subscribeForPeriodicPacket(
|
||||||
float collectionInterval, bool isDiagnostics,
|
sid_t sid, bool enableReporting, float collectionInterval, bool isDiagnostics,
|
||||||
object_id_t packetDestination = objects::NO_OBJECT) override;
|
object_id_t packetDestination = objects::NO_OBJECT) override;
|
||||||
|
|
||||||
ReturnValue_t subscribeForUpdatePacket(sid_t sid, bool reportingEnabled,
|
ReturnValue_t subscribeForUpdatePacket(
|
||||||
bool isDiagnostics,
|
sid_t sid, bool reportingEnabled, bool isDiagnostics,
|
||||||
object_id_t packetDestination = objects::NO_OBJECT) override;
|
object_id_t packetDestination = objects::NO_OBJECT) override;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
/** Core data structure for the actual pool data */
|
/** Core data structure for the actual pool data */
|
||||||
|
@ -129,7 +129,8 @@ ReturnValue_t InternalErrorReporter::initializeLocalDataPool(localpool::DataPool
|
|||||||
localDataPoolMap.emplace(errorPoolIds::TM_HITS, &tmHitsEntry);
|
localDataPoolMap.emplace(errorPoolIds::TM_HITS, &tmHitsEntry);
|
||||||
localDataPoolMap.emplace(errorPoolIds::QUEUE_HITS, &queueHitsEntry);
|
localDataPoolMap.emplace(errorPoolIds::QUEUE_HITS, &queueHitsEntry);
|
||||||
localDataPoolMap.emplace(errorPoolIds::STORE_HITS, &storeHitsEntry);
|
localDataPoolMap.emplace(errorPoolIds::STORE_HITS, &storeHitsEntry);
|
||||||
poolManager.subscribeForPeriodicPacket(internalErrorSid, false,
|
poolManager.subscribeForPeriodicPacket(
|
||||||
|
internalErrorSid, false,
|
||||||
static_cast<float>(getPeriodicOperationFrequency()) / static_cast<float>(1000.0), true);
|
static_cast<float>(getPeriodicOperationFrequency()) / static_cast<float>(1000.0), true);
|
||||||
internalErrorDataset.setValidity(true, true);
|
internalErrorDataset.setValidity(true, true);
|
||||||
return returnvalue::OK;
|
return returnvalue::OK;
|
||||||
|
Loading…
Reference in New Issue
Block a user