Skip to content

Commit

Permalink
visualizer: Added IVisualizer moduleinterface to all visualizer modul…
Browse files Browse the repository at this point in the history
…e interfaces.

Eliminates ~50 'no such parameter' warnings in the IDE for visualizationTargetModule and visualizationSubjectModule parameters.
  • Loading branch information
levy committed May 7, 2024
1 parent 2777137 commit e22237f
Show file tree
Hide file tree
Showing 27 changed files with 43 additions and 26 deletions.
2 changes: 1 addition & 1 deletion src/inet/visualizer/contract/IDataLinkVisualizer.ned
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ package inet.visualizer.contract;
//
// @see ~DataLinkCanvasVisualizer, ~DataLinkOsgVisualizer, ~DataLinkVisualizer, ~DataLinkVisualizerBase
//
moduleinterface IDataLinkVisualizer
moduleinterface IDataLinkVisualizer extends IVisualizer
{
parameters:
@display("i=block/app");
Expand Down
2 changes: 1 addition & 1 deletion src/inet/visualizer/contract/IEnergyStorageVisualizer.ned
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ package inet.visualizer.contract;
// @see ~EnergyStorageCanvasVisualizer, ~EnergyStorageOsgVisualizer,
// ~EnergyStorageVisualizer, ~EnergyStorageVisualizerBase
//
moduleinterface IEnergyStorageVisualizer
moduleinterface IEnergyStorageVisualizer extends IVisualizer
{
parameters:
@display("i=block/app");
Expand Down
2 changes: 1 addition & 1 deletion src/inet/visualizer/contract/IGateScheduleVisualizer.ned
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ package inet.visualizer.contract;
//
// @see ~GateScheduleCanvasVisualizer, ~GateScheduleOsgVisualizer, ~GateScheduleVisualizer, ~GateScheduleVisualizerBase
//
moduleinterface IGateScheduleVisualizer
moduleinterface IGateScheduleVisualizer extends IVisualizer
{
parameters:
@display("i=block/app");
Expand Down
2 changes: 1 addition & 1 deletion src/inet/visualizer/contract/IIeee80211Visualizer.ned
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ package inet.visualizer.contract;
//
// @see ~Ieee80211CanvasVisualizer, ~Ieee80211OsgVisualizer, ~Ieee80211Visualizer, ~Ieee80211VisualizerBase
//
moduleinterface IIeee80211Visualizer
moduleinterface IIeee80211Visualizer extends IVisualizer
{
parameters:
@display("i=block/app");
Expand Down
2 changes: 1 addition & 1 deletion src/inet/visualizer/contract/IInfoVisualizer.ned
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ package inet.visualizer.contract;
//
// @see ~InfoCanvasVisualizer, ~InfoOsgVisualizer, ~InfoVisualizer, ~InfoVisualizerBase
//
moduleinterface IInfoVisualizer
moduleinterface IInfoVisualizer extends IVisualizer
{
parameters:
@display("i=block/app");
Expand Down
2 changes: 1 addition & 1 deletion src/inet/visualizer/contract/IInterfaceTableVisualizer.ned
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ package inet.visualizer.contract;
//
// @see ~InterfaceTableCanvasVisualizer, ~InterfaceTableOsgVisualizer, ~InterfaceTableVisualizer, ~InterfaceTableVisualizerBase
//
moduleinterface IInterfaceTableVisualizer
moduleinterface IInterfaceTableVisualizer extends IVisualizer
{
parameters:
@display("i=block/app");
Expand Down
2 changes: 1 addition & 1 deletion src/inet/visualizer/contract/ILinkBreakVisualizer.ned
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ package inet.visualizer.contract;
//
// @see ~LinkBreakCanvasVisualizer, ~LinkBreakOsgVisualizer, ~LinkBreakVisualizer, ~LinkBreakVisualizerBase
//
moduleinterface ILinkBreakVisualizer
moduleinterface ILinkBreakVisualizer extends IVisualizer
{
parameters:
@display("i=block/app");
Expand Down
2 changes: 1 addition & 1 deletion src/inet/visualizer/contract/IMediumVisualizer.ned
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ package inet.visualizer.contract;
//
// @see ~MediumCanvasVisualizer, ~MediumOsgVisualizer, ~MediumVisualizer, ~MediumVisualizerBase
//
moduleinterface IMediumVisualizer
moduleinterface IMediumVisualizer extends IVisualizer
{
parameters:
@display("i=block/app");
Expand Down
2 changes: 1 addition & 1 deletion src/inet/visualizer/contract/IMobilityVisualizer.ned
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ package inet.visualizer.contract;
//
// @see ~MobilityCanvasVisualizer, ~MobilityOsgVisualizer, ~MobilityVisualizer, ~MobilityVisualizerBase
//
moduleinterface IMobilityVisualizer
moduleinterface IMobilityVisualizer extends IVisualizer
{
parameters:
@display("i=block/app");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ package inet.visualizer.contract;
//
// @see ~NetworkConnectionCanvasVisualizer, ~NetworkConnectionOsgVisualizer, ~NetworkConnectionVisualizer, ~NetworkConnectionVisualizerBase
//
moduleinterface INetworkConnectionVisualizer
moduleinterface INetworkConnectionVisualizer extends IVisualizer
{
parameters:
@display("i=block/app");
Expand Down
2 changes: 1 addition & 1 deletion src/inet/visualizer/contract/INetworkNodeVisualizer.ned
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ package inet.visualizer.contract;
//
// @see ~NetworkNodeCanvasVisualizer, ~NetworkNodeOsgVisualizer, ~NetworkNodeVisualizer, ~NetworkNodeVisualizerBase
//
moduleinterface INetworkNodeVisualizer
moduleinterface INetworkNodeVisualizer extends IVisualizer
{
parameters:
@display("i=block/app");
Expand Down
2 changes: 1 addition & 1 deletion src/inet/visualizer/contract/INetworkRouteVisualizer.ned
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ package inet.visualizer.contract;
//
// @see ~NetworkRouteCanvasVisualizer, ~NetworkRouteOsgVisualizer, ~NetworkRouteVisualizer
//
moduleinterface INetworkRouteVisualizer
moduleinterface INetworkRouteVisualizer extends IVisualizer
{
parameters:
@display("i=block/app");
Expand Down
2 changes: 1 addition & 1 deletion src/inet/visualizer/contract/IPacketDropVisualizer.ned
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ package inet.visualizer.contract;
//
// @see ~PacketDropCanvasVisualizer, ~PacketDropOsgVisualizer, ~PacketDropVisualizer, ~PacketDropVisualizerBase
//
moduleinterface IPacketDropVisualizer
moduleinterface IPacketDropVisualizer extends IVisualizer
{
parameters:
@display("i=block/app");
Expand Down
2 changes: 1 addition & 1 deletion src/inet/visualizer/contract/IPacketFlowVisualizer.ned
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

package inet.visualizer.contract;

moduleinterface IPacketFlowVisualizer
moduleinterface IPacketFlowVisualizer extends IVisualizer
{
parameters:
@display("i=block/app");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ package inet.visualizer.contract;
//
// @see ~PhysicalEnvironmentCanvasVisualizer, ~PhysicalEnvironmentOsgVisualizer, ~PhysicalEnvironmentVisualizer, ~PhysicalEnvironmentVisualizerBase
//
moduleinterface IPhysicalEnvironmentVisualizer
moduleinterface IPhysicalEnvironmentVisualizer extends IVisualizer
{
parameters:
@display("i=block/app");
Expand Down
2 changes: 1 addition & 1 deletion src/inet/visualizer/contract/IPhysicalLinkVisualizer.ned
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ package inet.visualizer.contract;
//
// @see ~PhysicalLinkCanvasVisualizer, ~PhysicalLinkOsgVisualizer, ~PhysicalLinkVisualizer, ~PhysicalLinkVisualizerBase
//
moduleinterface IPhysicalLinkVisualizer
moduleinterface IPhysicalLinkVisualizer extends IVisualizer
{
parameters:
@display("i=block/app");
Expand Down
2 changes: 1 addition & 1 deletion src/inet/visualizer/contract/IQueueVisualizer.ned
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ package inet.visualizer.contract;
//
// @see ~QueueCanvasVisualizer, ~QueueOsgVisualizer, ~QueueVisualizer, ~QueueVisualizerBase
//
moduleinterface IQueueVisualizer
moduleinterface IQueueVisualizer extends IVisualizer
{
parameters:
@display("i=block/app");
Expand Down
2 changes: 1 addition & 1 deletion src/inet/visualizer/contract/IRadioVisualizer.ned
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ package inet.visualizer.contract;
//
// @see ~RadioCanvasVisualizer, ~RadioOsgVisualizer, ~RadioVisualizer, ~RadioVisualizerBase
//
moduleinterface IRadioVisualizer
moduleinterface IRadioVisualizer extends IVisualizer
{
parameters:
@display("i=block/app");
Expand Down
2 changes: 1 addition & 1 deletion src/inet/visualizer/contract/IRoutingTableVisualizer.ned
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ package inet.visualizer.contract;
//
// @see ~RoutingTableCanvasVisualizer, ~RoutingTableOsgVisualizer, ~RoutingTableVisualizer, ~RoutingTableVisualizerBase
//
moduleinterface IRoutingTableVisualizer
moduleinterface IRoutingTableVisualizer extends IVisualizer
{
parameters:
@display("i=block/app");
Expand Down
2 changes: 1 addition & 1 deletion src/inet/visualizer/contract/ISceneVisualizer.ned
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ package inet.visualizer.contract;
//
// @see ~SceneCanvasVisualizer, ~SceneOsgVisualizer, ~SceneVisualizer, ~SceneVisualizerBase
//
moduleinterface ISceneVisualizer
moduleinterface ISceneVisualizer extends IVisualizer
{
parameters:
@display("i=block/app");
Expand Down
2 changes: 1 addition & 1 deletion src/inet/visualizer/contract/IStatisticVisualizer.ned
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ package inet.visualizer.contract;
//
// @see ~StatisticCanvasVisualizer, ~StatisticOsgVisualizer, ~StatisticVisualizer, ~StatisticVisualizerBase
//
moduleinterface IStatisticVisualizer
moduleinterface IStatisticVisualizer extends IVisualizer
{
parameters:
@display("i=block/app");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ package inet.visualizer.contract;
//
// @see ~StreamRedundancyConfigurationCanvasVisualizer
//
moduleinterface IStreamRedundancyConfigurationVisualizer
moduleinterface IStreamRedundancyConfigurationVisualizer extends IVisualizer
{
parameters:
@display("i=block/app");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ package inet.visualizer.contract;
//
// @see ~TracingObstacleLossCanvasVisualizer, ~TracingObstacleLossOsgVisualizer, ~TracingObstacleLossVisualizer, ~TracingObstacleLossVisualizerBase
//
moduleinterface ITracingObstacleLossVisualizer
moduleinterface ITracingObstacleLossVisualizer extends IVisualizer
{
parameters:
@display("i=block/app");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ package inet.visualizer.contract;
//
// @see ~TransportConnectionCanvasVisualizer, ~TransportConnectionOsgVisualizer, ~TransportConnectionVisualizer, ~TransportConnectionVisualizerBase
//
moduleinterface ITransportConnectionVisualizer
moduleinterface ITransportConnectionVisualizer extends IVisualizer
{
parameters:
@display("i=block/app");
Expand Down
2 changes: 1 addition & 1 deletion src/inet/visualizer/contract/ITransportRouteVisualizer.ned
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ package inet.visualizer.contract;
//
// @see ~TransportRouteCanvasVisualizer, ~TransportRouteOsgVisualizer, ~TransportRouteVisualizer
//
moduleinterface ITransportRouteVisualizer
moduleinterface ITransportRouteVisualizer extends IVisualizer
{
parameters:
@display("i=block/app");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ package inet.visualizer.contract;
//
// @see ~FailureProtectionConfigurationCanvasVisualizer
//
moduleinterface IFailureProtectionConfigurationVisualizer
moduleinterface IFailureProtectionConfigurationVisualizer extends IVisualizer
{
parameters:
@display("i=block/app");
Expand Down
17 changes: 17 additions & 0 deletions src/inet/visualizer/contract/IVisualizer.ned
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
//
// Copyright (C) 2024 OpenSim Ltd.
//
// SPDX-License-Identifier: LGPL-3.0-or-later
//


package inet.visualizer.contract;

moduleinterface IVisualizer
{
parameters:
string visualizationTargetModule;
string visualizationSubjectModule;
@display("i=block/app");
}

0 comments on commit e22237f

Please sign in to comment.