![]() |
VR-Forces Developer's Guide
|
Logic for scene graph tree display widget.

Public Types | |
| typedef std::vector < boost::shared_ptr < FeatureRecord > > | FeatureRecordVector |
| typedef std::list < boost::shared_ptr < FeatureRecord > > | FeatureRecordList |
Public Slots | |
| void | insertChangeRequest () |
| void | clearRequests () |
Signals | |
| void | indexSelected (QModelIndex) |
| void | rowAdded (int i) |
| void | rowChanged (int i) |
| void | rowRemoved (int i) |
Public Member Functions | |
| virtual | ~DtDynamicTerrainPageLogic () |
| virtual void | setupContextMenu (QMenu *menu, const QModelIndex &) |
| virtual void | clickedOnMap (const DtVector &point) |
| virtual void | runQuery () |
| virtual void | shutdown () |
| FeatureRecord (DtDe &de, DtDynamicTerrainPageLogic &logic, const boost::shared_ptr< const DtDynamicTerrainFeature > &feature) | |
| virtual | ~FeatureRecord () |
| boost::shared_ptr< const DtDynamicTerrainFeature > | feature () const |
| int | index () const |
| void | setIndex (int index) |
| QVariant | getData (unsigned col) const |
| void | update (const DtDynamicTerrainFeature &feature) |
| void | setupContextMenu (QMenu *menu) |
| void | disconnect () |
| void | addDisconnector (const boost::signalslib::connection &conn) |
| void | addRequest (const DtDynamicTerrainChange &) |
| void | clearRequests () |
| RequestAction (const DtDynamicTerrainChange &change, const boost::shared_ptr< FeatureRecord > &featureRecord, QObject *parent) | |
| virtual QVariant | headerData (int column, Qt::Orientation, int role) const |
| virtual QModelIndex | index (int row, int column, const QModelIndex &parent) const |
| virtual QModelIndex | parent (const QModelIndex &) const |
| virtual int | rowCount (const QModelIndex &index) const |
| virtual int | columnCount (const QModelIndex &index) const |
| virtual QVariant | data (const QModelIndex &index, int role) const |
Static Public Member Functions | |
| static boost::shared_ptr < DtDynamicTerrainPageLogic > | create (DtDe &de, DtDynamicTerrainPageInterface &iface) |
Protected Types | |
| typedef tbb::mutex | Mutex |
Protected Slots | |
| virtual void | addRow (int i) |
| virtual void | changeRow (int i) |
| virtual void | removeRow (int i) |
Protected Member Functions | |
| DtDynamicTerrainPageLogic (DtDe &de) | |
| virtual void | featureAdded (const DtDynamicTerrainFeature &feature) |
| virtual void | updateFeature (FeatureRecord *featureCallback, const DtDynamicTerrainFeature &feature) |
| virtual void | pagedOut (std::list< boost::shared_ptr< FeatureRecord > >::iterator i) |
| void | ensureValidVector () |
Protected Attributes | |
| tbb::atomic< bool > | myShutdownFlag |
| Mutex | myMutex |
| DtDe & | myDe |
| DtDynamicTerrainWorld::QueryHandle | myQueryHandle |
| size_t | myFeatureCount |
| bool | myVectorValid |
| FeatureRecordVector | myFeatureRecordVector |
| FeatureRecordList | myFeatureRecordList |
Private Types | |
| typedef tbb::spin_mutex | Mutex |
| typedef std::vector< QVariant > | DataContainer |
| typedef boost::ptr_vector < DtDynamicTerrainChange > | Changes |
| typedef std::vector < DtDynamicTerrainWorld::RequestHandle > | RequestHandles |
Private Member Functions | |
| void | addChange (const DtDynamicTerrainChange &change) |
| void | setData (unsigned col, const QVariant &value) |
Private Attributes | |
| const boost::weak_ptr< const DtDynamicTerrainFeature > | myFeature |
| std::list < boost::signalslib::connection > | myDisconnectors |
| DataContainer | myData |
| Changes | myChanges |
| int | myIndex |
| RequestHandles | myRequestHandles |
| boost::weak_ptr< FeatureRecord > | myFeatureRecord |
| boost::scoped_ptr < DtDynamicTerrainChange > | myChange |
Friends | |
| class | QueryCallback |
| typedef std::vector< boost::shared_ptr<FeatureRecord> > makVrv::DtDynamicTerrainPageLogic::FeatureRecordVector |
| typedef std::list< boost::shared_ptr<FeatureRecord> > makVrv::DtDynamicTerrainPageLogic::FeatureRecordList |
|
protected |
|
private |
|
private |
|
private |
|
private |
|
virtual |
DTOR.
|
explicitprotected |
Constructor is protected because the static creator needs to call bind().
|
virtual |
|
static |
Create and initialize the logic. It calls bind() on the created logic.
|
virtual |
Populate context menu for a given item.
|
virtual |
Called when user clicks on map.
|
virtual |
QAbstractItemModel interface.
|
virtual |
QAbstractItemModel interface.
|
virtual |
QAbstractItemModel interface.
|
virtual |
QAbstractItemModel interface.
|
virtual |
QAbstractItemModel interface.
|
virtual |
QAbstractItemModel interface.
|
virtual |
Call the query and store the query handle. Can be run in another thread.
|
virtual |
Called by owner when it wants to shutdown, right before removing shared ptr.
|
signal |
|
signal |
|
signal |
|
signal |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtual |
Callback function called by query when feature is paged in.
|
protectedvirtual |
|
protectedvirtual |
|
protected |
|
explicit |
|
inline |
|
inline |
|
inline |
| QVariant makVrv::DtDynamicTerrainPageLogic::getData | ( | unsigned | col | ) | const |
| void makVrv::DtDynamicTerrainPageLogic::update | ( | const DtDynamicTerrainFeature & | feature | ) |
| void makVrv::DtDynamicTerrainPageLogic::setupContextMenu | ( | QMenu * | menu | ) |
| void makVrv::DtDynamicTerrainPageLogic::disconnect | ( | ) |
| void makVrv::DtDynamicTerrainPageLogic::addDisconnector | ( | const boost::signalslib::connection & | conn | ) |
| void makVrv::DtDynamicTerrainPageLogic::addRequest | ( | const DtDynamicTerrainChange & | ) |
| void makVrv::DtDynamicTerrainPageLogic::clearRequests | ( | ) |
|
private |
|
private |
| makVrv::DtDynamicTerrainPageLogic::RequestAction | ( | const DtDynamicTerrainChange & | change, |
| const boost::shared_ptr< FeatureRecord > & | featureRecord, | ||
| QObject * | parent | ||
| ) |
|
slot |
|
slot |
|
friend |
|
protected |
|
mutableprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |