hla: Remove deprecated methods from HLAObjectClass

This commit is contained in:
Mathias Froehlich
2012-07-21 12:55:53 +02:00
parent 1f46c79396
commit d4db4fcac3
2 changed files with 0 additions and 10 deletions

View File

@@ -299,21 +299,12 @@ HLAObjectClass::stopRegistration() const
HLAObjectInstance*
HLAObjectClass::createObjectInstance(const std::string& name)
{
HLAObjectInstance* objectInstance = createObjectInstance();
if (objectInstance)
return objectInstance;
SGSharedPtr<HLAFederate> federate = _federate.lock();
if (!federate.valid())
return 0;
return federate->createObjectInstance(this, name);
}
HLAObjectInstance*
HLAObjectClass::createObjectInstance()
{
return 0;
}
void
HLAObjectClass::_setRTIObjectClass(RTIObjectClass* objectClass)
{

View File

@@ -120,7 +120,6 @@ public:
/// Create a new instance of this class.
virtual HLAObjectInstance* createObjectInstance(const std::string& name);
virtual HLAObjectInstance* createObjectInstance(); // deprecated
private:
HLAObjectClass(const HLAObjectClass&);