Ejemplo n.º 1
0
def next():
    '''Advances the current snapshot of the current simulation.
Return the new snapshot, or None if the call failed.'''
    try:
        snapshot=snap(SimBuffer.get_no_next_snapshot())
        return snapshot
    except BufferException as e:
        handle(e)