|
SILICON
|
#include <wire.hpp>
Public Member Functions | |
| Bus ()=default | |
| Bus (unsigned short size) | |
| Bus (std::vector< Wire_ptr > busData) | |
| Bus (std::initializer_list< Wire > initList) | |
| Bus (std::initializer_list< Wire_ptr > initList) | |
| void | setSize (unsigned short size) |
| bool | forceSetCurrentValue (const BusValue &value) |
| bool | forceSetCurrentValue (const BusValue &value, const Component_weakPtr &authorizedBy) |
| Forces the bus value without authorization check. | |
| bool | setCurrentValue (const BusValue &value, const Component_weakPtr &requestedBy) |
| BusValue | getCurrentValue () const |
| bool | isInErrorState () const |
| bool | hasUnknowns () const |
| bool | sharesWireWith (const Bus &other) const |
| const Wire_ptr & | operator[] (const unsigned short index) const |
| Wire_ptr & | operator[] (const unsigned short index) |
| operator std::vector< Wire_ptr > () const | |
| operator std::vector< Wire_ptr > () | |
| auto | begin () |
| auto | end () |
| auto | begin () const |
| auto | end () const |
| auto | size () |
| auto | size () const |
| bool | operator== (const Bus &other) const |
| std::strong_ordering | operator<=> (const Bus &other) const |
Private Attributes | |
| std::vector< Wire_ptr > | busData |
|
default |
|
nodiscard |
| std::strong_ordering operator<=> | ( | const Bus & | other | ) | const |
|
inline |
|
nodiscard |