Class NewClassInstanceWatcher
- java.lang.Object
-
- laas.openrobots.ontology.modules.events.GenericWatcher
-
- laas.openrobots.ontology.modules.events.NewClassInstanceWatcher
-
- All Implemented Interfaces:
IWatcher
- Direct Known Subclasses:
AgentWatcher
public class NewClassInstanceWatcher extends GenericWatcher
This class specializesGenericWatcher
to easily create event watchers that monitor new instances of a given class. SeeAgentWatcher
for an example.- See Also:
GenericWatcher
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface laas.openrobots.ontology.modules.events.IWatcher
IWatcher.EventType, IWatcher.TriggeringType
-
-
Field Summary
-
Fields inherited from class laas.openrobots.ontology.modules.events.GenericWatcher
clients, eventPattern, eventType, triggeringType, watcherId
-
-
Constructor Summary
Constructors Constructor Description NewClassInstanceWatcher(java.lang.String classToWatch, IEventConsumer o)
-
Method Summary
-
Methods inherited from class laas.openrobots.ontology.modules.events.GenericWatcher
addSubscriber, equals, getId, getPatternType, getTriggeringType, getWatchPattern, notifySubscribers
-
-
-
-
Constructor Detail
-
NewClassInstanceWatcher
public NewClassInstanceWatcher(java.lang.String classToWatch, IEventConsumer o)
-
-