MemoryID_operators.h
Go to the documentation of this file.
1 #pragma once
2 
3 // #include "MemoryID.h"
4 
5 #include <vector>
6 #include <ostream>
7 
8 
9 namespace armarx::armem
10 {
11  class MemoryID;
12 
13  std::ostream& operator<<(std::ostream& os, const std::vector<MemoryID>& rhs);
14 
15  /// lhs.timestamp < rhs.timstamp
16  bool compareTimestamp(const MemoryID& lhs, const MemoryID& rhs);
17  /// lhs.timestamp > rhs.timstamp
18  bool compareTimestampDecreasing(const MemoryID& lhs, const MemoryID& rhs);
19 
20 }
21 
22 
armarx::armem
Definition: LegacyRobotStateMemoryAdapter.cpp:31
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:29