EMANE  1.2.1
EMANE::Events::TDMAScheduleEvent Class Reference

#include <tdmascheduleevent.h>

Inheritance diagram for EMANE::Events::TDMAScheduleEvent:
EMANE::Event EMANE::Serializable

Public Types

enum  { IDENTIFIER = EMANE_EVENT_TDMA_SCHEDULE }
 
using Frequencies = std::set< uint64_t >
 

Public Member Functions

 TDMAScheduleEvent (const Serialization &serialization)
 
 ~TDMAScheduleEvent ()
 
const SlotInfosgetSlotInfos () const
 
const FrequenciesgetFrequencies () const
 
std::pair< const SlotStructure &, bool > getSlotStructure () const
 
EventId getEventId () const
 
virtual Serialization serialize () const
 

Detailed Description

Definition at line 47 of file tdmascheduleevent.h.

Member Typedef Documentation

◆ Frequencies

Definition at line 50 of file tdmascheduleevent.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
IDENTIFIER 

Definition at line 75 of file tdmascheduleevent.h.

Constructor & Destructor Documentation

◆ TDMAScheduleEvent()

EMANE::Events::TDMAScheduleEvent::TDMAScheduleEvent ( const Serialization serialization)

Creates a TDMAScheduleEvent instance from a serialization

Parameters
serializationMessage serialization
Exceptions
SerializationExceptionwhen a valid message cannot be de-serialized

Definition at line 330 of file tdmascheduleevent.cc.

◆ ~TDMAScheduleEvent()

EMANE::Events::TDMAScheduleEvent::~TDMAScheduleEvent ( )

Destroys an instance

Definition at line 334 of file tdmascheduleevent.cc.

Member Function Documentation

◆ getEventId()

EventId EMANE::Event::getEventId ( ) const
inlineinherited

Gets the event id

Returns
event id

Definition at line 59 of file event.h.

◆ getFrequencies()

const EMANE::Events::TDMAScheduleEvent::Frequencies & EMANE::Events::TDMAScheduleEvent::getFrequencies ( ) const

Definition at line 343 of file tdmascheduleevent.cc.

◆ getSlotInfos()

const EMANE::Events::SlotInfos & EMANE::Events::TDMAScheduleEvent::getSlotInfos ( ) const

Definition at line 336 of file tdmascheduleevent.cc.

◆ getSlotStructure()

std::pair< const EMANE::Events::SlotStructure &, bool > EMANE::Events::TDMAScheduleEvent::getSlotStructure ( ) const

Definition at line 349 of file tdmascheduleevent.cc.

◆ serialize()


The documentation for this class was generated from the following files: