Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

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

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.


Member Function Documentation

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

See also:
java.lang.Comparable#compareTo(java.lang.Object)

void com::cosylab::acs::maci::manager::ComponentInfoTopologicalSort::ComponentInfoVertex::decrementIndegree  )  [inline]
 

Decrement (remove) one dependecy.

ComponentInfo com::cosylab::acs::maci::manager::ComponentInfoTopologicalSort::ComponentInfoVertex::getComponentInfo  )  [inline]
 

Get wraped instance of ComponentInfo.

Returns:
returns the componentInfo.

int com::cosylab::acs::maci::manager::ComponentInfoTopologicalSort::ComponentInfoVertex::getIndegree  )  [inline]
 

Returns:
Returns the indegree.


Member Data Documentation

ComponentInfo com::cosylab::acs::maci::manager::ComponentInfoTopologicalSort::ComponentInfoVertex::componentInfo [private]
 

ComponentInfo instance itself.

final int com::cosylab::acs::maci::manager::ComponentInfoTopologicalSort::ComponentInfoVertex::IMMORTAL_CREDIT = Integer.MAX_VALUE / 2 [static, private]
 

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

int com::cosylab::acs::maci::manager::ComponentInfoTopologicalSort::ComponentInfoVertex::indegree = 0 [private]
 

Indegree (dependency) count.

int com::cosylab::acs::maci::manager::ComponentInfoTopologicalSort::ComponentInfoVertex::order [private]
 

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


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 03:11:20 2009 for ACS Java API by doxygen 1.3.8