class OldSim : Simulator


Inheritance:


Public Fields

OldSim instvar classMap_
OldSim instvar LH_
OldSim instvar link_
OldSim instvar queueMap_
OldSim instvar scheduler_
OldSim instvar varMap_

Public Methods

OldSim instproc agent { type node }
OldSim instproc create-agent { node type pktClass }
OldSim instproc create-connection
OldSim instproc default_assign {aname index newval}
OldSim instproc default_catch { varName index op }
OldSim instproc duplex-link-compat { n1 n2 bw delay type }
OldSim instproc get-queues { n1 n2 }
OldSim instproc init args
OldSim instproc link args
OldSim instproc link-threeargs { n1 n2 qtype }
OldSim instproc link-twoargs { n1 n2 }
OldSim instproc map_ns_defaults old_arr
OldSim instproc random { seed }
OldSim instproc simplex-link-compat { n1 n2 bw delay qtype }
OldSim instproc trace {}
OldSim instproc trace_old_defaults {}

Inherited from Simulator:

Public Fields

Simulator instvar addressType_
Simulator instvar agentTrace_
Simulator instvar allocAddr_
Simulator instvar alltrace_
Simulator instvar annotationSeq_
Simulator instvar antType_
Simulator instvar chan
Simulator instvar channelType_
Simulator instvar cluster_num_
Simulator instvar color_
Simulator instvar delay_
Simulator instvar domain_num_
Simulator instvar dropper_
Simulator instvar energyModel_
Simulator instvar hlevel_
Simulator instvar ifqlen_
Simulator instvar ifqType_
Simulator instvar imepflag_
Simulator instvar initialEnergy_
Simulator instvar level1_
Simulator instvar level2_
Simulator instvar linkConfigList_
Simulator instvar llType_
Simulator instvar macTrace_
Simulator instvar macType_
Simulator instvar McastMask_
Simulator instvar McastShift_
Simulator instvar mn_
Simulator instvar mobileIP_
Simulator instvar MobileNode_
Simulator instvar monitoredAgents_
Simulator instvar movementTrace_
Simulator instvar MrtHandle_
Simulator instvar multiSim_
Simulator instvar namConfigFile_
Simulator instvar namtraceAllFile_
Simulator instvar namtraceSomeFile_
Simulator instvar newTraceFormat
Simulator instvar Node_
Simulator instvar nodebits_
Simulator instvar nodefactory_
Simulator instvar NodeMask_
Simulator instvar nodes_num_
Simulator instvar NodeShift_
Simulator instvar nullAgent_
Simulator instvar phyType_
Simulator instvar propInstance_
Simulator instvar propType_
Simulator instvar RenoAckfsm_
Simulator instvar RenoDelAckfsm_
Simulator instvar routerTrace_
Simulator instvar routingAgent_
Simulator instvar routingTable_
Simulator instvar rtModel_
Simulator instvar rtq_
Simulator instvar rxPower_
Simulator instvar started_
Simulator instvar TahoeAckfsm_
Simulator instvar TahoeDelAckfsm_
Simulator instvar topoInstance_
Simulator instvar traceAllFile_
Simulator instvar tracedAgents_
Simulator instvar txPower_
Simulator instvar vartab_
Simulator instvar wiredRouting_

Public Methods

