com::cosylab::acs::maci::manager::ComponentInfoTopologicalSort::ComponentInfoVertex Class Reference

Collaboration diagram for com::cosylab::acs::maci::manager::ComponentInfoTopologicalSort::ComponentInfoVertex:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ComponentInfoVertex (ComponentInfo componentInfo, int order, boolean immortalChain)
void decrementIndegree ()
int compareTo (Object obj)
ComponentInfo getComponentInfo ()
int getIndegree ()

Private Attributes

ComponentInfo componentInfo
int indegree = 0
int order

Static Private Attributes

static final int IMMORTAL_CREDIT = Integer.MAX_VALUE / 2

Detailed Description

Wrapper class around ComponentInfo.


Constructor & Destructor Documentation

com::cosylab::acs::maci::manager::ComponentInfoTopologicalSort::ComponentInfoVertex::ComponentInfoVertex ( ComponentInfo  componentInfo,
int  order,
boolean  immortalChain 
) [inline]

Constructor.

Parameters:
componentInfo instance to wrap.

References com::cosylab::acs::maci::ComponentInfo::getClients(), IMMORTAL_CREDIT, indegree, and com::cosylab::acs::maci::IntArray::toArray().


Member Function Documentation

int com::cosylab::acs::maci::manager::ComponentInfoTopologicalSort::ComponentInfoVertex::compareTo ( Object  obj  )  [inline]
void com::cosylab::acs::maci::manager::ComponentInfoTopologicalSort::ComponentInfoVertex::decrementIndegree (  )  [inline]

Decrement (remove) one dependecy.

References indegree.

Referenced by com::cosylab::acs::maci::manager::ComponentInfoTopologicalSort::extract().

ComponentInfo com::cosylab::acs::maci::manager::ComponentInfoTopologicalSort::ComponentInfoVertex::getComponentInfo (  )  [inline]
int com::cosylab::acs::maci::manager::ComponentInfoTopologicalSort::ComponentInfoVertex::getIndegree (  )  [inline]
Returns:
Returns the indegree.

References indegree.


Member Data Documentation

ComponentInfo instance itself.

Referenced by getComponentInfo().

Immortal credit (to increase indregree). Such components should be released after all non-importal components which are not subcomponents of moral components.

Referenced by ComponentInfoVertex().

Indegree (dependency) count.

Referenced by compareTo(), ComponentInfoVertex(), decrementIndegree(), and getIndegree().

Activation order (position). Used to reconstruct reverse deactivation order.

Referenced by compareTo().


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

Generated by  doxygen 1.6.2