|
| bool | connect (Port *other) override |
| bool | connected () const override |
|
OutPort< OutPayload >::SEND_OUTCOME | send_out (OutPayload &&payload) |
| | Push a payload on the out port.
|
|
OutPort< OutPayload >::SEND_OUTCOME | send_out (OutPayload &payload) |
|
void | clear_out () |
|
void | clear_in () |
|
InPayload && | receive_in () |
| | Extract the payload from the in port.
|
|
InPayload * | peek_in () |
| | Peek the payload from the in port.
|
|
template<typename Self> |
| TypeId | get_type_id (this Self &) |
| | Utility to the get type of class. Need the type at compile time.
|
|
TypeId | get_runtime_type () const |
|
std::string_view | name () const |
|
void | name (const std::string_view name) |
template<typename OutPayload, typename InPayload>
class Simo::Ports::BidirectionalPortTyped< OutPayload, InPayload >
Port that can send and receive payloads on separate channels. It can be connected to a BidirectionalPortTyped<InPayload,OutPayload> (note the types are inverted).