8 void setConnTrace(
bool trace) {
9 Fw::PortBase::setTrace(trace);
13 bool PortBase::s_trace =
false;
45 #if FW_PORT_TRACING == 1
47 void PortBase::trace() {
48 bool do_trace =
false;
50 if (this->m_ovr_trace) {
54 }
else if (PortBase::s_trace) {
59 #if FW_OBJECT_NAMES == 1
67 void PortBase::setTrace(
bool trace) {
68 PortBase::s_trace = trace;
71 void PortBase::ovrTrace(
bool ovr,
bool trace) {
72 this->m_ovr_trace = ovr;
73 this->m_trace = trace;
78 #if FW_OBJECT_NAMES == 1
79 #if FW_OBJECT_TO_STRING == 1
82 if (snprintf(buffer,
static_cast<size_t>(size),
"Port: %s %s->(%s)", this->m_objName.toChar(), this->m_connObj ?
"C" :
"NC",
83 this->m_connObj ? this->m_connObj->getObjName() :
"None") < 0) {
PlatformIntType NATIVE_INT_TYPE
#define FW_PORT_TRACING
Indicates whether port calls are traced (more code, more visibility into execution)
C++-compatible configuration header for fprime configuration.
static void log(const char *format,...)
log a formated string with supplied arguments
void init()
Object initializer.