VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
networkSegmentMetric.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2001 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: netwrkSegMet.h,v $ $Revision: 1.9 $ $State: Exp $
7 *********************************************************************/
8 
9 #pragma once
10 
11 #include "gdb/gdbDefines.h"
12 #include "gdb/metric.h"
13 
14 class DtNetworkSegment;
15 
19 {
20 public:
21 
24 
26  virtual ~DtNetworkSegmentMetric();
27 
30 
33 
34 public:
35 
37  virtual double measure(const DtNetworkSegment& seg) const = 0;
38 
40  virtual bool valid(const DtNetworkSegment& seg) const = 0;
41 
43  virtual bool validSW(double xx, double yy) const = 0;
44 
46  virtual bool validSE(double xx, double yy) const = 0;
47 
49  virtual bool validNE(double xx, double yy) const = 0;
50 
52  virtual bool validNW(double xx, double yy) const = 0;
53 
54 };
DtNetworkSegmentMetric is a metric for network segments.
Definition: networkSegmentMetric.h:18
DtMetric & operator=(const DtMetric &orig)
Assignment operator.
Definition: networkSegment.h:26
#define DT_DLL_gdb
Definition: gdbDefines.h:25
Definition: metric.h:23

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)