Documentation Set for Swarm 2.2
Prev | Reference IV. Objectbase Library | Next

# CustomProbeMap

## Name

CustomProbeMap -- A subclass of ProbeMap, whose initial state is empty unlike the default probeMap initial state which contains all the VarProbes of the requested target class.

## Description

This subclass of the ProbeMap is used to create probe maps which are initialised in an emtpy state or with the VarProbes and MessageProbes intended. In other words, the probed class is set, as is the case with the normal ProbeMap class but upon createEnd no VarProbes or MessageProbes will be present within it. This feature is useful when creating a probe map from scratch (e.g. to be used in conjunction with the setProbeMap:For: message of the ProbeLibrary).

## Protocols adopted by CustomProbeMap

ProbeMap CREATABLE

## Methods

### Phase: Creating

- + create: (id <Zone>)aZone forClass: (Class)aClass withIdentifiers: (const char *)vars : ...
  Convenience method for creating a CustomProbeMap in which the user specifies the list of variables and methods to be probed this by passing a delimited list of strings of the form: "var1", "var2", ..., ":", "method1", "method2",..., NULL

### Phase: Setting

- - addProbesForClass: (Class)aClass withIdentifiers: (const char *)vars : ...
  Allows further probes specified in the delimited string list to be added *after* the CustomProbeMap has been created

Prev | Home | Next
CompleteVarMap | Up | DefaultProbeMap