A base class for Simics C++ interface connect class. More...
#include <connect.h>
Public Member Functions | |
| ConnectBase () | |
| virtual | ~ConnectBase ()=default |
| virtual bool | set (const ConfObjectRef &o)=0 |
| Set the connected configuration object. | |
| ConfObjectRef | get () const |
| Get the connected configuration object. | |
| operator conf_object_t * () const | |
Conversion operator to conf_object_t*. | |
Protected Attributes | |
| ConfObjectRef | obj_ |
A base class for Simics C++ interface connect class.
The ConnectBase class provides common functionality for derived classes that need to manage a connection to a Simics configuration object.
|
inline |
|
virtualdefault |
|
inline |
Get the connected configuration object.
|
inline |
Conversion operator to conf_object_t*.
|
pure virtual |
Set the connected configuration object.
| o | The configuration object to connect. |
Implemented in simics::MapTargetConnect, simics::Connect< FirstIface, RestIfaces >, and simics::Connect< FirstIface, RestIfaces... >.
|
protected |