-------------------------------------------------------------------------------------- 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 --------------------------------------------------------------------------------------
| 81 | // theList - List |
| 82 | // -------------------------------------------------------------------------------------- |
| 83 | void Tr2PlaneConstraint::OnListModified( |
| 84 | long event, |
| 85 | ssize_t, |
| 86 | ssize_t, |
| 87 | IRoot* value, |
| 88 | const IList* theList ) |
| 89 | { |
| 90 | if( ( event & BELIST_LOADING ) == 0 && ( event & BELIST_EVENTMASK ) == BELIST_INSERTED && theList == &m_onCollisionEmitters && value ) |
| 91 | { |
| 92 | ITr2GenericEmitterPtr emitter( BlueCastPtr( value ) ); |
| 93 | if( emitter ) |
| 94 | { |
| 95 | emitter->SetThreadSafeFlag(); |
| 96 | } |
| 97 | } |
| 98 | } |
| 99 | |
| 100 | // -------------------------------------------------------------------------------------- |
| 101 | // Description: |
nothing calls this directly
no test coverage detected