Simulator instproc abstract-tcp {}
Simulator instproc add-agent-trace { agent name {f ""} }
Simulator instproc add-first-links {node_ linktype linkargs chan}
Simulator instproc add-isl {ltype node1 node2 bw qtype qlim}
Simulator instproc addressType {val}
Simulator instproc adhocRouting {val}
Simulator instproc after {ival args}
Simulator instproc agentTrace {val}
Simulator instproc all-links-list {}
Simulator instproc all-nodes-list {}
Simulator instproc antType {val}
Simulator instproc at args
Simulator instproc at-now args
Simulator instproc attach-agent { node agent }
Simulator instproc attach-fmon {lnk fm { edrop 0 } }
Simulator instproc attach-tbf-agent { node agent tbf }
Simulator instproc bw_parse { bspec }
Simulator instproc cancel args
Simulator instproc channelType {val}
Simulator instproc check-node-num {}
Simulator instproc chk-hier-field-lengths {}
Simulator instproc clear-mcast {}
Simulator instproc clearMemTrace {}
Simulator instproc color { id name }
Simulator instproc compute-algo-routes {}
Simulator instproc compute-flat-routes {}
Simulator instproc compute-hier-routes {}
Simulator instproc compute-route-for-mobilenodes {}
Simulator instproc compute-routes {}
Simulator instproc connect {src dst}
Simulator instproc cost {n1 n2 c}
Simulator instproc create-aodv-agent { node }
Simulator instproc create-connection-list {s_type source d_type dest pktClass}
Simulator instproc create-dsdv-agent { node }
Simulator instproc create-node-instance { args }
Simulator instproc create-tcp-connection {s_type source d_type dest pktClass}
Simulator instproc create-tora-agent { node }
Simulator instproc create-trace { type file src dst {op ""} }
Simulator instproc create-wireless-node { args }
Simulator instproc create_packetformat { }
Simulator instproc delay { n1 n2 delay }
Simulator instproc delay_parse { dspec }
Simulator instproc delete-agent-trace { agent }
Simulator instproc detach-agent { node agent }
Simulator instproc drop-trace { n1 n2 trace }
Simulator instproc dump-namaddress {}
Simulator instproc dump-namagents {}
Simulator instproc dump-namcolors {}
Simulator instproc dump-namlans {}
Simulator instproc dump-namlinks {}
Simulator instproc dump-namnodes {}
Simulator instproc dump-namqueues {}
Simulator instproc dump-namversion { v }
Simulator instproc dump-routelogic-distance {}
Simulator instproc dump-routelogic-nh {}
Simulator instproc dumper obj
Simulator instproc dumpq {}
Simulator instproc duplex-intserv-link { n1 n2 bw pd sched signal adc args }
Simulator instproc duplex-link { n1 n2 bw delay type args }
Simulator instproc duplex-link-op { n1 n2 op args }
Simulator instproc energy-color-change {level1 level2}
Simulator instproc energyModel {val}
Simulator instproc expand-address {}
Simulator instproc expand-port-field-bits nbits
Simulator instproc flush-trace {}
Simulator instproc gen-map {}
Simulator instproc get-AllocAddrBits {prog}
Simulator instproc get-color { id }
Simulator instproc get-nam-config {}
Simulator instproc get-nam-traceall {}
Simulator instproc get-node-by-addr address
Simulator instproc get-node-by-id id
Simulator instproc get-node-id-by-addr address
Simulator instproc get-nodetype {}
Simulator instproc get-ns-traceall {}
Simulator instproc get-routelogic {}
Simulator instproc halt {}
Simulator instproc hier-node haddr
Simulator instproc hier-topo {rl}
Simulator instproc ifqLen {val}
Simulator instproc ifqType {val}
Simulator instproc imep-support {}
Simulator instproc init-nam {}
Simulator instproc initial_node_pos {nodep size}
Simulator instproc initialEnergy {val}
Simulator instproc is-started {}
Simulator instproc link-lossmodel {lossobj from to}
Simulator instproc llType {val}
Simulator instproc lossmodel {lossobj from to}
Simulator instproc macTrace {val}
Simulator instproc macType {val}
Simulator instproc make-lan {nodelist bw delay \
Simulator instproc makeflowmon { cltype { clslots 29 } }
Simulator instproc maybeEnableTraceAll {obj args}
Simulator instproc mobileIP {val}
Simulator instproc mobility-trace {ttype atype node}
Simulator instproc monitor-agent-trace { agent }
Simulator instproc monitor-queue { n1 n2 qtrace { sampleInterval 0.1 } }
Simulator instproc movementTrace {val}
Simulator instproc mrtproto { mproto { nodelist "" } }
Simulator instproc mrtproto-iifs {mproto node iiflist }
Simulator instproc multicast args
Simulator instproc multicast
Simulator instproc nam-end-wireless {stoptime}
Simulator instproc namtrace-all file
Simulator instproc namtrace-all-wireless {file optx opty}
Simulator instproc namtrace-all-wireless {file optx opty}
Simulator instproc namtrace-config { f }
Simulator instproc namtrace-queue { n1 n2 {file ""} }
Simulator instproc namtrace-some file
Simulator instproc newLan {nodelist bw delay args}
Simulator instproc node args
Simulator instproc node-config args
Simulator instproc now {}
Simulator instproc nullagent {}
Simulator instproc phyType {val}
Simulator instproc populate-mobilenode {level}
Simulator instproc propType {val}
Simulator instproc puts-nam-config { str }
Simulator instproc puts-nam-traceall { str }
Simulator instproc puts-ns-traceall { str }
Simulator instproc queue-limit { n1 n2 limit }
Simulator instproc re-rewind-nam { }
Simulator instproc register-nam-linkconfig link
Simulator instproc remove-nam-linkconfig {i1 i2}
Simulator instproc rewind-nam { }
Simulator instproc routerTrace {val}
Simulator instproc rtmodel { dist parms args }
Simulator instproc rtmodel-at {at op args}
Simulator instproc rtmodel-configure {}
Simulator instproc rtmodel-delete model
Simulator instproc rtproto {proto args}
Simulator instproc rtt { src dst }
Simulator instproc run {}
Simulator instproc run-mcast {}
Simulator instproc rxPower {val}
Simulator instproc satnode args
Simulator instproc satnode-geo {lon linkargs chan}
Simulator instproc satnode-geo-repeater {lon chan}
Simulator instproc satnode-polar {alt inc lon alpha plane linkargs chan}
Simulator instproc satnode-terminal {lat lon}
Simulator instproc set-address {node}
Simulator instproc set-address-format {opt args}
Simulator instproc set-animation-rate { rate }
Simulator instproc set-dsr-nodetype {}
Simulator instproc set-hieraddress {hlevel args}
Simulator instproc simplex-connect { src dst }
Simulator instproc simplex-link { n1 n2 bw delay qtype args }
Simulator instproc simplex-link-op { n1 n2 op args }
Simulator instproc snapshot { }
Simulator instproc terminate-nam { }
Simulator instproc topoInstance {val}
Simulator instproc toraDebug {val}
Simulator instproc trace-all file
Simulator instproc trace-all-satlinks {f}
Simulator instproc trace-annotate { str }
Simulator instproc trace-queue { n1 n2 {file ""} }
Simulator instproc txPower {val}
Simulator instproc use-newtrace {}
Simulator instproc use-scheduler type
Simulator instproc wiredRouting {val}

Documentation

OldSim instproc default_catch { varName index op }

OldSim instproc default_assign {aname index newval}

OldSim instvar classMap_

OldSim instvar queueMap_

OldSim instvar varMap_

OldSim instproc map_ns_defaults old_arr
see if this array has any elements already set if so, arrange for the value to be set in ns-2 also, add a trace hook so that future changes get reflected into ns-2

OldSim instproc trace_old_defaults {}

OldSim instproc init args

OldSim instvar scheduler_

OldSim instproc simplex-link-compat { n1 n2 bw delay qtype }
links in ns-1 had support for statistics collection... $link stat packets/bytes/drops

OldSim instproc duplex-link-compat { n1 n2 bw delay type }

OldSim instproc get-queues { n1 n2 }

OldSim instvar link_

OldSim instproc create-agent { node type pktClass }

OldSim instproc agent { type node }

OldSim instproc create-connection

OldSim instproc link args
return helper object for backward compat of "ns link" command

OldSim instproc link-twoargs { n1 n2 }

OldSim instvar LH_

OldSim instproc link-threeargs { n1 n2 qtype }

OldSim instproc trace {}

OldSim instproc random { seed }


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

Adapted for the NS documentation page

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de