#include <Port.h>
|
| bool | connect (Port *other) override |
|
OutPort< OutPayload >::SEND_OUTCOME | send_out (OutPayload &&payload) |
| | Push a payload on the out port.
|
|
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.
|
|
std::string_view | name () const |
|
void | name (const std::string_view name) |
|
|
OutPort< OutPayload > | out_port |
|
InPort< InPayload > | in_port |
|
std::string | name_ |
|
|
using | TypeId = boost::typeindex::type_index |
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).
◆ connect()
template<typename OutPayload, typename InPayload>
The documentation for this class was generated from the following file: