RtjAocsFramework.ObjectMonitoring
Class TestPropertyMonitor
java.lang.Object
|
+--RtjAocsFramework.ObjectMonitoring.TestPropertyMonitor
- All Implemented Interfaces:
- PropertyMonitor
- public class TestPropertyMonitor
- extends Object
- implements PropertyMonitor
Dummy object used as a property monitor for testing purposes. Whenever its
propertyChange method is called, it increments a counter.
Copyright: see the Copyright Notice.
- Version:
- 1.0
- Author:
- Alessandro Pasetti (University of Konstanz)
- See Also:
PropertyMonitor,
The Object Monitoring Document.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestPropertyMonitor
public TestPropertyMonitor()
propertyChange
public void propertyChange(Monitorable monitoredObject,
int propertyIndex,
ChangeObject changeObject)
- Description copied from interface:
PropertyMonitor
- Call-back method that is called by the monitored object when its
monitored property undergoes the change specified by changeObject.
- Specified by:
propertyChange in interface PropertyMonitor
- Parameters:
propertyIndex - the index of the property that has undergone the
changechangeObject - the change object that was used to filter the
property value and that triggered the change
getNotificationCounter
public int getNotificationCounter()
Real-Time Java AOCS Framework project home page
Automatic Control Laboratory, ETH Zuerich
Physikstrasse 3
CH-8092 Zuerich, Switzerland