|
Project: bml_realizer License: BSD Dependencies:
Used by:
None |
edu::wpi::hri::bml::net::PetriPart Class Reference
Inheritance diagram for edu::wpi::hri::bml::net::PetriPart:
![]()
Detailed DescriptionThe PetriPart class is responsible for holding information relevant for each and every type of part in a Petri net. Definition at line 50 of file PetriPart.java. Constructor & Destructor Documentation
Create a new part and therefore the thread that is needed to run.
Definition at line 67 of file PetriPart.java. Member Function Documentation
This method must implement the check of waiting for "all" previous parts. If a part does not need to wait for all, but instead one, it should return true upon the first input.
Implemented in edu::wpi::hri::bml::net::Place, and edu::wpi::hri::bml::net::Transition.
This method will only execute once for each part. The implementation should ensure that the actions which are specific to this part are performed. The exception that can be thrown signals whether the Petri net is allowed to continue or if an error has occurred. Implemented in edu::wpi::hri::bml::net::BehaviorPlace, edu::wpi::hri::bml::net::TimedPlace, and edu::wpi::hri::bml::net::Transition.
Implemented in edu::wpi::hri::bml::net::Place, and edu::wpi::hri::bml::net::Transition.
Attempt to wait for the ending of this part Reimplemented in edu::wpi::hri::bml::net::BehaviorPlace. Definition at line 181 of file PetriPart.java.
Definition at line 106 of file PetriPart.java.
Tell the subclass to send all of the tokens. This should call the sendSignalTo method. Implemented in edu::wpi::hri::bml::net::Place, and edu::wpi::hri::bml::net::Transition.
This method is a helper for the subclasses to send tokens to all of the next parts.
Definition at line 158 of file PetriPart.java.
Definition at line 114 of file PetriPart.java.
Attempt to start this place. If there are no outstanding tokens that are required, the place will begin to execute. Definition at line 170 of file PetriPart.java.
Let the subclass know that a token has been received from the given part.
Implemented in edu::wpi::hri::bml::net::Place, and edu::wpi::hri::bml::net::Transition. Member Data Documentation
Definition at line 52 of file PetriPart.java.
Definition at line 55 of file PetriPart.java.
Reimplemented in edu::wpi::hri::bml::net::BehaviorPlace. Definition at line 54 of file PetriPart.java.
Definition at line 53 of file PetriPart.java. The documentation for this class was generated from the following file:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||