|
Simo 0.0.1
|
#include <Port.h>
Public Member Functions | |
| bool | connect (Port *other) override |
| template<typename Arg> | |
| std::optional< ReturnType > | send (Arg &&payload) |
| template<typename Arg> | |
| void | send (Arg &&payload) |
| Public Member Functions inherited from Simo::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) |
Protected Attributes | |
| CallbackInPort< Payload, ReturnType > * | connecting_port = nullptr |
| Protected Attributes inherited from Simo::Port | |
| std::string | name_ |
Friends | |
| class | CallbackInPort< Payload, ReturnType > |
Additional Inherited Members | |
| Public Types inherited from Simo::Port | |
| using | TypeId = boost::typeindex::type_index |
Templated input port that sends payloads to a CallbackOutPort of the same type.
|
nodiscardoverridevirtual |
Implements Simo::Port.