1 /***********************************************************************/
2 /* Open Visualization Data Explorer                                    */
3 /* (C) Copyright IBM Corp. 1989,1999                                   */
4 /* ALL RIGHTS RESERVED                                                 */
5 /* This code licensed under the                                        */
6 /*    "IBM PUBLIC LICENSE - Open Visualization Data Explorer"          */
7 /***********************************************************************/
8 
9 #include <dxconfig.h>
10 #include "../base/defines.h"
11 
12 
13 #include "ProbeDefinition.h"
14 #include "ProbeNode.h"
15 #include "LabeledStandIn.h"
16 
AllocateDefinition()17 NodeDefinition *ProbeDefinition::AllocateDefinition()
18 {
19     return new ProbeDefinition;
20 }
21 
22 
ProbeDefinition()23 ProbeDefinition::ProbeDefinition() :
24     NodeDefinition()
25 {
26 }
27 
getSIAllocator()28 SIAllocator ProbeDefinition::getSIAllocator()
29 {
30    return LabeledStandIn::AllocateStandIn;
31 }
32 
33 
newNode(Network * net,int instance)34 Node *ProbeDefinition::newNode(Network *net, int instance)
35 {
36     return new ProbeNode(this, net, instance);
37 }
38