Menu

UID Class Reference

The uid describes an unique identifier. More...

#include <UID.h>

Public Member Functions

 UID ()
 UID (uint64_t uid)
 UID (const uint8_t *uid)
 UID (const char *uid)
bool operator< (const UID &a) const
bool operator== (const UID &a) const
uint8_t * tab ()
const uint8_t * tab () const
uint64_t value () const

Detailed Description

The uid describes an unique identifier.

The UID is an 64Bit unique identifier which is used for the explicit labeling of events and event channels. It represents the subject or topic of the respective entity. The value is an eight byte character array and it is interpreted thus too. This enables handling in an machine independent way because we do not need to consider different byte orders.


Constructor & Destructor Documentation

UID::UID (  )  [inline, explicit]
UID::UID ( uint64_t  uid  )  [inline, explicit]
UID::UID ( const uint8_t *  uid  )  [inline, explicit]
UID::UID ( const char *  uid  )  [inline]

Member Function Documentation

bool UID::operator< ( const UID a  )  const [inline]

References _value.

bool UID::operator== ( const UID a  )  const [inline]

References _value.

const uint8_t* UID::tab (  )  const [inline]

References _tab.


Field Documentation

uint8_t UID::_tab[8]

Referenced by tab().

uint64_t UID::_value

Referenced by operator<(), operator==(), and value().


The documentation for this class was generated from the following file:
  • include/mw/common/UID.h