Skip to content

Adds the concept of DataSource to Amphion #81

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 24 commits into from
Feb 12, 2020
Merged

Conversation

tocttou
Copy link
Contributor

@tocttou tocttou commented Dec 17, 2019

export abstract class DataSource<T> {
  abstract createdAt: Date = new Date();
  abstract hasMemory: boolean;
  abstract resume: () => DataSourceAction;
  abstract pause: () => DataSourceAction;
  abstract addListener: (listener: Listener<T>) => DataSourceAction;
  abstract removeListener: (listener: Listener<T>) => DataSourceAction;
  abstract removeAllListeners: () => DataSourceAction;
}

@tocttou tocttou marked this pull request as ready for review January 10, 2020 07:34
@tocttou tocttou requested a review from seadeep42 January 10, 2020 07:34
@rapyuta-robotics rapyuta-robotics deleted a comment from lgtm-com bot Jan 15, 2020
@rapyuta-robotics rapyuta-robotics deleted a comment from lgtm-com bot Jan 15, 2020
@rapyuta-robotics rapyuta-robotics deleted a comment from lgtm-com bot Jan 15, 2020
@rapyuta-robotics rapyuta-robotics deleted a comment from lgtm-com bot Jan 15, 2020
@rapyuta-robotics rapyuta-robotics deleted a comment from lgtm-com bot Jan 15, 2020
@rapyuta-robotics rapyuta-robotics deleted a comment from lgtm-com bot Jan 15, 2020
@rapyuta-robotics rapyuta-robotics deleted a comment from lgtm-com bot Jan 15, 2020
@rapyuta-robotics rapyuta-robotics deleted a comment from lgtm-com bot Jan 15, 2020
@rapyuta-robotics rapyuta-robotics deleted a comment from lgtm-com bot Jan 15, 2020
@rapyuta-robotics rapyuta-robotics deleted a comment from lgtm-com bot Jan 15, 2020
@rapyuta-robotics rapyuta-robotics deleted a comment from lgtm-com bot Jan 15, 2020
@rapyuta-robotics rapyuta-robotics deleted a comment from lgtm-com bot Jan 15, 2020
@rapyuta-robotics rapyuta-robotics deleted a comment from lgtm-com bot Jan 15, 2020
@rapyuta-robotics rapyuta-robotics deleted a comment from lgtm-com bot Jan 15, 2020
@rapyuta-robotics rapyuta-robotics deleted a comment from lgtm-com bot Jan 15, 2020
@rapyuta-robotics rapyuta-robotics deleted a comment from lgtm-com bot Jan 15, 2020
@rapyuta-robotics rapyuta-robotics deleted a comment from lgtm-com bot Jan 15, 2020
@rapyuta-robotics rapyuta-robotics deleted a comment from lgtm-com bot Jan 15, 2020
@rapyuta-robotics rapyuta-robotics deleted a comment from lgtm-com bot Jan 15, 2020
topicName: string;
messageType: string;
memory?: boolean;
compression?: 'png' | 'cbor';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO: Add cbor-raw after next release. RobotWebTools/roslibjs@0fc3d76

@seadeep42 seadeep42 merged commit be26942 into devel Feb 12, 2020
@seadeep42 seadeep42 deleted the feature/datasource branch February 12, 2020 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants