Nebula
Loading...
Searching...
No Matches
id.h
Go to the documentation of this file.
1#pragma once
2//------------------------------------------------------------------------------
13#include "core/types.h"
14
15//------------------------------------------------------------------------------
16namespace Messaging
17{
18class Id
19{
20public:
22 Id();
24 bool operator==(const Id& rhs) const;
25};
26
27//------------------------------------------------------------------------------
30inline
32{
33 // empty
34}
35
36//------------------------------------------------------------------------------
39inline
40bool
41Id::operator==(const Id& rhs) const
42{
43 return (this == &rhs);
44}
45
46} // namespace Messaging
47//------------------------------------------------------------------------------
A message identifier.
Definition id.h:19
bool operator==(const Id &rhs) const
equality operator
Definition id.h:41
Id()
constructor
Definition id.h:31
Definition asyncport.cc:10