UZmqSensorBroadcaster¶
| Attribute | Value |
|---|---|
| Kind | Class |
| UE Macro | UCLASS |
| Inherits | UMjZmqComponent |
| Blueprint Spawnable | ✅ Yes |
Properties¶
Public Properties¶
| Property | Type | Description |
|---|---|---|
ZmqEndpoint |
FString |
ZmqEndpoint¶
- Type: FString
- Editor: ✏️ EditAnywhere
- Blueprint: 🔵 ReadWrite
- Category: ZMQ
Private Properties¶
| Property | Type | Description |
|---|---|---|
CachedRecords |
TArray<FArticulationBroadcastRecord> |
Populated once on the game thread. bCacheBuilt (with acquire/release |
Functions¶
Public Functions¶
General¶
| Function | Returns | Description |
|---|---|---|
TickComponent() |
void | Game-thread tick: builds the broadcast cache lazily. |
UMjZmqComponent() |
Default constructor. | |
InitZmq() |
void | Called to initialize ZMQ sockets/contexts. Runs on Async thread. |
ShutdownZmq() |
void | Called to shutdown ZMQ resources. Runs on Async thread. |
PreStep() |
void | Executed before mj_step(). |
PostStep() |
void | Executed after mj_step(). |
TickComponent¶
Game-thread tick: builds the broadcast cache lazily.
- Signature:
TickComponent(floatDeltaTime,ELevelTickTickType,FActorComponentTickFunction*ThisTickFunction)
Private Functions¶
General¶
| Function | Returns | Description |
|---|---|---|
BuildBroadcastCacheGameThread() |
void | Game-thread-only: enumerate articulations + components into CachedRecords. |
BuildBroadcastCacheGameThread¶
Game-thread-only: enumerate articulations + components into CachedRecords.
- Signature:
BuildBroadcastCacheGameThread()