all cstdout uses wrapped in preprocessor defines
This commit is contained in:
container
controller
datalinklayer
Clcw.cppDataLinkLayer.cppMapPacketExtraction.cppTcTransferFrame.cppTcTransferFrameLocal.cppVirtualChannelReception.cpp
datapool
datapoollocal
HasLocalDataPoolIF.hLocalDataPoolManager.cppLocalDataPoolManager.hLocalPoolDataSetBase.cppLocalPoolObjectBase.cppLocalPoolVariable.tppLocalPoolVector.tppPoolReadHelper.h
defaultcfg/fsfwconfig/pollingsequence
devicehandlers
events
fdir
globalfunctions
health
internalError
ipc
memory
monitoring
objectmanager
osal
FreeRTOS
BinSemaphUsingTask.cppBinarySemaphore.cppCountingSemaphUsingTask.cppCountingSemaphore.cppFixedTimeslotTask.cppMessageQueue.cppMutex.cppPeriodicTask.cppSemaphoreFactory.cpp
host
Clock.cppFixedTimeslotTask.cppMessageQueue.cppPeriodicTask.cppQueueMapManager.cppSemaphoreFactory.cpp
linux
BinarySemaphore.cppClock.cppCountingSemaphore.cppFixedTimeslotTask.cppMessageQueue.cppMutex.cppPeriodicPosixTask.cppPosixThread.cppTcUnixUdpPollingTask.cppTimer.cppTmTcUnixUdpBridge.cpp
rtems
windows
parameters
pus
CService201HealthCommanding.cppService1TelecommandVerification.cppService2DeviceAccess.cppService3Housekeeping.cppService5EventReporting.cppService8FunctionManagement.cpp
serialize
storagemanager
subsystem
tasks
tcdistribution
timemanager
tmtcpacket/pus
tmtcservices
unittest
internal
user
@ -12,9 +12,11 @@ PoolEntry<T>::PoolEntry(std::initializer_list<T> initValue, uint8_t setLength,
|
||||
std::memset(this->address, 0, this->getByteSize());
|
||||
}
|
||||
else if (initValue.size() != setLength){
|
||||
#if CPP_OSTREAM_ENABLED == 1
|
||||
sif::warning << "PoolEntry: setLength is not equal to initializer list"
|
||||
"length! Performing zero initialization with given setLength"
|
||||
<< std::endl;
|
||||
#endif
|
||||
std::memset(this->address, 0, this->getByteSize());
|
||||
}
|
||||
else {
|
||||
@ -67,10 +69,14 @@ bool PoolEntry<T>::getValid() {
|
||||
|
||||
template <typename T>
|
||||
void PoolEntry<T>::print() {
|
||||
#if CPP_OSTREAM_ENABLED == 1
|
||||
sif::debug << "Pool Entry Validity: " <<
|
||||
(this->valid? " (valid) " : " (invalid) ") << std::endl;
|
||||
#endif
|
||||
arrayprinter::print(reinterpret_cast<uint8_t*>(address), length);
|
||||
#if CPP_OSTREAM_ENABLED == 1
|
||||
sif::debug << std::dec << std::endl;
|
||||
#endif
|
||||
}
|
||||
|
||||
template<typename T>
|
||||
|
Reference in New Issue
Block a user