Ovis_Updates_Flush()
Abstract
Forces an immediate update of the attribute values for newly created entities.
Syntax
Ovis_Updates_Flush ()
| Argument | Type | Description |
|---|---|---|
| no arguments |
Return Type
void
No return value.
Header
ovis_entity.h
Details
When an entity is created, two RTI “messages” are delivered to 3D Network Visualizer:
- A discovery indicating that a new object has been created
- An update with the initial values of the object’s attributes
To give 3D Network Visualizer enough time to discover objects before the attribute update occurs, attribute values are not generated until after the mapping library is finished executing. However, if that mapping library also creates decorations that need to be attached to newly created entities, the attribute update must be sent immediately. This function forces that to happen.
A typical workflow for using this function is:
- Create mapped entities.
- Call
Ovis_Updates_Flush(). - Create decorations for the new entities.