Inkscape
Vector Graphics Editor
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages Concepts
Avoid::ActionInfo Class Reference

#include <actioninfo.h>

Public Member Functions

 ActionInfo (ActionType t, ShapeRef *s, const Polygon &p, bool fM)
 
 ActionInfo (ActionType t, ShapeRef *s)
 
 ActionInfo (ActionType t, JunctionRef *j, const Point &p)
 
 ActionInfo (ActionType t, JunctionRef *j)
 
 ActionInfo (ActionType t, ConnRef *c)
 
 ActionInfo (ActionType t, ShapeConnectionPin *p)
 
 ~ActionInfo ()
 
Obstacleobstacle (void) const
 
ShapeRefshape (void) const
 
ConnRefconn (void) const
 
JunctionRefjunction (void) const
 
void addConnEndUpdate (const unsigned int type, const ConnEnd &connEnd, bool isConnPinMoveUpdate)
 
bool operator== (const ActionInfo &rhs) const
 
bool operator< (const ActionInfo &rhs) const
 

Public Attributes

ActionType type
 
void * objPtr
 
Polygon newPoly
 
Point newPosition
 
bool firstMove
 
ConnUpdateList conns
 

Detailed Description

Definition at line 59 of file actioninfo.h.

Constructor & Destructor Documentation

◆ ActionInfo() [1/6]

Avoid::ActionInfo::ActionInfo ( ActionType  t,
ShapeRef s,
const Polygon p,
bool  fM 
)

Definition at line 36 of file actioninfo.cpp.

References Avoid::ShapeMove, and type.

◆ ActionInfo() [2/6]

Avoid::ActionInfo::ActionInfo ( ActionType  t,
ShapeRef s 
)

Definition at line 46 of file actioninfo.cpp.

References Avoid::ShapeAdd, Avoid::ShapeMove, Avoid::ShapeRemove, and type.

◆ ActionInfo() [3/6]

Avoid::ActionInfo::ActionInfo ( ActionType  t,
JunctionRef j,
const Point p 
)

Definition at line 56 of file actioninfo.cpp.

References Avoid::JunctionMove, and type.

◆ ActionInfo() [4/6]

Avoid::ActionInfo::ActionInfo ( ActionType  t,
JunctionRef j 
)

Definition at line 65 of file actioninfo.cpp.

References Avoid::JunctionAdd, Avoid::JunctionMove, Avoid::JunctionRemove, and type.

◆ ActionInfo() [5/6]

Avoid::ActionInfo::ActionInfo ( ActionType  t,
ConnRef c 
)

Definition at line 73 of file actioninfo.cpp.

References Avoid::ConnChange, and type.

◆ ActionInfo() [6/6]

Avoid::ActionInfo::ActionInfo ( ActionType  t,
ShapeConnectionPin p 
)

Definition at line 81 of file actioninfo.cpp.

References Avoid::ConnectionPinChange, and type.

◆ ~ActionInfo()

Avoid::ActionInfo::~ActionInfo ( )

Definition at line 89 of file actioninfo.cpp.

Member Function Documentation

◆ addConnEndUpdate()

void Avoid::ActionInfo::addConnEndUpdate ( const unsigned int  type,
const ConnEnd connEnd,
bool  isConnPinMoveUpdate 
)

Definition at line 121 of file actioninfo.cpp.

References conn(), conns, and type.

◆ conn()

ConnRef * Avoid::ActionInfo::conn ( void  ) const

Definition at line 109 of file actioninfo.cpp.

References Avoid::ConnChange, objPtr, and type.

Referenced by addConnEndUpdate(), operator<(), and Avoid::Router::processActions().

◆ junction()

JunctionRef * Avoid::ActionInfo::junction ( void  ) const

Definition at line 115 of file actioninfo.cpp.

References obstacle().

Referenced by Avoid::Router::processActions().

◆ obstacle()

Obstacle * Avoid::ActionInfo::obstacle ( void  ) const

◆ operator<()

bool Avoid::ActionInfo::operator< ( const ActionInfo rhs) const

◆ operator==()

bool Avoid::ActionInfo::operator== ( const ActionInfo rhs) const

Definition at line 155 of file actioninfo.cpp.

References objPtr, and type.

◆ shape()

ShapeRef * Avoid::ActionInfo::shape ( void  ) const

Definition at line 103 of file actioninfo.cpp.

References obstacle().

Referenced by Avoid::Router::processActions().

Member Data Documentation

◆ conns

ConnUpdateList Avoid::ActionInfo::conns

◆ firstMove

bool Avoid::ActionInfo::firstMove

Definition at line 81 of file actioninfo.h.

Referenced by Avoid::Router::processActions().

◆ newPoly

Polygon Avoid::ActionInfo::newPoly

Definition at line 79 of file actioninfo.h.

Referenced by Avoid::Router::processActions().

◆ newPosition

Point Avoid::ActionInfo::newPosition

Definition at line 80 of file actioninfo.h.

Referenced by Avoid::Router::processActions().

◆ objPtr

void* Avoid::ActionInfo::objPtr

Definition at line 78 of file actioninfo.h.

Referenced by conn(), obstacle(), operator<(), and operator==().

◆ type


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