|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthmi.bml.parser.BMLParser
public class BMLParser
This is the scheduler. It can be fed with objects of the type BehaviourBlock. Scheduling is divided in two parts: resolving full ids of all BML-elements and actually shift the behaviours so the constraints are met.
| Field Summary | |
|---|---|
private ArrayList<BehaviourBlock> |
bbs
|
private HashMap<String,BMLElement> |
BMLElementsById
|
private ArrayList<Constraint> |
constraints
|
private static org.slf4j.Logger |
logger
|
| Constructor Summary | |
|---|---|
BMLParser()
|
|
| Method Summary | |
|---|---|
void |
addBehaviourBlock(BehaviourBlock bb)
Adds a behavior block. |
void |
clear()
clear all behaviors from the scheduler |
void |
constructConstraint(SyncPoint left,
SyncPoint right)
|
private void |
constructConstraints(BehaviourBlock bb)
This method constructs constraints synchronization points. |
void |
constructConstraints(String bbId,
Behaviour behaviour)
|
void |
constructConstraints(String bbId,
Synchronize synchronize)
|
ArrayList<BehaviourBlock> |
getBehaviourBlocks()
|
ArrayList<Behaviour> |
getBehaviours()
Herwin: a bit of a hack, gets the behaviors in order of XML processing, to be used for SmartBody reference schedular |
BMLElement |
getBMLElementById(String id)
|
ArrayList<Constraint> |
getConstraints()
|
void |
registerBMLElement(BMLElement element,
Breadcrumb breadcrumb)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private ArrayList<BehaviourBlock> bbs
private HashMap<String,BMLElement> BMLElementsById
private ArrayList<Constraint> constraints
private static org.slf4j.Logger logger
| Constructor Detail |
|---|
public BMLParser()
| Method Detail |
|---|
public void clear()
public void addBehaviourBlock(BehaviourBlock bb)
bb - private void constructConstraints(BehaviourBlock bb)
bb -
public void constructConstraints(String bbId,
Behaviour behaviour)
public void constructConstraints(String bbId,
Synchronize synchronize)
public void constructConstraint(SyncPoint left,
SyncPoint right)
public void registerBMLElement(BMLElement element,
Breadcrumb breadcrumb)
public BMLElement getBMLElementById(String id)
public ArrayList<Constraint> getConstraints()
public ArrayList<Behaviour> getBehaviours()
public ArrayList<BehaviourBlock> getBehaviourBlocks()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||