Package: inet.environment.contract
IObjectCache
module interfaceAn object cache is a data structure that is used by the physical environment to store physical objects.
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Implemented by
Name | Type | Description |
---|---|---|
BvhObjectCache | compound module |
This object cache model organizes closely positioned physical objects into a tree data structure. |
GridObjectCache | compound module |
This object cache model stores physical objects in a spatial grid. Each cell maintains a list of intersecting physical objects. The grid is aligned with the coordinate axes and it has a configurable cell size in all dimensions. The cell size parameters take precedence over the cell count parameters. |
Used in compound modules
Name | Type | Description |
---|---|---|
PhysicalEnvironment | compound module |
The propagation of communication signals, the movement of communicating agents, or battery exhaustion depend on the surrounding physical environment. For example, signals can be absorbed by objects, can pass through objects, can be refracted by surfaces, can be reflected from surfaces, etc. |
Properties
Name | Value | Description |
---|---|---|
display | i=block/table2 |
Source code
// // An object cache is a data structure that is used by the physical environment // to store physical objects. // moduleinterface IObjectCache { parameters: @display("i=block/table2"); }File: src/inet/environment/contract/IObjectCache.ned