Formats minimally release source files based on former clang-format
This commit is contained in:
387 files changed
+37323
-38074
No files matched your search
@@ -13,39 +13,40 @@
|
||||
|
||||
namespace PrtCnv
|
||||
{
|
||||
class PrtCnvStoredCentralTelegram : public PrtCnv::PrtCnvStoredTelegram
|
||||
{
|
||||
public:
|
||||
PrtCnvStoredCentralTelegram(const std::shared_ptr<N_CoPrtCnv::CoPrtCnvCentralTelegram> &a_centralTelegram,
|
||||
const std::shared_ptr<N_CoPrtCnv::CoPrtCnvRadioTelegram> &a_radioTelegram)
|
||||
: PrtCnvStoredTelegram(a_radioTelegram)
|
||||
, m_CentralTelegram(a_centralTelegram)
|
||||
{}
|
||||
class PrtCnvStoredCentralTelegram : public PrtCnv::PrtCnvStoredTelegram
|
||||
{
|
||||
public:
|
||||
PrtCnvStoredCentralTelegram(const std::shared_ptr<N_CoPrtCnv::CoPrtCnvCentralTelegram> &a_centralTelegram,
|
||||
const std::shared_ptr<N_CoPrtCnv::CoPrtCnvRadioTelegram> &a_radioTelegram)
|
||||
: PrtCnvStoredTelegram(a_radioTelegram)
|
||||
, m_CentralTelegram(a_centralTelegram)
|
||||
{
|
||||
}
|
||||
|
||||
int writeCounter() const { return m_WriteCounter; }
|
||||
int writeCounter() const { return m_WriteCounter; }
|
||||
|
||||
/**
|
||||
/**
|
||||
* Assigned central-telegram.
|
||||
*/
|
||||
std::shared_ptr<N_CoPrtCnv::CoPrtCnvCentralTelegram> m_CentralTelegram;
|
||||
/**
|
||||
std::shared_ptr<N_CoPrtCnv::CoPrtCnvCentralTelegram> m_CentralTelegram;
|
||||
/**
|
||||
* The number of unsuccessful attempts to send the telegram to central
|
||||
*/
|
||||
uint32_t m_Attempts = 0;
|
||||
/**
|
||||
uint32_t m_Attempts = 0;
|
||||
/**
|
||||
* The counter while sending this telegram to central
|
||||
*/
|
||||
int m_WriteCounter = 0;
|
||||
/**
|
||||
int m_WriteCounter = 0;
|
||||
/**
|
||||
* True if the telegram must be resent.
|
||||
*/
|
||||
bool m_DoResend = false;
|
||||
/**
|
||||
bool m_DoResend = false;
|
||||
/**
|
||||
* True if the telegram must be deleted.
|
||||
* Use this boolean only if you want delete a telegram as an exception (i.e.
|
||||
* corrupt telegram, which cannot be sent)
|
||||
*/
|
||||
bool m_DoDelete = false;
|
||||
};
|
||||
bool m_DoDelete = false;
|
||||
};
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user