TCE  1.14
Static Public Attributes | List of all members
MDFLayoutConstraints Class Reference

#include <MDFLayoutConstraints.hh>

Collaboration diagram for MDFLayoutConstraints:
Collaboration graph

Static Public Attributes

static const int UNIT_WIDTH = 85
 Minimum unit width. More...
 
static const int UNIT_HEIGHT = 65
 Minimum unit height. More...
 
static const int UNIT_SPACE = 36
 Space between units. More...
 
static const int MAX_UNIT_NAME_WIDTH = 250
 Maximun unit name width in pixels. More...
 
static const int PORT_WIDTH = 16
 Width of a port. More...
 
static const int PORT_SPACE = 20
 Space between ports. More...
 
static const int SOCKET_WIDTH = PORT_WIDTH
 Width of a socket. More...
 
static const int SOCKET_HEIGHT = 100
 Height of a socket. More...
 
static const int SOCKET_SPACE = SOCKET_WIDTH
 Space dividing unconnected sockets. More...
 
static const int SOCKET_MIN_SPACE = 2
 Space dividing connected sockets. More...
 
static const int SEGMENT_SPACE = 14
 Space dividing segments. More...
 
static const int SEGMENT_HEIGHT = 4
 Height of a segment. More...
 
static const int BUS_MIN_WIDTH = 206
 Minimum width of a bus. More...
 
static const int BUS_MIN_HEIGHT = SEGMENT_HEIGHT
 Minimum height of a bus. More...
 
static const int BUS_SPACE = 30
 Space between buses and bus chains. More...
 
static const int BRIDGE_WIDTH = BUS_MIN_WIDTH
 Width of a bridge. More...
 
static const int BRIDGE_HEIGHT = 30
 Height of a bridge. More...
 
static const int BRIDGE_SPACE = 12
 Space dividing buses and bridges. More...
 
static const int VIEW_MARGIN = 30
 Top margin for the whole processor view. More...
 
static const int VIEW_LEFT_MARGIN = 30
 Left margin. More...
 
static const int CONNECTIONS_SPACE = 80
 Space reserved for port-socket-connections. More...
 
static const int TRIANGLE_HEIGHT = 15
 Size of the sockets' direction triangle. More...
 

Detailed Description

Defines some layout constraints used in visualizing the machine.

Definition at line 40 of file MDFLayoutConstraints.hh.

Member Data Documentation

const int MDFLayoutConstraints::BRIDGE_HEIGHT = 30
static

Height of a bridge.

Definition at line 75 of file MDFLayoutConstraints.hh.

const int MDFLayoutConstraints::BRIDGE_SPACE = 12
static

Space dividing buses and bridges.

Definition at line 77 of file MDFLayoutConstraints.hh.

const int MDFLayoutConstraints::BRIDGE_WIDTH = BUS_MIN_WIDTH
static

Width of a bridge.

Definition at line 73 of file MDFLayoutConstraints.hh.

const int MDFLayoutConstraints::BUS_MIN_HEIGHT = SEGMENT_HEIGHT
static

Minimum height of a bus.

Definition at line 69 of file MDFLayoutConstraints.hh.

const int MDFLayoutConstraints::BUS_MIN_WIDTH = 206
static

Minimum width of a bus.

Definition at line 67 of file MDFLayoutConstraints.hh.

const int MDFLayoutConstraints::BUS_SPACE = 30
static

Space between buses and bus chains.

Definition at line 71 of file MDFLayoutConstraints.hh.

const int MDFLayoutConstraints::CONNECTIONS_SPACE = 80
static

Space reserved for port-socket-connections.

Definition at line 83 of file MDFLayoutConstraints.hh.

const int MDFLayoutConstraints::MAX_UNIT_NAME_WIDTH = 250
static

Maximun unit name width in pixels.

Definition at line 49 of file MDFLayoutConstraints.hh.

const int MDFLayoutConstraints::PORT_SPACE = 20
static

Space between ports.

Definition at line 53 of file MDFLayoutConstraints.hh.

const int MDFLayoutConstraints::PORT_WIDTH = 16
static

Width of a port.

Definition at line 51 of file MDFLayoutConstraints.hh.

const int MDFLayoutConstraints::SEGMENT_HEIGHT = 4
static

Height of a segment.

Definition at line 65 of file MDFLayoutConstraints.hh.

const int MDFLayoutConstraints::SEGMENT_SPACE = 14
static

Space dividing segments.

Definition at line 63 of file MDFLayoutConstraints.hh.

const int MDFLayoutConstraints::SOCKET_HEIGHT = 100
static

Height of a socket.

Definition at line 57 of file MDFLayoutConstraints.hh.

const int MDFLayoutConstraints::SOCKET_MIN_SPACE = 2
static

Space dividing connected sockets.

Definition at line 61 of file MDFLayoutConstraints.hh.

const int MDFLayoutConstraints::SOCKET_SPACE = SOCKET_WIDTH
static

Space dividing unconnected sockets.

Definition at line 59 of file MDFLayoutConstraints.hh.

const int MDFLayoutConstraints::SOCKET_WIDTH = PORT_WIDTH
static

Width of a socket.

Definition at line 55 of file MDFLayoutConstraints.hh.

const int MDFLayoutConstraints::TRIANGLE_HEIGHT = 15
static

Size of the sockets' direction triangle.

Definition at line 85 of file MDFLayoutConstraints.hh.

const int MDFLayoutConstraints::UNIT_HEIGHT = 65
static

Minimum unit height.

Definition at line 45 of file MDFLayoutConstraints.hh.

const int MDFLayoutConstraints::UNIT_SPACE = 36
static

Space between units.

Definition at line 47 of file MDFLayoutConstraints.hh.

const int MDFLayoutConstraints::UNIT_WIDTH = 85
static

Minimum unit width.

Definition at line 43 of file MDFLayoutConstraints.hh.

const int MDFLayoutConstraints::VIEW_LEFT_MARGIN = 30
static

Left margin.

Definition at line 81 of file MDFLayoutConstraints.hh.

const int MDFLayoutConstraints::VIEW_MARGIN = 30
static

Top margin for the whole processor view.

Definition at line 79 of file MDFLayoutConstraints.hh.


The documentation for this class was generated from the following file: