InterfaceTableVisualizer¶
Package: inet.visualizer.common
compound module InterfaceTableVisualizer
(no description)
Usage diagram¶
Inheritance diagram¶
Parameters¶
Name |
Type |
Default value |
Description |
|---|---|---|---|
visualizationTargetModule |
string |
“^” |
|
visualizationSubjectModule |
string |
“^” |
Properties¶
Name |
Value |
Description |
|---|---|---|
display |
i=block/app |
Unassigned submodule parameters¶
Name |
Type |
Default value |
Description |
|---|---|---|---|
canvasVisualizer.displayStringTextFormat |
string |
“” |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
canvasVisualizer.visualizationTargetModule |
string |
“^” |
Module path relative to the visualizer which determines where the visualization should appear in the user interface, parent module by default |
canvasVisualizer.visualizationSubjectModule |
string |
“^” |
Module path relative to the visualizer which determines what part of the simulation model the visualizer displays in the user interface, parent module by default |
canvasVisualizer.tags |
string |
“” |
Tag added to each visualization for disambiguation in the runtime environment |
canvasVisualizer.networkNodeVisualizerModule |
string |
“^.networkNodeVisualizer” |
Module path to the network node visualizer module, refers to a sibling submodule by default |
canvasVisualizer.displayInterfaceTables |
bool |
false |
Display interface table data, disabled by default |
canvasVisualizer.displayWiredInterfacesAtConnections |
bool |
true |
Specifies where wired interfaces are displayed |
canvasVisualizer.displayBackground |
bool |
false |
Specifies whether the text should have a background or not |
canvasVisualizer.nodeFilter |
string |
“*” |
Which nodes are considered, matches all nodes by default |
canvasVisualizer.interfaceFilter |
string |
“not(lo*)” |
Which interfaces are considered, matches all non-local interfaces by default |
canvasVisualizer.format |
string |
“%N %\\%a%/%l” |
Determines what interface data is displayed |
canvasVisualizer.placementHint |
string |
“top” |
Annotation placement hint, space separated list of any, top, bottom, left, right, topLeft, topCenter, topRight, etc. |
canvasVisualizer.placementPriority |
double |
0 |
Determines the order of annotation positioning |
canvasVisualizer.font |
string |
“<default>” |
Interface text font, automatic by default |
canvasVisualizer.textColor |
string |
“#005030” |
Interface text font color |
canvasVisualizer.backgroundColor |
string |
“white” |
Interface text background color |
canvasVisualizer.opacity |
double |
1.0 |
Opacity of the visualization |
canvasVisualizer.zIndex |
double |
10 |
Determines the drawing order of figures relative to other visualizers |
canvasVisualizer.anchor |
string |
“l” |
Specifies the beginning/end/middle |
osgVisualizer.displayStringTextFormat |
string |
“” |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
osgVisualizer.visualizationTargetModule |
string |
“^” |
Module path relative to the visualizer which determines where the visualization should appear in the user interface, parent module by default |
osgVisualizer.visualizationSubjectModule |
string |
“^” |
Module path relative to the visualizer which determines what part of the simulation model the visualizer displays in the user interface, parent module by default |
osgVisualizer.tags |
string |
“” |
Tag added to each visualization for disambiguation in the runtime environment |
osgVisualizer.networkNodeVisualizerModule |
string |
“^.networkNodeVisualizer” |
Module path to the network node visualizer module, refers to a sibling submodule by default |
osgVisualizer.displayInterfaceTables |
bool |
false |
Display interface table data, disabled by default |
osgVisualizer.displayWiredInterfacesAtConnections |
bool |
true |
Specifies where wired interfaces are displayed |
osgVisualizer.displayBackground |
bool |
false |
Specifies whether the text should have a background or not |
osgVisualizer.nodeFilter |
string |
“*” |
Which nodes are considered, matches all nodes by default |
osgVisualizer.interfaceFilter |
string |
“not(lo*)” |
Which interfaces are considered, matches all non-local interfaces by default |
osgVisualizer.format |
string |
“%N %\\%a%/%l” |
Determines what interface data is displayed |
osgVisualizer.placementHint |
string |
“top” |
Annotation placement hint, space separated list of any, top, bottom, left, right, topLeft, topCenter, topRight, etc. |
osgVisualizer.placementPriority |
double |
0 |
Determines the order of annotation positioning |
osgVisualizer.font |
string |
“<default>” |
Interface text font, automatic by default |
osgVisualizer.textColor |
string |
“#005030” |
Interface text font color |
osgVisualizer.backgroundColor |
string |
“white” |
Interface text background color |
osgVisualizer.opacity |
double |
1.0 |
Opacity of the visualization |
Source code¶
module InterfaceTableVisualizer like IInterfaceTableVisualizer
{
parameters:
@display("i=block/app");
string visualizationTargetModule = default("^");
string visualizationSubjectModule = default("^");
*.visualizationTargetModule = default(absPath(this.visualizationTargetModule));
*.visualizationSubjectModule = default(absPath(this.visualizationSubjectModule));
submodules:
canvasVisualizer: <default(firstAvailableOrEmpty("InterfaceTableCanvasVisualizer"))> like IInterfaceTableVisualizer if typename != "" {
parameters:
@display("p=100,100");
}
osgVisualizer: <default(firstAvailableOrEmpty("InterfaceTableOsgVisualizer"))> like IInterfaceTableVisualizer if typename != "" {
parameters:
@display("p=100,200");
}
}
File: src/inet/visualizer/common/InterfaceTableVisualizer.ned