F´ Flight Software - C/C++ Documentation  devel
A framework for building embedded system applications to NASA flight quality standards.
Fw::ObjBase Class Reference

Brief class description. More...

#include <Fw/Obj/ObjBase.hpp>

Inheritance diagram for Fw::ObjBase:
Fw::PassiveComponentBase Fw::PortBase Drv::LinuxGpioDriverComponentBase Drv::LinuxI2cDriverComponentBase Drv::LinuxSpiDriverComponentBase Drv::LinuxUartDriverComponentBase Drv::StreamCrossoverComponentBase Drv::TcpClientComponentBase Drv::TcpServerComponentBase Drv::UdpComponentBase Fw::QueuedComponentBase Svc::AssertFatalAdapterComponentBase Svc::BufferManagerComponentBase Svc::BufferRepeaterComponentBase Svc::CmdSplitterComponentBase Svc::ComSplitterComponentBase Svc::ComStubComponentBase Svc::DeframerComponentBase Svc::FatalHandlerComponentBase Svc::FramerComponentBase Svc::GenericHubComponentBase Svc::LinuxTimerComponentBase Svc::PassiveRateGroupComponentBase Svc::PassiveTextLoggerComponentBase Svc::PolyDbComponentBase Svc::PosixTimeComponentBase Svc::RateGroupDriverComponentBase Svc::StaticMemoryComponentBase Svc::SystemResourcesComponentBase Svc::VersionComponentBase Fw::InputPortBase Fw::OutputPortBase

Protected Member Functions

 ObjBase (const char *name)
 ObjBase constructor. More...
 
virtual ~ObjBase ()
 Destructor. More...
 
void init ()
 Object initializer. More...
 

Detailed Description

Brief class description.

This class is the base class of the ISF object class hierarchy. Depending on which features of the architecture are enabled, this class: 1) Stores an object name 2) Provides for object registration

Definition at line 35 of file ObjBase.hpp.

Constructor & Destructor Documentation

◆ ObjBase()

Fw::ObjBase::ObjBase ( const char *  name)
protected

ObjBase constructor.

The constructor for the base class. Protected so it will only be called by derived classes. Stores the object name (calls setObjName()).

Parameters
nameObject name

Definition at line 22 of file ObjBase.cpp.

◆ ~ObjBase()

Fw::ObjBase::~ObjBase ( )
protectedvirtual

Destructor.

ObjBase destructor. Empty. Destructor. Should only be called by derived classes

Definition at line 35 of file ObjBase.cpp.

Member Function Documentation

◆ init()

void Fw::ObjBase::init ( )
protected

Object initializer.

Initializes the object. For the base class, it calls the object registry if registered by setObjRegistry() initialization function that all objects need to implement. Allows static constructors.

Definition at line 27 of file ObjBase.cpp.


The documentation for this class was generated from the following files: