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

alma::acs::genfw::runtime::sm::AcsStateUtil Class Reference

List of all members.

Static Public Member Functions

String stateHierarchyToString (AcsState[] stateHierarchy)
String stateHierarchyNamesToString (String[] stateHierarchyNames)

Detailed Description

Todo: move out of this package once we have general ACS state machine generation set up

Author:
hsommer created Apr 15, 2004 5:43:38 PM


Member Function Documentation

String alma::acs::genfw::runtime::sm::AcsStateUtil::stateHierarchyNamesToString String[]  stateHierarchyNames  )  [inline, static]
 

Concatenates the nested state names (path elements) of a substate to a String. For example, if "busy" is a substate of "operational", passing the String[] {"operational", "busy"} will return "operational/busy".

The main use of this method is to hide the "path separator" for nested states and spare an application the (admittedly not so awful) concatenation.

Parameters:
stateHierarchyNames outmost state first, nested child (leaf) state last
Returns:
concatenated hierarchical state

String alma::acs::genfw::runtime::sm::AcsStateUtil::stateHierarchyToString AcsState[]  stateHierarchy  )  [inline, static]
 


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