Navigation
Unreal Engine C++ API Reference > Plugins > DMXProtocol > IO
Inheritance Hierarchy
- FDMXPort
- FTickableGameObject
- FDMXInputPort
References
Module | DMXProtocol |
Header | /Engine/Plugins/VirtualProduction/DMX/DMXProtocol/Source/DMXProtocol/Public/IO/DMXInputPort.h |
Include | #include "IO/DMXInputPort.h" |
Syntax
class FDMXInputPort :
public FDMXPort ,
public FTickableGameObject
Remarks
Higher level abstraction of a DMX input hiding networking specific and protocol specific complexity from the game.
To input DMX into your objects, refer to DMXRawListener and DMXTickedUniverseListener.
Can only be constructed via DMXPortManger, see FDMXPortManager::CreateInputPort and FDMXPortManager::CreateInputPortFromConfig
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | CheckPriority
(
const int32 InPriority |
|
![]() |
void | ClearBuffers () |
Clears all buffers |
![]() ![]() |
FDMXInputPortSharedRef | CreateFromConfig
(
FDMXInputPortConfig& InputPortConfig |
Creates an output port tied to a specific config. Makes the config valid if it's invalid. |
![]() ![]() |
const TMap< int32, FDMXSignalSharedPtr > & | Gets all the last signal received. Game-Thread only | |
![]() |
bool | GameThreadGetDMXSignal
(
int32 LocalUniverseID, |
Gets the last signal received in specified local universe. |
![]() |
bool | GameThreadGetDMXSignalFromRemoteUniverse
(
FDMXSignalSharedPtr& OutDMXSignal, |
DEPRECATED 4.27. Gets the DMX signal from an extern (remote) Universe ID. |
![]() |
void | GameThreadInjectDMXSignal
(
const FDMXSignalSharedRef& DMXSignal |
Injects a dmx signal into the game thread. |
![]() ![]() ![]() |
TStatId | GetStatId () |
|
![]() ![]() ![]() |
ETickableTickType | ||
![]() |
void | InputDMXSignal
(
const FDMXSignalSharedRef& DMXSignal |
Thread-safe: Pushes a DMX Signal into the buffer |
![]() ![]() |
bool | Returns true if receive DMX is disabled | |
![]() ![]() ![]() |
bool | ||
![]() ![]() |
FDMXInputPortConfig | Creates a dmx input port config that corresponds to the port | |
![]() |
void | SetUseDefaultQueue
(
bool bUse |
Sets if the port should listen to its default queue. |
![]() |
void | SingleProducerInputDMXSignal
(
const FDMXSignalSharedRef& DMXSignal |
Single Producer thread-safe: Pushes a DMX Signal into the buffer (For protocol only) |
![]() ![]() |
void | Tick
(
float DeltaTime |
|
![]() |
void | UpdateFromConfig
(
FDMXInputPortConfig& InOutInputPortConfig, |
Updates the Port to use the config of the InputPortConfig. Makes the config valid if it's invalid. |
Overridden from FDMXPort
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | AddRawListener
(
TSharedRef< FDMXRawListener > InRawListener |
Adds a Raw Listener that receives all raw signals received on this port. |
![]() ![]() ![]() |
const FGuid & | GetPortGuid () |
Returns the Guid of the Port |
![]() ![]() ![]() |
bool | IsRegistered () |
~Begin DMXPort Interface declaration |
![]() ![]() |
bool | Register () |
Registers the port with its protocol. Returns true if successfully registered |
![]() ![]() |
void | RemoveRawListener
(
TSharedRef< FDMXRawListener > InRawListener |
Removes the Raw Listener from the port. Should not be used directly, instead see DMXRawListener. |
![]() ![]() |
void | Unregister () |
Unregisteres the port if it was registered with its protocol |