FrameSourceWithNotify

class narupatools.frame.frame_source.FrameSourceWithNotify(*args, **kwargs)

Base class for objects which inform others when fields are made dirty.

Inheritance

Inheritance diagram of FrameSourceWithNotify

Methods

__init__

Initialize self.

get_frame

Create a FrameData representation, with the given fields present if available.

__init__(*args, **kwargs)

Initialize self. See help(type(self)) for accurate signature.

abstract get_frame(*, fields: infinite_sets.infinite_sets.InfiniteSet[str])narupa.trajectory.frame_data.FrameData

Create a FrameData representation, with the given fields present if available.

Parameters

fields – Collection of fields that should be added to FrameData if available.

Attributes

on_field_changed

on_field_changed