VR-Forces 4.1.1 Class Documentation
vrfLineOfSightFunctor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2005 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: vrfLineOfSightFunctor.h,v $ $Revision: 1.4 $ $State: Exp $
7 *******************************************************************************/
8 #ifndef vrfLineOfSightFunctor_H_
9 #define vrfLineOfSightFunctor_H_
10 
13 
16 
17 #include <vlutil/vlSmartPointers.h>
19 
24 {
25 public:
28 
30  virtual bool operator()(const DtVrfLineOfSightCheckParams& params) = 0;
31 };
32 
33 
35 typedef DtBoost::shared_ptr<DtVrfLineOfSightFunctor> DtVrfLineOfSightFunctorSP;
36 
37 
40 template <typename T>
42 {
43 public:
45  typedef bool (T::*CheckLineOfSightFunction)(const DtVrfLineOfSightCheckParams& params) const;
46 
62 
65 
68  virtual bool operator()(const DtVrfLineOfSightCheckParams& params);
69 
70 protected:
71 
74 
77 };
78 
79 
82 template <typename T>
85 
86 
87 #define vrfLineOfSightFunctor_inl_
88 #include "vrfobjcore/vrfLineOfSightFunctor.inl"
89 #undef vrfLineOfSightFunctor_inl_
90 
91 #endif
92 

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)