EMANE  1.2.1
EMANE::Events::AntennaProfileEvent Class Reference

An antenna profile event is used to set the antenna profile selection and pointing information for one or more NEMs. More...

#include <antennaprofileevent.h>

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

Public Types

enum  { IDENTIFIER = EMANE_EVENT_ANTENNA_PROFILE }
 

Public Member Functions

 AntennaProfileEvent (const Serialization &serialization)
 
 AntennaProfileEvent (const AntennaProfiles &antennaProfiles)
 
 AntennaProfileEvent (const AntennaProfileEvent &rhs)
 
AntennaProfileEventoperator= (const AntennaProfileEvent &rhs)
 
 AntennaProfileEvent (AntennaProfileEvent &&rval)
 
AntennaProfileEventoperator= (AntennaProfileEvent &&rval)
 
 ~AntennaProfileEvent ()
 
Serialization serialize () const override
 
const AntennaProfilesgetAntennaProfiles () const
 
EventId getEventId () const
 

Detailed Description

An antenna profile event is used to set the antenna profile selection and pointing information for one or more NEMs.

Definition at line 52 of file antennaprofileevent.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
IDENTIFIER 

Definition at line 118 of file antennaprofileevent.h.

Constructor & Destructor Documentation

◆ AntennaProfileEvent() [1/4]

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

Creates an AntennaProfileEvent instance from a serialization

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

Definition at line 52 of file antennaprofileevent.cc.

◆ AntennaProfileEvent() [2/4]

EMANE::Events::AntennaProfileEvent::AntennaProfileEvent ( const AntennaProfiles antennaProfiles)

Creates an AntennaProfileEvent instance

Parameters
antennaProfilesOne or more AntennaProfile instances

Definition at line 75 of file antennaprofileevent.cc.

◆ AntennaProfileEvent() [3/4]

EMANE::Events::AntennaProfileEvent::AntennaProfileEvent ( const AntennaProfileEvent rhs)

Creates an AntennaProfileEvent by copy

Parameters
rhsInstance to copy

Definition at line 79 of file antennaprofileevent.cc.

◆ AntennaProfileEvent() [4/4]

EMANE::Events::AntennaProfileEvent::AntennaProfileEvent ( AntennaProfileEvent &&  rval)

Creates an AntennaProfileEvent by moving

Parameters
rvalInstance to move

Definition at line 89 of file antennaprofileevent.cc.

◆ ~AntennaProfileEvent()

EMANE::Events::AntennaProfileEvent::~AntennaProfileEvent ( )

Destroys an instance

Definition at line 102 of file antennaprofileevent.cc.

Member Function Documentation

◆ getAntennaProfiles()

const EMANE::Events::AntennaProfiles & EMANE::Events::AntennaProfileEvent::getAntennaProfiles ( ) const

Gets the antenna profile entries

Returns
antenna profile entries

Definition at line 104 of file antennaprofileevent.cc.

◆ getEventId()

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

Gets the event id

Returns
event id

Definition at line 59 of file event.h.

◆ operator=() [1/2]

EMANE::Events::AntennaProfileEvent & EMANE::Events::AntennaProfileEvent::operator= ( const AntennaProfileEvent rhs)

Sets an AntennaProfileEvent by copy

Parameters
rhsInstance to copy

Definition at line 83 of file antennaprofileevent.cc.

◆ operator=() [2/2]

EMANE::Events::AntennaProfileEvent & EMANE::Events::AntennaProfileEvent::operator= ( AntennaProfileEvent &&  rval)

Sets an AntennaProfileEvent by moving

Parameters
rvalInstance to move

Definition at line 96 of file antennaprofileevent.cc.

◆ serialize()

EMANE::Serialization EMANE::Events::AntennaProfileEvent::serialize ( ) const
overridevirtual

Serializes the instance

Exceptions
SerializationExceptionif the instance cannot be serialized

Reimplemented from EMANE::Serializable.

Definition at line 109 of file antennaprofileevent.cc.


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