IDMXProtocol

Generic protocol interface, it should be inherited by all protocol implementations.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

DMXProtocol

Header

/Engine/Plugins/Experimental/DigitalMultiplex/DMXProtocol/Source/DMXProtocol/Public/Interfaces/IDMXProtocol.h

Include

#include "Interfaces/IDMXProtocol.h"

Syntax

class IDMXProtocol :
    public IDMXProtocolBase,
    public IDMXProtocolRDM

Remarks

Generic protocol interface, it should be inherited by all protocol implementations.

Functions

Name Description

Public function

TSharedPtr< ...

 

AddUniverse

(
    const FJsonObject& InSettings
)

Add universe to the manager

Public function

void

 

CollectUniverses

(
    const TArray< FDMXUniverse >& Univ...
)

Collects the universes related to a UniverseManger Entity and add them to the protocol to be used for communication.

Public function Static

IDMXProtocol...

 

Get

(
    const FName& ProtocolName
)

If protocol exists return the pointer otherwise it create a new protocol first and then return the pointer.

Public function Const

uint16

 

GetFinalSendUniverseID

(
    uint16 InUniverseID
)

Gets the final protocol universe ID to send This is implemented protocol-specific offset

Public function Static

FName

 

GetFirstProtocolName()

Public function Const

uint16

 

GetMaxUniverses()

Get maximum supported universes in protocol

Public function Const

uint16

 

GetMinUniverseID()

Get minimum supported universe ID for protocol

Public function

FOnUniverseI...

 

GetOnUniverseInputUpdate()

Public function Static

const TMap< ...

 

GetProtocolFactories()

Public function Const

const FName ...

 

GetProtocolName()

Get the Protocol Name

Public function Static

const TArray...

 

GetProtocolNames()

Public function Static

const TMap< ...

 

GetProtocols()

Public function Const

TSharedPtr< ...

 

GetSenderInterface()

Get the Protocol Sender Interface Sender interface holds the functionality to queue and physically send the DMX buffer

Public function Const

TSharedPtr< ...

 

GetSettings()

Get the protocol settings

Public function Const

TSharedPtr< ...

 

GetUniverseById

(
    uint32 InUniverseId
)

Getting Universe from the Protocol Universe Manager.

Public function Const

uint32

 

GetUniversesNum()

Get current amount of universes in the Map

Public function Const

bool

 

IsEnabled()

Whether protocol enabled

Public function

void

 

RemoveAllUniverses()

Remove all universes from protocol manager

Public function

bool

 

RemoveUniverseById

(
    uint32 InUniverseId
)

Remove Universe from the Protocol Universe Manager.

Public function

EDMXSendResu...

 

SendDMXFragment

(
    uint16 UniverseID,
    const IDMXFragmentMap& DMXFragment
)

Sets the DMX fragment for a particular universe

Public function

EDMXSendResu...

 

SendDMXFragmentCreate

(
    uint16 UniverseID,
    const IDMXFragmentMap& DMXFragment
)

Sets the DMX fragment for a particular universe Create protocol Universe if it does not exist

Classes

Name

Description

Public class

FOnUniverseInputUpdateEvent

Called on input universe. Parameters represent: Protocol Name, UniverseID and Buffer

Constants

Name

Description

OnNetworkInterfaceChanged

IDMXProtocol.h static declarations

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss