|
| Instance ()=delete |
|
| Instance (const Instance &)=delete |
|
| ~Instance ()=default |
|
| Instance (AppID id, std::optional< ModuleInfo > info, std::vector< std::unique_ptr< Instance > > children, std::vector< services::Service * > services, std::vector< std::unique_ptr< BundlePort > > &ports) |
|
const AppID | getID () const |
| Get the instance's ID, which it will always have.
|
|
virtual | ~HWModule ()=default |
|
std::optional< ModuleInfo > | getInfo () const |
| Access the module's metadata, if any.
|
|
std::vector< const Instance * > | getChildrenOrdered () const |
| Get a vector of the module's children in a deterministic order.
|
|
const std::map< AppID, Instance * > & | getChildren () const |
| Access the module's children by ID.
|
|
std::vector< std::reference_wrapper< BundlePort > > | getPortsOrdered () const |
| Get the module's ports in a deterministic order.
|
|
const std::map< AppID, BundlePort & > & | getPorts () const |
| Access the module's ports by ID.
|
|
const std::vector< services::Service * > & | getServices () const |
| Access the services provided by this module.
|
|
bool | poll () |
| Master poll method.
|
|
const HWModule * | resolveInst (const AppIDPath &path, AppIDPath &lastLookup) const |
| Attempt to resolve a path to a module instance.
|
|
BundlePort * | resolvePort (const AppIDPath &path, AppIDPath &lastLookup) const |
| Attempt to resolve a path to a port.
|
|
Subclass of HWModule
which represents a submodule instance.
Adds an AppID, which the top level doesn't have or need.
Definition at line 107 of file Design.h.