Skip to content

Commit

Permalink
make timestring member static
Browse files Browse the repository at this point in the history
Signed-off-by: Timm Ruppert <[email protected]>
  • Loading branch information
TimmRuppert committed Nov 13, 2024
1 parent 9c34b88 commit a03469d
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions include/osi-utilities/tracefile/writer/MCAPTraceFileWriter.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@ class MCAPTraceFileWriter final : public osi3::TraceFileWriter {
uint16_t AddChannel(const std::string& topic, const google::protobuf::Descriptor* descriptor, std::unordered_map<std::string, std::string> channel_metadata = {});

/**
* @brief Helper function that returns the current time as a formatted string
* @return Current timestamp as string in ISO 8601 format
*
* This helper function is intended to be used when creating metadata entries
* that require timestamps, particularly for the OSI-specification mandatory metadata.
* The timestamp format follows ISO 8601 standards for consistent
* time representation across the MCAP file.
*/
std::string GetCurrentTimeAsString();
* @brief Helper function that returns the current time as a formatted string
* @return Current timestamp as string in ISO 8601 format
*
* This helper function is intended to be used when creating metadata entries
* that require timestamps, particularly for the OSI-specification mandatory metadata.
* The timestamp format follows ISO 8601 standards for consistent
* time representation across the MCAP file.
*/
static std::string GetCurrentTimeAsString();

void Close() override;

Expand Down

0 comments on commit a03469d

Please sign in to comment.