12 #if FW_OBJECT_TO_STRING == 1 && FW_OBJECT_NAMES == 1
13 void PassiveComponentBase::toString(
char* buffer,
NATIVE_INT_TYPE size) {
16 PlatformIntType status = snprintf(buffer,
static_cast<size_t>(size),
"Comp: %s", this->m_objName.toChar());
28 this->m_instance = instance;
32 return this->m_instance;
38 this->m_idBase = idBase;
44 return this->m_idBase;
PlatformIntType NATIVE_INT_TYPE
int PlatformIntType
DefaultTypes.hpp provides fallback defaults for the platform types.
C++-compatible configuration header for fprime configuration.
void init()
Object initializer.
NATIVE_INT_TYPE getInstance() const
PassiveComponentBase(const char *name)
Named constructor.
virtual ~PassiveComponentBase()
Destructor.
void setIdBase(const U32)
Set the ID base.