Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

The first point in which an object is called...

Status
Not open for further replies.

zombieZero

Technical User
Apr 7, 2004
28
US
Sorry if this is a no-brainer but I'm having trouble tracking this down...I've got a class with a bunch of methods and when the object is created everything works fine. The problem is, I have another class object which I want to interact with the first one, and one of the things I want it to do is note what gets called in the first object (which methods and with which arguements).

I'm thinking there must be a point within the class that you pass through when you call a method where I can take note of that information and pass it to the other object.

In a nutshell: When I call any method within obj1, I want the first thing that happens to be that the command (obj1 runMethod1 arg1 arg2) to get passed to obj2.

Can this be done?
 
To help us helping you, say us which object package you're using.

ulis
 
These packages are loaded:

autoloading package "Itcl".........OK
autoloading package "tnSnmp".......OK
autoloading package "Tclx".........OK
autoloading package "Expect".......OK

I'm using tcl version 8.3
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top