F´ Flight Software - C/C++ Documentation
devel
A framework for building embedded system applications to NASA flight quality standards.
|
The Fw::Obj
module contains the Fw::ObjBase
base class that defines the root class for objects in the F´ architecture. In addition, it provides a definition for a pure virtual base class Fw::ObjRegistry
that is used to register objects when they are initialized.
The Fw::ObjBase
class is the base class in the F´ class hierarchy. It is the base class for all components and ports. It stores the object name as well as performs object registration if an object registry has been registered with the class.
The Fw::ObjRegistry
class is a virtual base class for object registry. This is an optional feature that is turned on or off with the FW_OBJECT_REGISTRATION
macro, found in FpConfig.hpp
. The concept is that an object registry provides a way to track all the objects that have been instantiated in the system. The registry can query any public functions in Fw::Object
to get information on the instance. The actual method for storing Fw::Object
pointers and producing data on the instances is left to the derived classes.
Date | Description |
---|---|
4/24/2016 | Initial Version |