isGenerated

This commit is contained in:
David Rose 2003-07-15 21:08:20 +00:00
parent 8e6fc1d0ff
commit 5e82884821
1 changed files with 7 additions and 0 deletions

View File

@ -155,6 +155,13 @@ class DistributedObject(PandaObject):
"""
return (self.activeState < ESGenerating)
def isGenerated(self):
"""isGenerated(self)
Returns true if the object has been fully generated by now,
and not yet disabled.
"""
return (self.activeState == ESGenerated)
def delete(self):
"""delete(self)
Inheritors should redefine this to take appropriate action on delete