KiCad PCB EDA Suite
class_netinfo.h File Reference
#include <macros.h>
#include <gr_basic.h>
#include <class_netclass.h>
#include <class_board_item.h>

Go to the source code of this file.

Classes

class  RATSNEST_ITEM
 Class RATSNEST_ITEM describes a ratsnest line: a straight line connecting 2 pads. More...
 
class  NETINFO_ITEM
 Class NETINFO_ITEM handles the data for a net. More...
 
class  NETINFO_MAPPING
 
class  NETINFO_MAPPING::iterator
 

Wrapper class, so you can iterate through NETINFO_ITEM*s, not std::pair<int/wxString, NETINFO_ITEM*>

More...
 
class  NETINFO_LIST
 Class NETINFO_LIST is a container class for NETINFO_ITEM elements, which are the nets. More...
 
class  NETINFO_LIST::iterator
 

Wrapper class, so you can iterate through NETINFO_ITEM*s, not std::pair<int/wxString, NETINFO_ITEM*>

More...
 

Macros

#define CH_VISIBLE   1 /* Visible */
 
#define CH_UNROUTABLE   2 /* Don't use autorouter. */
 
#define CH_ROUTE_REQ   4 /* Must be routed by the autorouter. */
 
#define CH_ACTIF   8 /* Not routed. */
 
#define LOCAL_RATSNEST_ITEM   0x8000 /* Line between two pads of a single module. */
 
#define START_ON_PAD   0x10
 
#define END_ON_PAD   0x20
 
#define START_ON_TRACK   0x40
 
#define END_ON_TRACK   0x80
 

Enumerations

enum  StatusPcbFlags {
  LISTE_PAD_OK = 1, LISTE_RATSNEST_ITEM_OK = 2, RATSNEST_ITEM_LOCAL_OK = 4, CONNEXION_OK = 8,
  NET_CODES_OK = 0x10, DO_NOT_SHOW_GENERAL_RASTNEST = 0x20
}
 

Macro Definition Documentation

#define CH_ROUTE_REQ   4 /* Must be routed by the autorouter. */

Definition at line 59 of file class_netinfo.h.

Referenced by PCB_EDIT_FRAME::Autoroute(), and Build_Work().

#define CH_UNROUTABLE   2 /* Don't use autorouter. */
#define END_ON_TRACK   0x80

Definition at line 696 of file class_netinfo.h.

#define LOCAL_RATSNEST_ITEM   0x8000 /* Line between two pads of a single module. */
#define START_ON_TRACK   0x40

Definition at line 695 of file class_netinfo.h.

Enumeration Type Documentation

Enumerator
LISTE_PAD_OK 
LISTE_RATSNEST_ITEM_OK 
RATSNEST_ITEM_LOCAL_OK 
CONNEXION_OK 
NET_CODES_OK 
DO_NOT_SHOW_GENERAL_RASTNEST 

Definition at line 700 of file class_netinfo.h.

700  {
701  LISTE_PAD_OK = 1, /* Pad list is Ok */
702  LISTE_RATSNEST_ITEM_OK = 2, /* General Ratsnest is Ok */
703  RATSNEST_ITEM_LOCAL_OK = 4, /* current MODULE ratsnest is Ok */
704  CONNEXION_OK = 8, /* List of connections exists. */
705  NET_CODES_OK = 0x10, /* Bit indicating that Netcode is OK,
706  * do not change net name. */
707  DO_NOT_SHOW_GENERAL_RASTNEST = 0x20 /* Do not display the general
708  * ratsnest (used in module moves) */
709 };