⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 node5.html

📁 相关搜索: ns2仿真结果分析 all-awk ns2 ns2 无限网络中awk文件 ... [2.tcl.rar] - 在ns2平台上实现对AODV协议的模拟
💻 HTML
字号:
<html><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><!--Converted with jLaTeX2HTML 2002 (1.62) JA patch-1.4patched version by:  Kenshi Muto, Debian Project.LaTeX2HTML 2002 (1.62),original version by:  Nikos Drakos, CBLU, University of Leeds* revised and updated by:  Marcus Hennecke, Ross Moore, Herb Swan* with significant contributions from:  Jens Lippmann, Marek Rouchal, Martin Wilck and others --><HTML><HEAD><TITLE>3. OTcl Linkage</TITLE><META NAME="description" CONTENT="3. OTcl Linkage"><META NAME="keywords" CONTENT="everything"><META NAME="resource-type" CONTENT="document"><META NAME="distribution" CONTENT="global"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"><META NAME="Generator" CONTENT="jLaTeX2HTML v2002 JA patch-1.4"><META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css"><LINK REL="STYLESHEET" HREF="everything.css" tppabs="http://www.isi.edu/nsnam/ns/doc/everything.css"><LINK REL="previous" HREF="node4.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node4.html"><LINK REL="up" HREF="node4.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node4.html"><LINK REL="next" HREF="node6.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node6.html"></HEAD><BODY ><!--Navigation Panel--><A NAME="tex2html1197"  HREF="node6.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node6.html"><IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="file:/usr/share/latex2html/icons/next.png"></A> <A NAME="tex2html1191"  HREF="node4.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node4.html"><IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="file:/usr/share/latex2html/icons/up.png"></A> <A NAME="tex2html1187"  HREF="node4.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node4.html"><IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="file:/usr/share/latex2html/icons/prev.png"></A> <A NAME="tex2html1193"  HREF="node1.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node1.html"><IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="file:/usr/share/latex2html/icons/contents.png"></A> <A NAME="tex2html1195"  HREF="node590.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node590.html"><IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="file:/usr/share/latex2html/icons/index.png"></A> <BR><B> Next:</B> <A NAME="tex2html1198"  HREF="node6.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node6.html">3.1 Concept Overview</A><B> Up:</B> <A NAME="tex2html1192"  HREF="node4.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node4.html">1 Interface to the</A><B> Previous:</B> <A NAME="tex2html1188"  HREF="node4.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node4.html">1 Interface to the</A> &nbsp <B>  <A NAME="tex2html1194"  HREF="node1.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node1.html">Contents</A></B>  &nbsp <B>  <A NAME="tex2html1196"  HREF="node590.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node590.html">Index</A></B> <BR><BR><!--End of Navigation Panel--><H1><A NAME="SECTION02100000000000000000"></A><A NAME="chap:otcl:intro"></A><BR>3. OTcl Linkage</H1><P>is an object oriented simulator,written in C++, with an OTcl interpreter as a frontend.The simulator supports a class hierarchy in C++(also called the compiled hierarchy in this document),and a similar class hierarchy within the OTcl interpreter(also called the interpreted hierarchy in this document).The two hierarchies are closely related to each other;from the user's perspective,there is a one-to-one correspondencebetween a class in the interpreted hierarchyand one in the compiled hierarchy.The root of this hierarchy is the class TclObject.Users create new simulator objects through the interpreter;these objects are instantiated within the interpreter, and are closely mirrored by a corresponding objectin the compiled hierarchy.The interpreted class hierarchy is automatically established throughmethods defined in the class TclClass.user instantiated objects are mirrored through methodsdefined in the class TclObject.There are other hierarchies in the C++ code and OTcl scripts;these other hierarchies are not mirrored in the manner of TclObject.<P><BR><HR><!--Table of Child-Links--><A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A><UL><LI><A NAME="tex2html1199"  HREF="node6.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node6.html">3.1 Concept Overview</A><LI><A NAME="tex2html1200"  HREF="node7.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node7.html">3.2 Code Overview</A><LI><A NAME="tex2html1201"  HREF="node8.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node8.html">3.3 Class Tcl</A><UL><LI><A NAME="tex2html1202"  HREF="node9.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node9.html">3.3.1 Obtain a Reference to the class Tcl instance</A><LI><A NAME="tex2html1203"  HREF="node10.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node10.html">3.3.2 Invoking OTcl Procedures</A><LI><A NAME="tex2html1204"  HREF="node11.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node11.html">3.3.3 Passing Results to/from the Interpreter</A><LI><A NAME="tex2html1205"  HREF="node12.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node12.html">3.3.4 Error Reporting and Exit</A><LI><A NAME="tex2html1206"  HREF="node13.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node13.html">3.3.5 Hash Functions within the Interpreter</A><LI><A NAME="tex2html1207"  HREF="node14.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node14.html">3.3.6 Other Operations on the Interpreter</A></UL><BR><LI><A NAME="tex2html1208"  HREF="node15.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node15.html">3.4 Class TclObject</A><UL><LI><A NAME="tex2html1209"  HREF="node16.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node16.html">3.4.0.0.1 Differences from&nbsp;v1</A><LI><A NAME="tex2html1210"  HREF="node17.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node17.html">3.4.0.0.2 Example configuration of a TclObject</A><LI><A NAME="tex2html1211"  HREF="node18.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node18.html">3.4.1 Creating and Destroying TclObjects</A><UL><LI><A NAME="tex2html1212"  HREF="node19.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node19.html">3.4.1.0.1 Creating TclObjects</A><LI><A NAME="tex2html1213"  HREF="node20.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node20.html">3.4.1.0.2 Deletion of TclObjects</A></UL><LI><A NAME="tex2html1214"  HREF="node21.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node21.html">3.4.2 Variable Bindings</A><LI><A NAME="tex2html1215"  HREF="node22.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node22.html">3.4.3 Variable Tracing</A><LI><A NAME="tex2html1216"  HREF="node23.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node23.html">3.4.4 command Methods: Definition and Invocation</A></UL><BR><LI><A NAME="tex2html1217"  HREF="node24.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node24.html">3.5 Class TclClass</A><UL><LI><A NAME="tex2html1218"  HREF="node25.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node25.html">3.5.1 How to Bind Static C++ Class Member Variables</A></UL><BR><LI><A NAME="tex2html1219"  HREF="node26.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node26.html">3.6 Class TclCommand</A><LI><A NAME="tex2html1220"  HREF="node27.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node27.html">3.7 Class EmbeddedTcl</A><LI><A NAME="tex2html1221"  HREF="node28.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node28.html">3.8 Class InstVar</A></UL><!--End of Table of Child-Links--><HR><!--Navigation Panel--><A NAME="tex2html1197"  HREF="node6.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node6.html"><IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="file:/usr/share/latex2html/icons/next.png"></A> <A NAME="tex2html1191"  HREF="node4.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node4.html"><IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="file:/usr/share/latex2html/icons/up.png"></A> <A NAME="tex2html1187"  HREF="node4.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node4.html"><IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="file:/usr/share/latex2html/icons/prev.png"></A> <A NAME="tex2html1193"  HREF="node1.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node1.html"><IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="file:/usr/share/latex2html/icons/contents.png"></A> <A NAME="tex2html1195"  HREF="node590.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node590.html"><IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="file:/usr/share/latex2html/icons/index.png"></A> <BR><B> Next:</B> <A NAME="tex2html1198"  HREF="node6.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node6.html">3.1 Concept Overview</A><B> Up:</B> <A NAME="tex2html1192"  HREF="node4.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node4.html">1 Interface to the</A><B> Previous:</B> <A NAME="tex2html1188"  HREF="node4.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node4.html">1 Interface to the</A> &nbsp <B>  <A NAME="tex2html1194"  HREF="node1.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node1.html">Contents</A></B>  &nbsp <B>  <A NAME="tex2html1196"  HREF="node590.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node590.html">Index</A></B> <!--End of Navigation Panel--><ADDRESS>2003-09-23</ADDRESS></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -