X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FInstrumentation%2Ftcas.hxx;h=97fae4f374b1d2192c4d67c18716a253ebcdc233;hb=f04d5f8758ef4b5524a9396a84351bf86db6763e;hp=89d929114257bd42b5ffa32bc659370814499b34;hpb=b1b6d2f6e273cca1fcabcd5c230629356f52d6cb;p=flightgear.git diff --git a/src/Instrumentation/tcas.hxx b/src/Instrumentation/tcas.hxx index 89d929114..97fae4f37 100644 --- a/src/Instrumentation/tcas.hxx +++ b/src/Instrumentation/tcas.hxx @@ -153,11 +153,9 @@ class TCAS : public SGSubsystem class PropertiesHandler : public FGVoicePlayer::PropertiesHandler { - TCAS *tcas; - public: - PropertiesHandler (TCAS *device) : - FGVoicePlayer::PropertiesHandler(), tcas(device) {} + PropertiesHandler (TCAS *) : + FGVoicePlayer::PropertiesHandler() {} PropertiesHandler (void) : FGVoicePlayer::PropertiesHandler() {} }; @@ -272,7 +270,6 @@ class TCAS : public SGSubsystem int getThreatLevel (std::string callsign); private: - TCAS* tcas; double currentTime; bool haveTargets; bool newTargets; @@ -342,8 +339,10 @@ class TCAS : public SGSubsystem static const SensitivityLevel sensitivityLevels[]; TCAS* tcas; +#ifdef FEATURE_TCAS_DEBUG_THREAT_DETECTOR int checkCount; - +#endif // of FEATURE_TCAS_DEBUG_THREAT_DETECTOR + SGPropertyNode_ptr nodeLat; SGPropertyNode_ptr nodeLon; SGPropertyNode_ptr nodePressureAlt;