file
port_connections_manager.hPort connections manager.
Classes
- struct PortConnectionsManager
- Port connections manager.
Typedefs
- using PortConnectionsManager = struct PortConnectionsManager
- Port connections manager.
Functions
- void port_connections_manager_regenerate_hashtables(PortConnectionsManager* self)
- Regenerates the hash tables.
- auto port_connections_manager_get_sources_or_dests(const PortConnectionsManager* self, GPtrArray* arr, const PortIdentifier* id, bool sources) -> int
- Adds the sources/destinations of id in the given array.
- auto port_connections_manager_get_source_or_dest(const PortConnectionsManager* self, const PortIdentifier* id, bool sources) -> PortConnection*
- Wrapper over port_
connections_ manager_ get_ sources_ or_ dests() that returns the first connection. - auto port_connections_manager_predicate_is_send_of(const void* obj, const void* user_data) -> bool
- Returns whether the given connection is for the given send.
- auto port_connections_manager_find(const PortConnectionsManager* self, GPtrArray* arr, GenericPredicateFunc predicate) -> int
- Adds the connections matching the given predicate to the given array (if given).
- auto port_connections_manager_ensure_connect(PortConnectionsManager* self, const PortIdentifier* src, const PortIdentifier* dest, float multiplier, bool locked, bool enabled) -> const PortConnection*
- Stores the connection for the given ports if it doesn't exist, otherwise updates the existing connection.
- auto port_connections_manager_ensure_disconnect(PortConnectionsManager* self, const PortIdentifier* src, const PortIdentifier* dest) -> bool
- Removes the connection for the given ports if it exists.
- void port_connections_manager_ensure_disconnect_all(PortConnectionsManager* self, const PortIdentifier* pi)
- Disconnect all sources and dests of the given port identifier.
- void port_connections_manager_reset(PortConnectionsManager* self, const PortConnectionsManager* src)
- Removes all connections from self.
- auto port_connections_manager_clone(const PortConnectionsManager* src) -> NONNULL PortConnectionsManager*
- To be used during serialization.
- auto port_connections_manager_free(PortConnectionsManager* self) -> NONNULL void
- Deletes port, doing required cleanup and updating counters.