NS3-GUI-HELPER V1.2.0
A code generator for NS-3 Scripts
Loading...
Searching...
No Matches
Dialogs.Dialog_Connection Class Reference
Inheritance diagram for Dialogs.Dialog_Connection:

Public Member Functions

 Dialog_Connection ()
 
 Dialog_Connection (int a, int b, ArrayList< NetworkLink > l, ArrayList< Network > n)
 
void addDialogLink (Dialog_Link dialogLink)
 
void addDialogLink (Dialog_WiFiLink dialogLink)
 
void showDialog (ArrayList< NetworkLink > l, ArrayList< Network > n, ArrayList< Integer > nodes, ToolStatus selectedTool)
 

Static Public Member Functions

static Dialog_Connection getInstance ()
 

Public Attributes

int nodeA
 
int nodeB
 
ArrayList< Integer > nodes
 
ArrayList< NetworkLinklinks
 
ArrayList< Networknetworks
 
ArrayList< Devicedevices
 
ArrayList< Devicedevices_csma
 

Detailed Description

to configure the connections

Definition at line 22 of file Dialog_Connection.java.

Constructor & Destructor Documentation

◆ Dialog_Connection() [1/2]

Dialogs.Dialog_Connection.Dialog_Connection ( )

to create the object of type Dialog_Connection

See also
Dialog_Connection::Dialog_Connection(int, int, ArrayList, ArrayList)
Since
0.3.0

Definition at line 104 of file Dialog_Connection.java.

◆ Dialog_Connection() [2/2]

Dialogs.Dialog_Connection.Dialog_Connection ( int a,
int b,
ArrayList< NetworkLink > l,
ArrayList< Network > n )

to create the object of type this class

Parameters
aindex of first node
bindex of second mode
llist of links settings
nlist of network settings
See also
Dialog_Connection::Dialog_Connection()
Since
0.3.0

Definition at line 118 of file Dialog_Connection.java.

Member Function Documentation

◆ addDialogLink() [1/2]

void Dialogs.Dialog_Connection.addDialogLink ( Dialog_Link dialogLink)

to add dialog for link configuration

Parameters
dialogLinkthe Dialog_Link's object

Definition at line 216 of file Dialog_Connection.java.

◆ addDialogLink() [2/2]

void Dialogs.Dialog_Connection.addDialogLink ( Dialog_WiFiLink dialogLink)

to add dialog for link configuration

Parameters
dialogLinkthe Dialog_WifiLink's object

Definition at line 226 of file Dialog_Connection.java.

◆ getInstance()

static Dialog_Connection Dialogs.Dialog_Connection.getInstance ( )
static

to get the instance of this class

Returns
the instance of this class
Since
0.3.0

Definition at line 89 of file Dialog_Connection.java.

◆ showDialog()

void Dialogs.Dialog_Connection.showDialog ( ArrayList< NetworkLink > l,
ArrayList< Network > n,
ArrayList< Integer > nodes,
ToolStatus selectedTool )

it will show or hide the dialog

Parameters
llist of links
nlist of network settings
nodeslist of nodes
selectedToolthe selected tool
Since
1.1.0

Definition at line 280 of file Dialog_Connection.java.

Member Data Documentation

◆ devices

ArrayList<Device> Dialogs.Dialog_Connection.devices

list of devices

Definition at line 52 of file Dialog_Connection.java.

◆ devices_csma

ArrayList<Device> Dialogs.Dialog_Connection.devices_csma

list of devices containing CSMA devices

Definition at line 56 of file Dialog_Connection.java.

◆ links

ArrayList<NetworkLink> Dialogs.Dialog_Connection.links

list of link settings

Definition at line 44 of file Dialog_Connection.java.

◆ networks

ArrayList<Network> Dialogs.Dialog_Connection.networks

list of network settings

Definition at line 48 of file Dialog_Connection.java.

◆ nodeA

int Dialogs.Dialog_Connection.nodeA

the index of first two nodes

Definition at line 36 of file Dialog_Connection.java.

◆ nodeB

int Dialogs.Dialog_Connection.nodeB

Definition at line 36 of file Dialog_Connection.java.

◆ nodes

ArrayList<Integer> Dialogs.Dialog_Connection.nodes

list of nodes in connection

Definition at line 40 of file Dialog_Connection.java.


The documentation for this class was generated from the following file: