The MAUVE Toolchain
|
#include <AbstractPort.hpp>
Public Member Functions | |
AbstractPort (std::string const &name) | |
Constructor. More... | |
AbstractPort (const AbstractPort &other)=delete | |
Constructor. More... | |
virtual bool | connect_service (Service *service)=0 |
Connect the port to a service. | |
virtual std::vector< Service * > | connected_services () const =0 |
Get the list of connected services. | |
virtual std::size_t | connections_size () const =0 |
Get the number of connected services. | |
virtual bool | disconnect ()=0 |
Disconnect the port. | |
virtual Service * | get_connection (int index) const =0 |
Get connected Service according to the index. | |
virtual connection_type | get_type () const =0 |
Get port type. | |
virtual bool | is_connected () const =0 |
Check if the port is connected. | |
virtual std::string | type_name () const =0 |
Get port type name. | |
Public Attributes | |
const std::string | name |
Port name. | |
Abstract Port class.
mauve::runtime::AbstractPort::AbstractPort | ( | std::string const & | name | ) |
Constructor.
name | port name |
|
delete |
Constructor.
other | a port to construct from |