Main Page   Compound List   File List   Compound Members   File Members  

zpunt.vtc File Reference

Ignore certain instances of classes. More...

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Functions

func Zpunt (a/b)
 User command to cause an instance of class message or a class/instance pair to be punted. More...

func Zunpunt (a/b)
 User command to cause an instance of class message or a class/instance pair to no longer be punted. More...

func save_punts (fp)
 Write out all of the currently punted instances to a file. More...

func is_zpunted (z)
 Given a zephyrgram, determine whether or not it is punted. More...


Detailed Description

Ignore certain instances of classes.

Author:
David Maze <dmaze@mit.edu>
Version:
$Id$

Use /zpunt instance or /zpunt class instance to ignore a particular instance. (Use 'zctl unsub' to ignore an entire class.) /zunpunt does the opposite. Call is_zpunted with your message to find out if a particular message is punted or not.

Definition in file zpunt.vtc.


Function Documentation

func Zpunt ( a/ b )
 

User command to cause an instance of class message or a class/instance pair to be punted.

Parameters:
a   If b is specified, the class containing the instance to punt; otherwise, the instance of class message to punt.
b   The instance of class a to punt. May be omitted.

Definition at line 26 of file zpunt.vtc.

func Zunpunt ( a/ b )
 

User command to cause an instance of class message or a class/instance pair to no longer be punted.

Parameters:
a   If b is specified, the class containing the instance to unpunt; otherwise, the instance of class message to unpunt.
b   The instance of class a to unpunt. May be omitted.

Definition at line 43 of file zpunt.vtc.

func is_zpunted ( z )
 

Given a zephyrgram, determine whether or not it is punted.

This function examines the class and instance fields of z and checks them against the lists of punted classes and instances. If the class and instance of z are explicitly punted, or if z->class is equal to ``message'' and z->instance is punted, return 1, indicating that the message should be ignored.

Parameters:
z   Zephyrgram object to examine
Returns:
1 if the message should be ignored, 0 otherwise.

Definition at line 84 of file zpunt.vtc.

Referenced by zephyr_output().

func save_punts ( fp )
 

Write out all of the currently punted instances to a file.

Parameters:
fp   Pointer to the file to save punts to.

Definition at line 56 of file zpunt.vtc.


Generated at Mon Aug 13 16:45:56 2001 for dzm-vtc by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001