Skip to content

Dependency between ClockManager and Clocks #88

Description

@pictavien

Hi,

Clock objects contain a reference to a ClockManager. The only usage of this reference is
the invocation of the onClock method on the ClockManager. Is there a reason to not replace
the ClockManager by a ClockListener ?
With this abstraction we could build adapters/wrappers around an existing Clock class (for testing for instance).

Another enhancement could be to replace the use of a Clock class by an instance. That could allows to have parametrized clocks.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions