29 #include <boost/cstdint.hpp>
30 #include <boost/operators.hpp>
31 #include <boost/thread.hpp>
32 #include <boost/shared_ptr.hpp>
34 #include <rsc/misc/UUID.h>
35 #include <rsc/runtime/Printable.h>
37 #include "rsb/rsbexports.h"
48 class RSB_EXPORT
EventId: boost::totally_ordered<EventId>,
49 public rsc::runtime::Printable {
52 EventId(
const rsc::misc::UUID& participantId,
53 const boost::uint32_t& sequenceNumber);
56 rsc::misc::UUID getParticipantId()
const;
57 boost::uint32_t getSequenceNumber()
const;
59 rsc::misc::UUID getAsUUID()
const;
61 bool operator==(
const EventId& other)
const;
62 bool operator<(
const EventId& other)
const;
64 std::string getClassName()
const;
65 void printContents(std::ostream& stream)
const;
78 mutable rsc::misc::UUIDPtr
id;