fixed bug in attaching nics to hosts, changed documentation format and generator (buggy but usable)

This commit is contained in:
2025-09-14 00:40:53 -04:00
parent 9ab64e18a4
commit c4141cd683
40 changed files with 5223 additions and 577 deletions

View File

@@ -1,19 +1,15 @@
# hosts/mgmt_msg.h
## class MgmtMsg — public interface
### `virtual ~MgmtMsg() = default;`
## class HeartbeatMsg — public interface
### `: subscriber_id(sid), status(st), generated_at(t) { ... }`
### `MgmtKind kind() const noexcept override { ... }`
## class JobFinishedMsg — public interface
### `: flow_id(fid), finished_at(t) { ... }`
### `MgmtKind kind() const noexcept override { ... }`
## class EndSimulationMsg — public interface
### `MgmtKind kind() const noexcept override { ... }`
## `EndSimulationMsg::kind`
`MgmtKind kind() const noexcept override`
## `HeartbeatMsg::HeartbeatMsg`
`explicit HeartbeatMsg(NodeId sid, NodeStatus st, Time t) noexcept : subscriber_id(sid), status(st), generated_at(t)`
## `HeartbeatMsg::kind`
`MgmtKind kind() const noexcept override`
## `JobFinishedMsg::JobFinishedMsg`
`explicit JobFinishedMsg(FlowId fid, Time t) noexcept : flow_id(fid), finished_at(t)`
## `JobFinishedMsg::kind`
`MgmtKind kind() const noexcept override`
## `MgmtMsg::kind`
`virtual MgmtKind kind() const noexcept = 0`
## `MgmtMsg::~MgmtMsg`
`virtual ~MgmtMsg() = default`