65 const unsigned int NUMBER_RESULTS(
m_Result.size());
74 for (x = 0; x < NUMBER_RESULTS; x++)
115 const unsigned int NUMBER_RESULTS(
m_Result.size());
124 for (x = 0; x < NUMBER_RESULTS; x++)
165 const unsigned int NUMBER_RESULTS(
m_Quotient.size());
167 double dQuotient(0.0);
183 for (x = 0; x < NUMBER_RESULTS; x++)
224 const unsigned int NUMBER_RESULTS(
m_Equal.size());
233 for (x = 0; x < NUMBER_RESULTS; x++)
248 m_dMultiplicator1(1.0),
249 m_dMultiplicator2(1.0),
250 m_dMultiplicator3(1.0)
275 const unsigned int NUMBER_RESULTS(
m_Product.size());
277 double dProduct(0.0);
284 for (x = 0; x < NUMBER_RESULTS; x++)
324 const unsigned int NUMBER_RESULTS(
m_Result.size());
333 for (x = 0; x < NUMBER_RESULTS; x++)
376 double dDifference(0.0);
383 for (x = 0; x < NUMBER_RESULTS; x++)
425 const unsigned int NUMBER_RESULTS(
m_Sum.size());
434 for (x = 0; x < NUMBER_RESULTS; x++)
475 const unsigned int NUMBER_RESULTS(
m_Result.size());
484 for (x = 0; x < NUMBER_RESULTS; x++)
499 m_Array(::std::vector< double >(0)),
525 const unsigned int NUMBER_RESULTS(
m_Value.size());
526 const int SIZE_ARRAY(
m_Array().size());
542 for (x = 0; x < NUMBER_RESULTS; x++)
585 bool bEqualOrGreater(
false);
592 for (x = 0; x < NUMBER_RESULTS; x++)
633 const unsigned int NUMBER_RESULTS(
m_Greater.size());
635 bool bGreater(
false);
642 for (x = 0; x < NUMBER_RESULTS; x++)
683 const unsigned int NUMBER_RESULTS(
m_Greater.size());
685 bool bGreater(
false);
692 for (x = 0; x < NUMBER_RESULTS; x++)
733 const unsigned int NUMBER_RESULTS(
m_Equal.size());
742 for (x = 0; x < NUMBER_RESULTS; x++)
791 for (x = 0; x < NUMBER_RESULTS; x++)
844 for (x = 0; x < NUMBER_RESULTS; x++)
893 for (x = 0; x < NUMBER_RESULTS; x++)
946 for (x = 0; x < NUMBER_RESULTS; x++)
995 for (x = 0; x < NUMBER_RESULTS; x++)
1012 m_GradientDistances(::std::vector< double >(0)),
1013 m_GradientValues(::std::vector< double >(0)),
1014 m_dCurrentAbsoluteDistance(0.0),
1015 m_dCurrentVelocity(0.0),
1016 m_dDistanceOfPermittedVelocity(0.0),
1017 m_dPermittedVelocity(0.0),
1018 m_dAdhesionFactor(1.0)
1043 double dAccelration(0.0);
1044 double dBrakeIntensity(0.0);
1047 const long double FRICTION_COEFICIENT(0.25);
1048 const long double GRAVITATION_ACCELERATION(9.81);
1052 const double MAXIMAL_ACCELRATION(FRICTION_COEFICIENT * GRAVITATION_ACCELERATION *
m_dAdhesionFactor());
1058 bool bSpeedWarning(
false);
1059 bool bServiceApplied(
false);
1060 bool bEmergencyApplied(
false);
1068 dAccelration = (V0 - V1) * (3 * V0 - V1) / (2 * S1);
1071 dBrakeIntensity = dAccelration / MAXIMAL_ACCELRATION * 100.0;
1074 if (dBrakeIntensity > 100.0)
1077 dBrakeIntensity = 100.0;
1080 bServiceApplied =
true;
1083 bEmergencyApplied =
true;
1086 bSpeedWarning =
true;
1089 else if (dBrakeIntensity < 1.0)
1092 dBrakeIntensity = 0.0;
1098 bServiceApplied =
true;
1101 bSpeedWarning =
true;
1109 bSpeedWarning =
true;
1119 **sv = dBrakeIntensity;
1127 **ev = bEmergencyApplied;
1135 **sw = bSpeedWarning;
1143 **sa = bServiceApplied;
1151 **ea = bEmergencyApplied;
1163 m_GradientDistances(::std::vector< double >(0)),
1164 m_GradientValues(::std::vector< double >(0)),
1165 m_dCurrentAbsoluteDistance(0.0),
1166 m_dCurrentVelocity(0.0),
1167 m_dPermittedVelocity(0.0),
1168 m_dAdhesionFactor(1.0)
1193 double dBrakeIntensity(0.0);
1201 bool bSpeedWarning(
false);
1202 bool bServiceApplied(
false);
1203 bool bEmergencyApplied(
false);
1217 if (dBrakeIntensity > 100.0)
1220 dBrakeIntensity = 100.0;
1223 bEmergencyApplied =
true;
1226 else if (dBrakeIntensity < 0.1)
1229 dBrakeIntensity = 0.0;
1234 bServiceApplied =
true;
1240 bEmergencyApplied =
true;
1245 bSpeedWarning =
true;
1251 bSpeedWarning =
true;
1262 **sv = dBrakeIntensity;
1270 **ev = bEmergencyApplied;
1278 **sw = bSpeedWarning;
1286 **sa = bServiceApplied;
1294 **ea = bEmergencyApplied;
1330 const unsigned int NUMBER_RESULTS(
m_Entered.size());
1335 for (x = 0; x < NUMBER_RESULTS; x++)
1386 ::std::string Output;
1393 for (x = 0; x < NUMBER_RESULTS; x++)
1434 const unsigned int NUMBER_RESULTS(
m_Equal.size());
1443 for (x = 0; x < NUMBER_RESULTS; x++)
1458 m_PacketIDs(PacketIDs),
1459 m_InDevices(InDevices)
1493 const unsigned int NUMBER_RESULTS(
m_Received.size());
1494 const unsigned int NUMBER_DEVICES(
m_InDevices.size());
1496 bool bTelegramReceived(
false);
1497 ::std::vector< unsigned char > IDs;
1499 decltype (IDs.begin())
id;
1503 for (x = 0; x < NUMBER_DEVICES; x++)
1509 for (
id = IDs.begin();
id != IDs.end() && not bTelegramReceived;
id++)
1515 bTelegramReceived |= (*
id == *vid);
1526 for (x = 0; x < NUMBER_RESULTS; x++)
1560 m_bSendTelegram(
false),
1561 m_OutDevices(OutDevices)
1596 const unsigned int NUMBER_DEVICES(
m_OutDevices.size());
1604 for (x = 0; x < NUMBER_DEVICES; x++)
1625 m_bVisible(bInitialVisible),
1657 bool bDataEntered(
false);
1754 m_bBoolMessage(
false),
1755 m_dDoubleMessage(0.0),
1756 m_DoubleArrayMessage(::std::vector< double >(0)),
1758 m_StringMessage(
""),
1759 m_bVisible(bInitialVisible),
1786 bool bModified(
false);