The MAUVE Toolchain
|
Public Member Functions | |
Port (HasPort *container, std::string const &name) | |
bool | connect (S &service) |
bool | connect_service (Service *service) overridefinal |
Connect the port to a service. | |
std::vector< Service * > | connected_services () const overridefinal |
Get the list of connected services. | |
std::size_t | connections_size () const override |
Get the number of connected services. | |
bool | disconnect () overridefinal |
Disconnect the port. | |
bool | disconnect (S &service) |
Service * | get_connection (int index) const override |
Get connected Service according to the index. | |
bool | is_connected () const overridefinal |
Check if the port is connected. | |
bool | is_connected_to (S &service) const |
![]() | |
AbstractPort (std::string const &name) | |
Constructor. More... | |
AbstractPort (const AbstractPort &other)=delete | |
Constructor. More... | |
virtual connection_type | get_type () const =0 |
Get port type. | |
virtual std::string | type_name () const =0 |
Get port type name. | |
Protected Member Functions | |
Port (const Port< S > &other)=delete | |
Protected Attributes | |
const HasPort * | container |
std::vector< S * > | services |
Additional Inherited Members | |
![]() | |
const std::string | name |
Port name. | |