hla: disable copying for HLA*Class.

This commit is contained in:
Mathias Froehlich
2011-10-01 10:11:33 +02:00
parent 10217a3b19
commit 344f876b0a
2 changed files with 7 additions and 0 deletions

View File

@@ -25,6 +25,10 @@ class RTIInteractionClass;
class HLAInteractionClass : public SGWeakReferenced {
public:
virtual ~HLAInteractionClass() {}
private:
HLAInteractionClass(const HLAInteractionClass&);
HLAInteractionClass& operator=(const HLAInteractionClass&);
};
} // namespace simgear

View File

@@ -95,6 +95,9 @@ protected:
virtual HLAObjectInstance* createObjectInstance(RTIObjectInstance* rtiObjectInstance);
private:
HLAObjectClass(const HLAObjectClass&);
HLAObjectClass& operator=(const HLAObjectClass&);
// The internal entry points from the RTILObjectClass callback functions
void discoverInstance(RTIObjectInstance* objectInstance, const RTIData& tag);
void removeInstance(HLAObjectInstance& objectInstance, const RTIData& tag);