Skip to content
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

Add method to query current filename from DataLogBackgroundWriter #7563

Open
TheTripleV opened this issue Dec 19, 2024 · 0 comments
Open

Add method to query current filename from DataLogBackgroundWriter #7563

TheTripleV opened this issue Dec 19, 2024 · 0 comments
Labels
component: wpiutil WPI utility library type: feature Brand new functionality, features, pages, workflows, endpoints, etc.

Comments

@TheTripleV
Copy link
Member

TheTripleV commented Dec 19, 2024

Is your feature request related to a problem? Please describe.
I want to live sync data on a coproc with rio wpilog data and want to name it on the coproc the same name as the current wpilog filename.

Describe the solution you'd like
I'd like DataLogBackgroundWriter to have a getter for WriterThreadState::filename

  /**
   * Get current log filename
   */
  std::string_view GetFilename();
  /**
   * Get current log filename
   */
  public String setFilename() {
  }
@TheTripleV TheTripleV added the type: feature Brand new functionality, features, pages, workflows, endpoints, etc. label Dec 19, 2024
@TheTripleV TheTripleV changed the title Add methods to query current filename from DatalogManager Add method to query current filename from DatalogManager Dec 19, 2024
@TheTripleV TheTripleV changed the title Add method to query current filename from DatalogManager Add method to query current filename from DataLogBackgroundWriter Dec 19, 2024
@TheTripleV TheTripleV added the component: wpiutil WPI utility library label Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: wpiutil WPI utility library type: feature Brand new functionality, features, pages, workflows, endpoints, etc.
Projects
None yet
Development

No branches or pull requests

1 participant