Documentation Set for Swarm 2.0.1 | ||
---|---|---|
Prev | Appendix C. Probing and Displaying the Contents of a SwarmObject | Next |
As mentioned earlier, all SwarmObjects can generate Probes/ProbeMaps. By default, they achieve this by "checking out" the appropriate references from the probeLibrary. Interface definition from objectbase library.
- (const char*)getInstanceName. If you want to put a specific title on the ProbeDisplay window associated with your object, simply override this method. By default it returns the class name of the object. This is why the default ProbeDisplay window title is always the class name of the probed object. Note: SwarmObjects do not actually have an instance variable called "instanceName" - so if you want to store a name for your object, you will need to provide your own storage at the subclass level and rewrite getInstanceName to refer to this variable.
- getProbeForVariable: (const char *)aVariable.
- getProbeForMessage: (const char *)aMessage.
- getProbeMap.
- getCompleteProbeMap.
Prev | Home | Next |
Probe support in objectbase | Up | Probe support resident in the simtoolsgui library: |