Represents a Simics port object base class. More...
#include <port.h>
Public Member Functions | |
| Port (const ConfObjectRef &obj) | |
| virtual | ~Port ()=default |
| TParent * | parent () const |
| Return a pointer to the C++ object associated with the Simics parent object. | |
| const std::string & | name () |
| Return the port name. | |
| int | index () const |
| Return the index of an array-type object name. | |
Public Member Functions inherited from simics::ConfObject | |
| 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::iface::ConfObjectInterface | |
| virtual | ~ConfObjectInterface ()=default |
| virtual void | finalize ()=0 |
| virtual void | objects_finalized ()=0 |
Represents a Simics port object base class.
In Simics, a port object is a child object which is created automatically together with its parent object. With this class, a C++ model model can easily expose same interface more than once.
|
inlineexplicit |
|
virtualdefault |
|
inline |
Return the index of an array-type object name.
|
inline |
Return the port name.
|
inline |
Return a pointer to the C++ object associated with the Simics parent object.