EMANE  1.2.1
EMANE::Events::FadingSelectionEvent Class Reference

An fading selection event is used to set the fading model for one or more NEMs. More...

#include <fadingselectionevent.h>

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

Public Types

enum  { IDENTIFIER = EMANE_EVENT_FADING_SELECTION }
 

Public Member Functions

 FadingSelectionEvent (const Serialization &serialization)
 
 FadingSelectionEvent (const FadingSelections &fadingSelections)
 
 FadingSelectionEvent (const FadingSelectionEvent &rhs)
 
FadingSelectionEventoperator= (const FadingSelectionEvent &rhs)
 
 FadingSelectionEvent (FadingSelectionEvent &&rval)
 
FadingSelectionEventoperator= (FadingSelectionEvent &&rval)
 
 ~FadingSelectionEvent ()
 
Serialization serialize () const override
 
const FadingSelectionsgetFadingSelections () const
 
EventId getEventId () const
 

Detailed Description

An fading selection event is used to set the fading model for one or more NEMs.

Definition at line 52 of file fadingselectionevent.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
IDENTIFIER 

Definition at line 118 of file fadingselectionevent.h.

Constructor & Destructor Documentation

◆ FadingSelectionEvent() [1/4]

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

Creates an FadingSelectionEvent instance from a serialization

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

Definition at line 52 of file fadingselectionevent.cc.

◆ FadingSelectionEvent() [2/4]

EMANE::Events::FadingSelectionEvent::FadingSelectionEvent ( const FadingSelections fadingSelections)

Creates an FadingSelectionEvent instance

Parameters
fadingSelectionsOne or more FadingSelection instances

Definition at line 86 of file fadingselectionevent.cc.

◆ FadingSelectionEvent() [3/4]

EMANE::Events::FadingSelectionEvent::FadingSelectionEvent ( const FadingSelectionEvent rhs)

Creates an FadingSelectionEvent by copy

Parameters
rhsInstance to copy

Definition at line 90 of file fadingselectionevent.cc.

◆ FadingSelectionEvent() [4/4]

EMANE::Events::FadingSelectionEvent::FadingSelectionEvent ( FadingSelectionEvent &&  rval)

Creates an FadingSelectionEvent by moving

Parameters
rvalInstance to move

Definition at line 100 of file fadingselectionevent.cc.

◆ ~FadingSelectionEvent()

EMANE::Events::FadingSelectionEvent::~FadingSelectionEvent ( )

Destroys an instance

Definition at line 113 of file fadingselectionevent.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.

◆ getFadingSelections()

const EMANE::Events::FadingSelections & EMANE::Events::FadingSelectionEvent::getFadingSelections ( ) const

Gets the fading selection entries

Returns
fading selection entries

Definition at line 115 of file fadingselectionevent.cc.

◆ operator=() [1/2]

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

Sets an FadingSelectionEvent by copy

Parameters
rhsInstance to copy

Definition at line 94 of file fadingselectionevent.cc.

◆ operator=() [2/2]

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

Sets an FadingSelectionEvent by moving

Parameters
rvalInstance to move

Definition at line 107 of file fadingselectionevent.cc.

◆ serialize()

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

Serializes the instance

Exceptions
SerializationExceptionif the instance cannot be serialized

Reimplemented from EMANE::Serializable.

Definition at line 120 of file fadingselectionevent.cc.


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