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

📄 ns-resource.tcl

📁 可以在ns-2中进行仿真的SPIN路由协议的源码
💻 TCL
字号:
# Resource Class## Most Resources functions are "virtual".  We define all of the# functions to do nothing.  When you derive from the Resource# class, you should define your implementation of each function.Class ResourceResource instproc init args {}Resource instproc add {args} {	    puts stderr "Warning: add function not implemented yet for this object"}Resource instproc remove {args} {	    puts stderr "Warning: remove function not implemented yet for this object"}	 Resource instproc acquire {args} {	    puts stderr "Warning: acquire function not implemented yet for this object"}Resource instproc query {args} {		puts stderr "Warning: query function not implemented yet for this object"}

⌨️ 快捷键说明

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