Ref T307, using "isReadyToSend" to detect if we can send AI object updates

This commit is contained in:
Klaus Basan
2018-08-21 15:59:48 +02:00
parent 4850e20160
commit a1470200eb
2 changed files with 11 additions and 4 deletions

View File

@@ -134,6 +134,9 @@ namespace BlackSimPlugin
//! Removing is pending
bool isPendingRemoved() const { return m_pendingRemoved; }
//! Object which can be used for sending, not pending and valid ids
bool isReadyToSend() const { return !this->isPending() && this->hasValidRequestAndObjectId(); }
//! Marked as pending for removal
void setPendingRemoved(bool pending);