IMjSnapshotPublisher¶
Wire-agnostic transport for state-full snapshots.
Plain C++ abstract class (NOT a UE UINTERFACE) so multiple inheritance
with UCLASSes is straightforward. Implementations: UURLabZmqPublishTransport
(PUB on tcp://0.0.0.0:5555), UURLabShmPublishTransport (SHM ring buffer).
The publisher does NOT decide what to ship -- FMjSnapshotProducer
builds the msgpack bytes once per step (in AAMjManager's PostStep
callback); each publisher calls PublishSnapshot(Bytes) to fan out.
| Attribute | Value |
|---|---|
| Kind | Class |
Properties¶
Public Properties¶
| Property | Type | Description |
|---|---|---|
default |
`` |
default¶
- Type:
Functions¶
Public Functions¶
General¶
| Function | Returns | Description |
|---|---|---|
PublishSnapshot() |
void | Ship the snapshot. Must be safe to call from the physics PostStep |
PublishSnapshot¶
Ship the snapshot. Must be safe to call from the physics PostStep
- Signature:
PublishSnapshot(const TArray<uint8>&Bytes)