uint32_t m_uid
The unique id.
Smart pointer class similar to boost::intrusive_ptr.
#define NS_LOG_FUNCTION(parameters)
If log level LOG_FUNCTION is enabled, this macro will output all input parameters separated by "...
ns3::EventImpl declarations.
uint64_t m_ts
The virtual time stamp.
U * PeekPointer(const Ptr< U > &p)
#define NS_LOG_COMPONENT_DEFINE(name)
Define a Log component with a specific name.
static void Cancel(const EventId &id)
Set the cancel bit on this event: the event's associated function will not be invoked when it expires...
bool IsRunning(void) const
This method is syntactic sugar for !IsExpired().
ns3::Simulator declaration.
EventImpl * PeekEventImpl(void) const
EventId()
Default constructor.
uint32_t GetUid(void) const
Ptr< EventImpl > m_eventImpl
The underlying event implementation.
bool operator!=(Callback< R, T1, T2, T3, T4, T5, T6, T7, T8, T9 > a, Callback< R, T1, T2, T3, T4, T5, T6, T7, T8, T9 > b)
Inequality test.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
static bool IsExpired(const EventId &id)
Check if an event has already run or been cancelled.
An identifier for simulation events.
bool operator==(const EventId &a, const EventId &b)
void Cancel(void)
This method is syntactic sugar for the ns3::Simulator::Cancel method.
uint32_t GetContext(void) const
bool IsExpired(void) const
This method is syntactic sugar for the ns3::Simulator::IsExpired method.
ns3::EventId declarations.
uint64_t GetTs(void) const
uint32_t m_context
The context.