fixed bug in attaching nics to hosts, changed documentation format and generator (buggy but usable)
This commit is contained in:
@@ -1,13 +1,21 @@
|
||||
# core/node.h
|
||||
|
||||
## class Node — public interface
|
||||
|
||||
### `Node(Simulator *const sim, NodeId id, NodeType type) noexcept;`
|
||||
### `virtual ~Node() = default;`
|
||||
### `NodeId id() const noexcept;`
|
||||
### `NodeStatus status() const noexcept;`
|
||||
### `NodeType type() const noexcept;`
|
||||
### `void set_status(NodeStatus s) noexcept;`
|
||||
### `void boot(Time boottime_ns);`
|
||||
### `void reboot(Time boottime_ns);`
|
||||
### `Node(const Node &) = delete;`
|
||||
## `Node::Node`
|
||||
`Node(Simulator *const sim, NodeId id, NodeType type) noexcept`
|
||||
## `Node::Node`
|
||||
`Node(const Node &) = delete`
|
||||
## `Node::boot`
|
||||
`void boot(Time boottime_ns)`
|
||||
## `Node::id`
|
||||
`NodeId id() const noexcept`
|
||||
## `Node::operator=`
|
||||
`Node &operator=(const Node &) = delete`
|
||||
## `Node::reboot`
|
||||
`void reboot(Time boottime_ns)`
|
||||
## `Node::set_status`
|
||||
`void set_status(NodeStatus s) noexcept`
|
||||
## `Node::status`
|
||||
`NodeStatus status() const noexcept`
|
||||
## `Node::type`
|
||||
`NodeType type() const noexcept`
|
||||
## `Node::~Node`
|
||||
`virtual ~Node() = default`
|
||||
Reference in New Issue
Block a user