Proud::IHlaDelegate_C Class Referenceabstract
Inheritance diagram for Proud::IHlaDelegate_C:

Public Member Functions

virtual void HlaOnEntityAppear (CHlaEntity_C *entity)=0
 
virtual void HlaOnEntityDisappear (CHlaEntity_C *entity)=0
 
- Public Member Functions inherited from Proud::IHlaDelegate_Common
virtual void HlaOnLockCriticalSection ()=0
 
virtual void HlaOnUnlockCriticalSection ()=0
 

Detailed Description

TODO:translate needed. This is an interface called back by HLA session client.

Note

  • In versions other than C++, this method may be in the form of delegate callback.

Member Function Documentation

virtual void Proud::IHlaDelegate_C::HlaOnEntityAppear ( CHlaEntity_C entity)
pure virtual

TODO:translate needed. When an HLA entity is generated, this method is called back. This is called when the lock is performed by HlaOnLockCriticalSection()

virtual void Proud::IHlaDelegate_C::HlaOnEntityDisappear ( CHlaEntity_C entity)
pure virtual

TODO:translate needed. When an HLA entity is destroyed, this method is called back. You must destroy the entity as shown below, otherwise it will lead to memory leak. (You don’t have to destroy in C# version, for it is removed by the garbage collector)

delete entity;

It is called while the lock is performed by HlaOnLockCriticalSection()