cgma
TBOwnerSet.hpp
Go to the documentation of this file.
00001 //-------------------------------------------------------------------------
00002 // Filename      : TBOwnerSet.hpp
00003 //
00004 // Purpose       : Interface for an adapter allowing a TopologyBridge
00005 //                 to have multiple owners.  I.e. An object implementing
00006 //                 this interface is the owner the bridge keeps a pointer
00007 //                 to.  The object implementing this interface maintains   
00008 //                 links to a set of TopologyBridges (partitions) of the
00009 //                 actual geometry.
00010 //
00011 // Special Notes : This interface is provided to abstract the one facet
00012 //                 of partition geometry that TopologyBridge needs to be
00013 //                 aware of.  
00014 //
00015 //                 The owners contained in a TBOwnerSet need not (and
00016 //                 probably will not) implement the TBOwner interface.
00017 //                 They must be TopologyBridges.  (This doesn't make a whole
00018 //                 lot of sense, beyond the fact that that is what is
00019 //                 required for partition geometry.)
00020 //
00021 // Creator       : Jason Kraftcheck
00022 //
00023 // Creation Date : 01/10/02
00024 //-------------------------------------------------------------------------
00025 #ifndef TB_OWNER_SET
00026 #define TB_OWNER_SET
00027 
00028 #include "TBOwner.hpp"
00029 #include "CGMGeomConfigure.h"
00030 
00031 class TopologyBridge;
00032 template <class X> class DLIList;
00033 
00034 class CUBIT_GEOM_EXPORT TBOwnerSet : public TBOwner
00035 {
00036   public:
00037     ~TBOwnerSet();
00038   
00039     virtual void get_owners( DLIList<TopologyBridge*>& owner_list ) const = 0;
00040     
00041     virtual int get_owner_layer() const = 0;
00042 };
00043 
00044 #endif
00045 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines