mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-17 10:59:20 +02:00
refactor(sonar): remove redundant access specifiers (cpp:S3539)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -2294,7 +2294,6 @@ class TMoverParameters
|
||||
bool AIHintPantUpIfIdle{true}; // whether raise both pantographs if idling for a while
|
||||
double AIHintLocalBrakeAccFactor{1.05}; // suggested acceleration weight for local brake operation
|
||||
|
||||
public:
|
||||
TMoverParameters(double VelInitial, std::string TypeNameInit, std::string NameInit, int Cab);
|
||||
// obsługa sprzęgów
|
||||
static double CouplerDist(TMoverParameters const *Left, TMoverParameters const *Right);
|
||||
|
||||
@@ -70,7 +70,6 @@ static int const P_ed = 5;
|
||||
class TPrzekladnik : public TReservoir // przekladnik (powtarzacz)
|
||||
|
||||
{
|
||||
private:
|
||||
public:
|
||||
std::shared_ptr<TReservoir> BrakeRes;
|
||||
std::shared_ptr<TReservoir> Next;
|
||||
@@ -82,7 +81,6 @@ class TPrzekladnik : public TReservoir // przekladnik (powtarzacz)
|
||||
class TRura : public TPrzekladnik // nieprzekladnik, rura laczaca
|
||||
|
||||
{
|
||||
private:
|
||||
public:
|
||||
TRura() : TPrzekladnik() {};
|
||||
double P(void) override;
|
||||
@@ -154,7 +152,6 @@ class TPrzek_PZZ : public TPrzekladnik {
|
||||
class TPrzekZalamany : public TPrzekladnik // Knicksventil
|
||||
|
||||
{
|
||||
private:
|
||||
public:
|
||||
TPrzekZalamany() :
|
||||
TPrzekladnik()
|
||||
|
||||
@@ -567,7 +567,6 @@ class TWest : public TBrake
|
||||
class TESt : public TBrake
|
||||
{
|
||||
|
||||
private:
|
||||
protected:
|
||||
/// <summary>Control reservoir (ZS) — long-term reference pressure.</summary>
|
||||
std::shared_ptr<TReservoir> CntrlRes; // zbiornik sterujący
|
||||
@@ -627,7 +626,6 @@ class TESt : public TBrake
|
||||
class TESt3 : public TESt
|
||||
{
|
||||
|
||||
private:
|
||||
// double CylFlowSpeed[2][2]; //zmienna nie uzywana
|
||||
|
||||
public:
|
||||
@@ -713,7 +711,6 @@ class TESt4R : public TESt
|
||||
class TLSt : public TESt4R
|
||||
{
|
||||
|
||||
private:
|
||||
// double CylFlowSpeed[2][2]; // zmienna nie używana
|
||||
|
||||
protected:
|
||||
|
||||
@@ -530,7 +530,6 @@ public:
|
||||
void
|
||||
post(user_command const Command, double const Param1, double const Param2,
|
||||
int const Action, uint16_t Recipient, glm::vec3 Position = glm::vec3(0.0f) , const std::string *Payload = nullptr) const;
|
||||
private:
|
||||
// types
|
||||
// members
|
||||
};
|
||||
|
||||
@@ -12,7 +12,6 @@ http://mozilla.org/MPL/2.0/.
|
||||
|
||||
class TMdlContainer {
|
||||
friend class TModelsManager;
|
||||
private:
|
||||
TModel3d *LoadModel( std::string const &Name, bool const Dynamic );
|
||||
std::shared_ptr<TModel3d> Model { nullptr };
|
||||
std::string m_name;
|
||||
|
||||
@@ -29,7 +29,6 @@ class TTraction : public scene::basic_node
|
||||
TTraction *hvNext[ 2 ] { nullptr, nullptr }; //łączenie drutów w sieć
|
||||
int iNext[ 2 ] { 0, 0 }; // do którego końca się łączy
|
||||
int iLast { 0 }; //że niby ostatni drut // ustawiony bit 0, jeśli jest ostatnim drutem w sekcji; bit1 - przedostatni
|
||||
public:
|
||||
glm::dvec3 pPoint1;
|
||||
glm::dvec3 pPoint2;
|
||||
glm::dvec3 pPoint3;
|
||||
|
||||
Reference in New Issue
Block a user