Navigation
API > API/Plugins > API/Plugins/DMXProtocol > API/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. | |
| void | GameThreadInjectDMXSignal
(
const FDMXSignalSharedRef& DMXSignal |
Injects a dmx signal into the game thread. | |
| void | InputDMXSignal
(
const FDMXSignalSharedRef& DMXSignal |
Thread-safe: Pushes a DMX Signal into the buffer | |
| bool | Returns true if receive DMX is disabled | ||
| 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 | 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 |
Overridden from FTickableGameObject
| Type | Name | Description | |
|---|---|---|---|
| bool | Used to determine whether the object should be ticked in the editor. |
Overridden from FTickableObjectBase
| Type | Name | Description | |
|---|---|---|---|
| TStatId | GetStatId () |
Return the stat id to use for this tickable | |
| ETickableTickType | Virtual that can be overloaded by the inheriting class. | ||
| void | Tick
(
float DeltaTime |
Pure virtual that must be overloaded by the inheriting class. |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | GameThreadGetDMXSignalFromRemoteUniverse
(
FDMXSignalSharedPtr& OutDMXSignal, |
Use GameThreadGetDMXSignal instead. GameThreadGetDMXSignalFromRemoteUniverse only exists to support deprecated blueprint nodes. | |
| void | SingleProducerInputDMXSignal
(
const FDMXSignalSharedRef& DMXSignal |
Input ports now support multiple producers. Use InputDMXSignal instead. |