Base class for all Simics configuration objects. More...
#include <conf-object.h>
Public Member Functions | |
| ConfObject (const ConfObjectRef &obj) | |
| Create a ConfObject from ConfObjectRef. | |
| virtual | ~ConfObject ()=default |
| void | finalize () override |
| void | objects_finalized () override |
| ConfObjectRef | obj () const |
| Return a ConfObjectRef represents this object. | |
| virtual bool | finalized () |
| Return if the finalize method has been called. | |
Public Member Functions inherited from simics::ConfObjectInterface | |
| virtual | ~ConfObjectInterface ()=default |
| virtual void | finalize ()=0 |
| virtual void | objects_finalized ()=0 |
Base class for all Simics configuration objects.
Every device class that inherits from the ConfObject class, whether directly or indirectly, can be registered as a Simics class. However, registration is not automatic; it requires either the use of the RegisterWithSimics template class or the invocation of the make_class template function.
Additionally, custom behavior that occurs after this object or all objects are finalized can be implemented by overriding methods in the ConfObjectInterface.
|
inlineexplicit |
Create a ConfObject from ConfObjectRef.
|
virtualdefault |
|
inlineoverridevirtual |
Implements simics::ConfObjectInterface.
|
inlinevirtual |
Return if the finalize method has been called.
|
inline |
Return a ConfObjectRef represents this object.
|
inlineoverridevirtual |
Implements simics::ConfObjectInterface.