this gets rid of some warnings
This commit is contained in:
parent
064b195c75
commit
86692e202d
@ -70,18 +70,12 @@ class ProvidesDataPoolSubscriptionIF {
|
|||||||
virtual ReturnValue_t subscribeForDiagPeriodicPacket(
|
virtual ReturnValue_t subscribeForDiagPeriodicPacket(
|
||||||
subdp::DiagnosticsHkPeriodicParams params) = 0;
|
subdp::DiagnosticsHkPeriodicParams params) = 0;
|
||||||
|
|
||||||
virtual ReturnValue_t
|
|
||||||
subscribeForPeriodicPacket(sid_t sid, bool enableReporting, float collectionInterval,
|
|
||||||
bool isDiagnostics) {
|
|
||||||
return subscribeForPeriodicPacket(sid, enableReporting, collectionInterval, isDiagnostics,
|
|
||||||
objects::NO_OBJECT);
|
|
||||||
}
|
|
||||||
|
|
||||||
[[deprecated(
|
[[deprecated(
|
||||||
"Please use the new API which takes all arguments as one wrapper "
|
"Please use the new API which takes all arguments as one wrapper "
|
||||||
"struct")]] virtual ReturnValue_t
|
"struct")]] virtual ReturnValue_t
|
||||||
subscribeForPeriodicPacket(sid_t sid, bool enableReporting, float collectionInterval,
|
subscribeForPeriodicPacket(sid_t sid, bool enableReporting, float collectionInterval,
|
||||||
bool isDiagnostics, object_id_t packetDestination) {
|
bool isDiagnostics,
|
||||||
|
object_id_t packetDestination = objects::NO_OBJECT) {
|
||||||
if (isDiagnostics) {
|
if (isDiagnostics) {
|
||||||
subdp::DiagnosticsHkPeriodicParams params(sid, enableReporting, collectionInterval);
|
subdp::DiagnosticsHkPeriodicParams params(sid, enableReporting, collectionInterval);
|
||||||
return subscribeForDiagPeriodicPacket(params);
|
return subscribeForDiagPeriodicPacket(params);
|
||||||
@ -104,16 +98,16 @@ class ProvidesDataPoolSubscriptionIF {
|
|||||||
virtual ReturnValue_t subscribeForRegularUpdatePacket(subdp::RegularHkUpdateParams params) = 0;
|
virtual ReturnValue_t subscribeForRegularUpdatePacket(subdp::RegularHkUpdateParams params) = 0;
|
||||||
virtual ReturnValue_t subscribeForDiagUpdatePacket(subdp::DiagnosticsHkUpdateParams params) = 0;
|
virtual ReturnValue_t subscribeForDiagUpdatePacket(subdp::DiagnosticsHkUpdateParams params) = 0;
|
||||||
|
|
||||||
virtual ReturnValue_t
|
// virtual ReturnValue_t
|
||||||
subscribeForUpdatePacket(sid_t sid, bool reportingEnabled, bool isDiagnostics) {
|
// subscribeForUpdatePacket(sid_t sid, bool reportingEnabled, bool isDiagnostics) {
|
||||||
return subscribeForUpdatePacket(sid, reportingEnabled, isDiagnostics, objects::NO_OBJECT);
|
// return subscribeForUpdatePacket(sid, reportingEnabled, isDiagnostics, objects::NO_OBJECT);
|
||||||
}
|
// }
|
||||||
|
|
||||||
[[deprecated(
|
[[deprecated(
|
||||||
"Please use the new API which takes all arguments as one wrapper "
|
"Please use the new API which takes all arguments as one wrapper "
|
||||||
"struct")]] virtual ReturnValue_t
|
"struct")]] virtual ReturnValue_t
|
||||||
subscribeForUpdatePacket(sid_t sid, bool reportingEnabled, bool isDiagnostics,
|
subscribeForUpdatePacket(sid_t sid, bool reportingEnabled, bool isDiagnostics,
|
||||||
object_id_t packetDestination) {
|
object_id_t packetDestination = objects::NO_OBJECT) {
|
||||||
if (isDiagnostics) {
|
if (isDiagnostics) {
|
||||||
subdp::DiagnosticsHkUpdateParams params(sid, reportingEnabled);
|
subdp::DiagnosticsHkUpdateParams params(sid, reportingEnabled);
|
||||||
return subscribeForDiagUpdatePacket(params);
|
return subscribeForDiagUpdatePacket(params);
|
||||||
|
Loading…
Reference in New Issue
Block a user