Template Class Port
Defined in File fwd.hh
Inheritance Relationships
Derived Types
public reactor::Input< T >(Template Class Input)public reactor::Output< T >(Template Class Output)
Class Documentation
-
template<class T>
class Port Subclassed by reactor::Input< T >, reactor::Output< T >
Public Functions
-
inline Port(const std::string &name, PortType type, Reactor *container, BaseMultiport *multiport, std::size_t index)
-
void set(const ImmutableValuePtr<T> &value_ptr)
-
inline void set(MutableValuePtr<T> &&value_ptr)
-
void set(std::nullptr_t) = delete
-
inline void startup() final
-
inline void shutdown() final
-
auto get() const noexcept -> const ImmutableValuePtr<T>&
Private Functions
-
inline void cleanup() noexcept final
Private Members
-
ImmutableValuePtr<T> value_ptr_ = {nullptr}
-
inline Port(const std::string &name, PortType type, Reactor *container, BaseMultiport *multiport, std::size_t index)