File: animator.cc

package info (click to toggle)
nam 1.15-5
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 29,240 kB
  • sloc: cpp: 17,338; tcl: 10,655; sh: 2,997; ansic: 1,252; makefile: 139; perl: 66
file content (19 lines) | stat: -rw-r--r-- 555 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// $Header: /cvsroot/nsnam/nam-1/animator.cc,v 1.1 1998/07/02 00:53:38 haoboy Exp $ 

#include "animator.h"

class NetworkAnimatorClass : TclClass {
public: 
	NetworkAnimatorClass() : TclClass("Animator") {}
	TclObject* create(int, const char*const*) {
		return (new NetworkAnimator());
	}
} networkanimator_class;

// We put it here in C++ because we need to keep a pointer to it 
// in NetModel, etc.
int NetworkAnimator::command(int argc, const char *const* argv) 
{
	// In case we want to put something here.
	return TclObject::command(argc, argv);
}