-------------------------------------------------------------------------------------- Description: Implements IListNotify interface. Notifies inserted emitters that they are going to be updated in a multi-threaded scenario. Arguments: event - List event value - List element modified theList - List --------------------------------------------------------------------------------------
| 66 | // theList - List |
| 67 | // -------------------------------------------------------------------------------------- |
| 68 | void Tr2SphereConstraint::OnListModified( |
| 69 | long event, |
| 70 | ssize_t, |
| 71 | ssize_t, |
| 72 | IRoot* value, |
| 73 | const IList* theList ) |
| 74 | { |
| 75 | if( ( event & BELIST_LOADING ) == 0 && ( event & BELIST_EVENTMASK ) == BELIST_INSERTED && theList == &m_onCollisionEmitters && value ) |
| 76 | { |
| 77 | ITr2GenericEmitterPtr emitter( BlueCastPtr( value ) ); |
| 78 | if( emitter ) |
| 79 | { |
| 80 | emitter->SetThreadSafeFlag(); |
| 81 | } |
| 82 | } |
| 83 | } |
| 84 | |
| 85 | // -------------------------------------------------------------------------------------- |
| 86 | // Description: |
nothing calls this directly
no test coverage detected