std::set< size_t > CpuIndexes
Logical processors that a thread is allowed to run on (first logical CPU has index 0).
void toStr(std::string &str, const FixedPointDecimal< Mantissa, Exponent > &number)
Serializes fixed-point decimal into a string.
char Char
Character type alias.
Connection retries settings.
unsigned int intervalSec
The time interval between attempts to restore the telecommunication link (in seconds).
ConnectionRetries()
Default constructor.
int number
Number of attempts to restore the telecommunication link.
ConnectionRetries(int inNumber, unsigned inIntervalSec)
Constructor.
size_t auditTrailFileMaxSize
Max size for audit trail file in megabytes, another file will be created if the size is exceeded.
std::string logDirectory
Log files are stored in this directory.
ConnectionRetries connectionRetries
Connection retries configuration settings.
LogSettings::Enum logSettings
Combine LogSettings enum values to configure the logger.
std::string auditTrailFile
Template of Audit Trail file name without extension.
unsigned receiveSpinningTimeout
Sets the receive spinning timeout (microseconds).
CpuIndexes auditTrailThreadAffinity
CPU affinity of the audit trail thread.
std::string auditTrailDirectory
Audit Trail files are stored in this directory.
std::string logFileNamePrefix
Template of log file name without extension.
int receiveTimeoutMs
Receive timeout in milliseconds.
CpuIndexes sendingThreadAffinity
CPU affinity of the sending thread.
std::string licenseString
License string.
HandlerSettings()
Initialize default instance.
LogLevel::Enum logLevel
Log verbosity.
unsigned sendSpinningTimeout
Sets the send spinning timeout (microseconds).
CpuIndexes receivingThreadAffinity
CPU affinity of the receiving thread.
std::string licenseDirectory
Path to the license directory.
int sendTimeoutMs
Send timeout in milliseconds.
Binary1 number
A unit number. This must be the unit number of the port.
Binary4 sequence
Last received sequence number for the unit.
std::string sessionSubId
Session Sub ID supplied by CFE.
std::string password
The password associated with the SessionId and SessionSubId.
ReplayUnspecifiedUnit::Enum replayUnspecifiedUnit
Controls replay behavior for unknown units.
std::vector< Unit > units
Unit/sequence pairs to follow, one per unit from which the TPH has received messages over this port.
std::string sessionId
Session Id as supplied by CFE.
Controls replay behavior for unknown units.
@ SkipReplayOfUnspecifiedUnits
@ ReplayAnyUnspecifiedUnitFromZero