Project: bml_realizer

License: BSD

Dependencies:

Used by: None

All Packages

edu::wpi::hri::bml::net::TimedPlace Class Reference

Inheritance diagram for edu::wpi::hri::bml::net::TimedPlace:

List of all members.

Public Member Functions

 TimedPlace (ThreadGroup group, long delayms, Logger sublog)

Protected Member Functions

void execute () throws PetriException

Private Attributes

final long delay

Static Private Attributes

static int count = 0

Detailed Description

The TimedPlace class is used for offsets between sync points. When a sync point of something like "A+2 before B" is used, this will be the 2000 ms delay.

Author:
Aaron Holroyd (aholroyd (at) wpi (dot) edu)

Definition at line 46 of file TimedPlace.java.


Constructor & Destructor Documentation

edu::wpi::hri::bml::net::TimedPlace::TimedPlace ( ThreadGroup  group,
long  delayms,
Logger  sublog 
) [inline]

Create a new TimedPlace with the given delay in milliseconds

Parameters:
group The ThreadGroup to add this to
delayms The delay to use in milliseconds
sublog The logger to use as a base

Definition at line 62 of file TimedPlace.java.


Member Function Documentation

void edu::wpi::hri::bml::net::TimedPlace::execute (  )  throws PetriException [inline, protected, virtual]

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.

Implements edu::wpi::hri::bml::net::PetriPart.

Definition at line 69 of file TimedPlace.java.


Member Data Documentation

int edu::wpi::hri::bml::net::TimedPlace::count = 0 [static, private]

Definition at line 50 of file TimedPlace.java.

Definition at line 48 of file TimedPlace.java.


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

bml_realizer
Author(s): Aaron Holroyd (aholroyd (at) wpi (dot) edu)
autogenerated on Fri Sep 9 10:44:15 2011