• Home
  • Raw
  • Download

Lines Matching refs:statusInfo

40     const std::shared_ptr<SatelliteStatus>& statusInfo, napi_value& result)  in SatelliteStatusToJs()  argument
47 SetValueDouble(env, "satellitesNumber", statusInfo->GetSatellitesNumber(), result); in SatelliteStatusToJs()
48 if (statusInfo->GetSatellitesNumber() > 0) { in SatelliteStatusToJs()
50 … napi_create_array_with_length(env, statusInfo->GetSatellitesNumber(), &satelliteIdsArray)); in SatelliteStatusToJs()
52 napi_create_array_with_length(env, statusInfo->GetSatellitesNumber(), &cn0Array)); in SatelliteStatusToJs()
54 napi_create_array_with_length(env, statusInfo->GetSatellitesNumber(), &altitudesArray)); in SatelliteStatusToJs()
56 napi_create_array_with_length(env, statusInfo->GetSatellitesNumber(), &azimuthsArray)); in SatelliteStatusToJs()
58 … napi_create_array_with_length(env, statusInfo->GetSatellitesNumber(), &carrierFrequenciesArray)); in SatelliteStatusToJs()
60 for (int index = 0; index < statusInfo->GetSatellitesNumber(); index++) { in SatelliteStatusToJs()
62 … NAPI_CALL_RETURN_VOID(env, napi_create_double(env, statusInfo->GetSatelliteIds()[index], &value)); in SatelliteStatusToJs()
65 napi_create_double(env, statusInfo->GetCarrierToNoiseDensitys()[index], &value)); in SatelliteStatusToJs()
67 … NAPI_CALL_RETURN_VOID(env, napi_create_double(env, statusInfo->GetAltitudes()[index], &value)); in SatelliteStatusToJs()
69 … NAPI_CALL_RETURN_VOID(env, napi_create_double(env, statusInfo->GetAzimuths()[index], &value)); in SatelliteStatusToJs()
71 …NAPI_CALL_RETURN_VOID(env, napi_create_double(env, statusInfo->GetCarrierFrequencies()[index], &va… in SatelliteStatusToJs()