When an event on a \hyperlink{classKite_1_1TrackElement}{Kite\-::\-Track\-Element} is being processed (with the \hyperlink{classKite_1_1SegmentFsm}{Segment\-Fsm} helper), it may generate events on \hyperlink{classKite_1_1TrackElement}{Track\-Element} already placed and belonging either to the same net or other ones. Those events are not generated and queued immediatly but instead \hyperlink{classKite_1_1SegmentAction}{Segment\-Action}, requesting the event generation are created and stored into a simple vector in \hyperlink{classKite_1_1SegmentFsm}{Segment\-Fsm}. The last operation of the \hyperlink{classKite_1_1SegmentFsm}{Segment\-Fsm} object is to call the \hyperlink{classKite_1_1SegmentAction_a324f17f0f5a09b76344eb2e003695d74}{Segment\-Action\-::do\-Action()} method on all the action to actually generate and queue the events.
\paragraph[{Type}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf Type}}}\label{classKite_1_1SegmentAction_a1d1cfd8ffb84e947f82999c682b666a7}
Indicates the kind of action to be performed on the segment. In the following {\bfseries flags} and {\bfseries masks} descriptions, we uses the term {\itshape reference segment} for the \hyperlink{classKite_1_1TrackElement}{Track\-Element} which is associated with the currently processed \hyperlink{classKite_1_1RoutingEvent}{Routing\-Event} (also referenced in \hyperlink{classKite_1_1SegmentFsm}{Segment\-Fsm}).
Here is the list of the availables actions that can be performed when (re)scheduling a \hyperlink{classKite_1_1RoutingEvent}{Routing\-Event}. It is here that we uses the \hyperlink{classKite_1_1RoutingEvent}{Routing\-Event} level feature to perform a local reordering of the top of the queue. Reordering is used to allows perpandiculars to be routed {\itshape before} the reference segment (instead of after) or {\itshape other} segments in conflict.
{\bfseries Action\-:} Ripup a segment which is a perpandicular to the reference segment. Ordering considerations\-: this perpandicular will be put back into the \hyperlink{classKite_1_1RoutingEvent}{Routing\-Event} queue with a lower level (priority) than the reference segment, so it will be processed again {\itshape after} the reference segment.\par
{\bfseries Action\-:} Ripup a segment which is a perpandicular to the reference segment, supplies an axis hint and put it back into the \hyperlink{classKite_1_1RoutingEvent}{Routing\-Event} queue so that it will be processed {\itshape before} the reference segment.\par
{\bfseries Event Level\-:} Increased to \hyperlink{classKite_1_1SegmentAction_a1d1cfd8ffb84e947f82999c682b666a7ab8346062d5bbccb98893c4675b8d5098}{Segment\-Action\-::\-Event\-Level4}.
{\bfseries Action\-:} Ripping up a segment from another net and in perpandicular direction. The level is elevated so it's priority is greater than the reference segment this it will be reprocessed first. An axis hint is also supplied in order to make room for the reference segment.\par
{\bfseries Event Level\-:} Increased to \hyperlink{classKite_1_1SegmentAction_a1d1cfd8ffb84e947f82999c682b666a7a11ef388ea422168a9c79fd9b4d81ea34}{Segment\-Action\-::\-Event\-Level3}.
{\bfseries Action\-:} Ripping up a segment from another net and in perpandicular direction. The level is elevated so it's priority is greater than the reference segment this it will be reprocessed first. The generated event is in packing mode only.\par
{\bfseries Event Level\-:} Increased to \hyperlink{classKite_1_1SegmentAction_a1d1cfd8ffb84e947f82999c682b666a7ab8346062d5bbccb98893c4675b8d5098}{Segment\-Action\-::\-Event\-Level4}.
}]{\bfseries\mbox{[}Flag\mbox{]}} The segment associated to the action is the reference segment {\itshape or segments from the same net}. \index{Other@{Other}!Kite\-::\-Segment\-Action@{Kite\-::\-Segment\-Action}}\index{Kite\-::\-Segment\-Action@{Kite\-::\-Segment\-Action}!Other@{Other}}\item[{\em
}]{\bfseries\mbox{[}Flag\mbox{]}} The segment associated to the action is {\bfseries not} from the same net as the reference segment. \index{Perpandicular@{Perpandicular}!Kite\-::\-Segment\-Action@{Kite\-::\-Segment\-Action}}\index{Kite\-::\-Segment\-Action@{Kite\-::\-Segment\-Action}!Perpandicular@{Perpandicular}}\item[{\em
}]{\bfseries\mbox{[}Flag\mbox{]}} The action concern a perpandicular to the reference segment. \index{Insert@{Insert}!Kite\-::\-Segment\-Action@{Kite\-::\-Segment\-Action}}\index{Kite\-::\-Segment\-Action@{Kite\-::\-Segment\-Action}!Insert@{Insert}}\item[{\em
}]{\bfseries\mbox{[}Flag\mbox{]}} Request that the segment is to be inserted in the given track. It is the task of \hyperlink{classKite_1_1SegmentFsm}{Segment\-Fsm} to determine that there is sufficent space to do so. \index{Ripup@{Ripup}!Kite\-::\-Segment\-Action@{Kite\-::\-Segment\-Action}}\index{Kite\-::\-Segment\-Action@{Kite\-::\-Segment\-Action}!Ripup@{Ripup}}\item[{\em
}]{\bfseries\mbox{[}Flag\mbox{]}} Request that the segment is to be ripped up. \index{Riped\-By\-Local@{Riped\-By\-Local}!Kite\-::\-Segment\-Action@{Kite\-::\-Segment\-Action}}\index{Kite\-::\-Segment\-Action@{Kite\-::\-Segment\-Action}!Riped\-By\-Local@{Riped\-By\-Local}}\item[{\em
}]{\bfseries\mbox{[}Flag\mbox{]}} Indicate that the segment has been ripped up by a local one. \index{Reset\-Ripup@{Reset\-Ripup}!Kite\-::\-Segment\-Action@{Kite\-::\-Segment\-Action}}\index{Kite\-::\-Segment\-Action@{Kite\-::\-Segment\-Action}!Reset\-Ripup@{Reset\-Ripup}}\item[{\em
}]{\bfseries\mbox{[}Flag\mbox{]}} The ripup count is to be reset. \index{To\-Ripup\-Limit@{To\-Ripup\-Limit}!Kite\-::\-Segment\-Action@{Kite\-::\-Segment\-Action}}\index{Kite\-::\-Segment\-Action@{Kite\-::\-Segment\-Action}!To\-Ripup\-Limit@{To\-Ripup\-Limit}}\item[{\em
}]{\bfseries\mbox{[}Flag\mbox{]}} The ripup count is directly increased to the ripup limit, triggering a state change the next time the segment will be processed. \index{Axis\-Hint@{Axis\-Hint}!Kite\-::\-Segment\-Action@{Kite\-::\-Segment\-Action}}\index{Kite\-::\-Segment\-Action@{Kite\-::\-Segment\-Action}!Axis\-Hint@{Axis\-Hint}}\item[{\em
}]{\bfseries\mbox{[}Flag\mbox{]}} An axis hint has been supplied, and is to be passed to the generated \hyperlink{classKite_1_1RoutingEvent}{Routing\-Event}. \index{Packing\-Mode@{Packing\-Mode}!Kite\-::\-Segment\-Action@{Kite\-::\-Segment\-Action}}\index{Kite\-::\-Segment\-Action@{Kite\-::\-Segment\-Action}!Packing\-Mode@{Packing\-Mode}}\item[{\em
}]{\bfseries\mbox{[}Flag\mbox{]}} Whether the \hyperlink{classKite_1_1RoutingEvent}{Routing\-Event} should be processed in {\itshape packing} mode or {\itshape negociated} mode (transmitted to the \hyperlink{classKite_1_1RoutingEvent}{Routing\-Event}). \index{To\-State@{To\-State}!Kite\-::\-Segment\-Action@{Kite\-::\-Segment\-Action}}\index{Kite\-::\-Segment\-Action@{Kite\-::\-Segment\-Action}!To\-State@{To\-State}}\item[{\em
}]{\bfseries\mbox{[}Flag\mbox{]}} Force the change of state of the \hyperlink{classKite_1_1RoutingEvent}{Routing\-Event} (i.\-e. \hyperlink{classKite_1_1DataNegociate}{Data\-Negociate}). Normally the state change is done through the increase of the ripup count in \hyperlink{classKite_1_1DataNegociate}{Data\-Negociate}. \index{Event\-Level1@{Event\-Level1}!Kite\-::\-Segment\-Action@{Kite\-::\-Segment\-Action}}\index{Kite\-::\-Segment\-Action@{Kite\-::\-Segment\-Action}!Event\-Level1@{Event\-Level1}}\item[{\em
}]{\bfseries\mbox{[}Flag\mbox{]}} Increase the level to {\itshape at least}{\bfseries 1}. \index{Event\-Level2@{Event\-Level2}!Kite\-::\-Segment\-Action@{Kite\-::\-Segment\-Action}}\index{Kite\-::\-Segment\-Action@{Kite\-::\-Segment\-Action}!Event\-Level2@{Event\-Level2}}\item[{\em
}]{\bfseries\mbox{[}Flag\mbox{]}} Increase the level to {\itshape at least}{\bfseries 2}. \index{Event\-Level3@{Event\-Level3}!Kite\-::\-Segment\-Action@{Kite\-::\-Segment\-Action}}\index{Kite\-::\-Segment\-Action@{Kite\-::\-Segment\-Action}!Event\-Level3@{Event\-Level3}}\item[{\em
}]{\bfseries\mbox{[}Flag\mbox{]}} Increase the level to {\itshape at least}{\bfseries 3}. \index{Event\-Level4@{Event\-Level4}!Kite\-::\-Segment\-Action@{Kite\-::\-Segment\-Action}}\index{Kite\-::\-Segment\-Action@{Kite\-::\-Segment\-Action}!Event\-Level4@{Event\-Level4}}\item[{\em
}]{\bfseries\mbox{[}Flag\mbox{]}} Increase the level to {\itshape at least}{\bfseries 4}. \index{Event\-Level5@{Event\-Level5}!Kite\-::\-Segment\-Action@{Kite\-::\-Segment\-Action}}\index{Kite\-::\-Segment\-Action@{Kite\-::\-Segment\-Action}!Event\-Level5@{Event\-Level5}}\item[{\em
}]{\bfseries\mbox{[}Flag\mbox{]}} Increase the level to {\itshape at least}{\bfseries 5}. \index{Self\-Insert@{Self\-Insert}!Kite\-::\-Segment\-Action@{Kite\-::\-Segment\-Action}}\index{Kite\-::\-Segment\-Action@{Kite\-::\-Segment\-Action}!Self\-Insert@{Self\-Insert}}\item[{\em
}]{\bfseries\mbox{[}Mask\mbox{]}}, see \hyperlink{classKite_1_1SegmentAction_a1d1cfd8ffb84e947f82999c682b666a7}{Segment\-Action\-::\-Type}. \index{Self\-Ripup@{Self\-Ripup}!Kite\-::\-Segment\-Action@{Kite\-::\-Segment\-Action}}\index{Kite\-::\-Segment\-Action@{Kite\-::\-Segment\-Action}!Self\-Ripup@{Self\-Ripup}}\item[{\em
}]{\bfseries\mbox{[}Mask\mbox{]}}, see \hyperlink{classKite_1_1SegmentAction_a1d1cfd8ffb84e947f82999c682b666a7}{Segment\-Action\-::\-Type}. \index{Self\-Ripup\-Perpand@{Self\-Ripup\-Perpand}!Kite\-::\-Segment\-Action@{Kite\-::\-Segment\-Action}}\index{Kite\-::\-Segment\-Action@{Kite\-::\-Segment\-Action}!Self\-Ripup\-Perpand@{Self\-Ripup\-Perpand}}\item[{\em
}]{\bfseries\mbox{[}Mask\mbox{]}}, see \hyperlink{classKite_1_1SegmentAction_a1d1cfd8ffb84e947f82999c682b666a7}{Segment\-Action\-::\-Type}. \index{Self\-Ripup\-Perpand\-With\-Axis\-Hint@{Self\-Ripup\-Perpand\-With\-Axis\-Hint}!Kite\-::\-Segment\-Action@{Kite\-::\-Segment\-Action}}\index{Kite\-::\-Segment\-Action@{Kite\-::\-Segment\-Action}!Self\-Ripup\-Perpand\-With\-Axis\-Hint@{Self\-Ripup\-Perpand\-With\-Axis\-Hint}}\item[{\em
}]{\bfseries\mbox{[}Mask\mbox{]}}, see \hyperlink{classKite_1_1SegmentAction_a1d1cfd8ffb84e947f82999c682b666a7}{Segment\-Action\-::\-Type}. \index{Other\-Ripup@{Other\-Ripup}!Kite\-::\-Segment\-Action@{Kite\-::\-Segment\-Action}}\index{Kite\-::\-Segment\-Action@{Kite\-::\-Segment\-Action}!Other\-Ripup@{Other\-Ripup}}\item[{\em
}]{\bfseries\mbox{[}Mask\mbox{]}}, see \hyperlink{classKite_1_1SegmentAction_a1d1cfd8ffb84e947f82999c682b666a7}{Segment\-Action\-::\-Type}. \index{Other\-Ripup\-Perpand\-And\-Push\-Aside@{Other\-Ripup\-Perpand\-And\-Push\-Aside}!Kite\-::\-Segment\-Action@{Kite\-::\-Segment\-Action}}\index{Kite\-::\-Segment\-Action@{Kite\-::\-Segment\-Action}!Other\-Ripup\-Perpand\-And\-Push\-Aside@{Other\-Ripup\-Perpand\-And\-Push\-Aside}}\item[{\em
}]{\bfseries\mbox{[}Mask\mbox{]}}, see \hyperlink{classKite_1_1SegmentAction_a1d1cfd8ffb84e947f82999c682b666a7}{Segment\-Action\-::\-Type}. \index{Other\-Ripup\-Perpand\-And\-Packing@{Other\-Ripup\-Perpand\-And\-Packing}!Kite\-::\-Segment\-Action@{Kite\-::\-Segment\-Action}}\index{Kite\-::\-Segment\-Action@{Kite\-::\-Segment\-Action}!Other\-Ripup\-Perpand\-And\-Packing@{Other\-Ripup\-Perpand\-And\-Packing}}\item[{\em
}]{\bfseries\mbox{[}Mask\mbox{]}}, see \hyperlink{classKite_1_1SegmentAction_a1d1cfd8ffb84e947f82999c682b666a7}{Segment\-Action\-::\-Type}. \end{description}
{\em to\-State}& The \hyperlink{classKite_1_1DataNegociate_ab7ccb6fc1f298728995250a3bbcf18c7}{Data\-Negociate\-::\-Slack\-State} into which the segment is to be set.\\
{\bfseries Returns\-:} The action to be performed. \hypertarget{classKite_1_1SegmentAction_a8dc7cdf5f643a856fa5208bcfd1f8342}{\index{Kite\-::\-Segment\-Action@{Kite\-::\-Segment\-Action}!set\-Axis\-Hint@{set\-Axis\-Hint}}
The axis preferred position to be transmitted to the generated event. The transmition will be effective {\itshape only} if the Segment\-Action\-::\-Type\-::\-Axis\-Hint flag is set. \hypertarget{classKite_1_1SegmentAction_a4e1f44319a9a0a413fe1413a87ec78bd}{\index{Kite\-::\-Segment\-Action@{Kite\-::\-Segment\-Action}!set\-Flag@{set\-Flag}}
Allow to change the action type by indivually setting up the flags. \hypertarget{classKite_1_1SegmentAction_a324f17f0f5a09b76344eb2e003695d74}{\index{Kite\-::\-Segment\-Action@{Kite\-::\-Segment\-Action}!do\-Action@{do\-Action}}