Data Structures |
struct | ConnsChangedHook |
Functions |
CONN * | s_conn_return_new (OBJECT *other_object, int type, int x, int y, int whichone, int other_whichone) |
| create a new connection object
|
int | s_conn_uniq (GList *conn_list, CONN *input_conn) |
| check if a connection is uniq in a list
|
int | s_conn_remove_other (TOPLEVEL *toplevel, OBJECT *other_object, OBJECT *to_remove) |
| remove a object from the connection list of another object
|
static void | s_conn_remove_glist (TOPLEVEL *toplevel, GList *obj_list) |
| removes a GList of OBJECTs from the connection system
|
void | s_conn_remove_object (TOPLEVEL *toplevel, OBJECT *to_remove) |
| remove an OBJECT from the connection system
|
OBJECT * | s_conn_check_midpoint (OBJECT *o_current, int x, int y) |
| Checks if a point is a midpoint of an OBJECT.
|
void | s_conn_update_glist (TOPLEVEL *toplevel, GList *obj_list) |
| adds a GList of OBJECTs to the connection system
|
static int | is_bus_related (OBJECT *object) |
| Checks if an object is bus, or a bus pin.
|
static int | check_direct_compat (OBJECT *object1, OBJECT *object2) |
| Checks if two objects are of compatible types to be connected.
|
static void | add_connection (TOPLEVEL *toplevel, OBJECT *object, OBJECT *other_object, int type, int x, int y, int whichone, int other_whichone) |
static void | s_conn_update_line_object (TOPLEVEL *toplevel, OBJECT *object) |
| add a line OBJECT to the connection system
|
void | s_conn_update_object (TOPLEVEL *toplevel, OBJECT *object) |
| add an OBJECT to the connection system
|
void | s_conn_print (GList *conn_list) |
| print all connections of a connection list
|
int | s_conn_net_search (OBJECT *new_net, int whichone, GList *conn_list) |
| Search for net in existing connections.
|
static GList * | s_conn_return_glist_others (GList *input_list, GList *obj_list) |
| get a list of all objects connected to a list of OBJECTs.
|
GList * | s_conn_return_others (GList *input_list, OBJECT *object) |
| get a list of all objects connected to this one
|
void | s_conn_append_conns_changed_hook (TOPLEVEL *toplevel, ConnsChangedFunc func, void *data) |
static void | call_conns_changed_hook (gpointer data, gpointer user_data) |
void | s_conn_emit_conns_changed (TOPLEVEL *toplevel, OBJECT *object) |
void | s_conn_freeze_hooks (TOPLEVEL *toplevel, OBJECT *object) |
void | s_conn_thaw_hooks (TOPLEVEL *toplevel, OBJECT *object) |
static void | refresh_connectivity_cache (TOPLEVEL *toplevel, OBJECT *object) |
static void | s_conn_init_toplevel (TOPLEVEL *toplevel) |
void | s_conn_init (void) |
The connection system stores and tracks the connections between connected OBJECTS. The connected OBJECTS are either pins, nets and busses.
Each connection object with the type st_conn represents a single unidirectional relation to another object.
The following figure with two nets and a pin shows the relations between connections and OBJECTS:
Definition in file s_conn.c.