MemoryID_operators.h
Go to the documentation of this file.
1 #pragma once
2 
3 // #include "MemoryID.h"
4 
5 #include <ostream>
6 #include <vector>
7 
8 namespace armarx::armem
9 {
10  class MemoryID;
11 
12  std::ostream& operator<<(std::ostream& os, const std::vector<MemoryID>& rhs);
13 
14  /// lhs.timestamp < rhs.timstamp
15  bool compareTimestamp(const MemoryID& lhs, const MemoryID& rhs);
16  /// lhs.timestamp > rhs.timstamp
17  bool compareTimestampDecreasing(const MemoryID& lhs, const MemoryID& rhs);
18 
19 } // namespace armarx::armem
armarx::armem
Definition: LegacyRobotStateMemoryAdapter.cpp:32
armarx::armem::operator<<
std::ostream & operator<<(std::ostream &os, const EntityUpdate &rhs)
Definition: Commit.cpp:13
armarx::armem::compareTimestamp
bool compareTimestamp(const MemoryID &lhs, const MemoryID &rhs)
lhs.timestamp < rhs.timstamp
Definition: MemoryID_operators.cpp:17
armarx::armem::compareTimestampDecreasing
bool compareTimestampDecreasing(const MemoryID &lhs, const MemoryID &rhs)
lhs.timestamp > rhs.timstamp
Definition: MemoryID_operators.cpp:23
armarx::human::MemoryID
const armem::MemoryID MemoryID
Definition: memory_ids.cpp:28