DtObjectInstanceListCtrl UI Controller type for object instances Populates a QListView with the object instances Catches selectionChanged events and forwards them as a signal Responds to object instance discovery and removal.
More...
Static Protected Member Functions |
| static void | updateEntityTypeCb (DtReflectedGenericObject *obj, void *userData) |
| | Callback for object updates to process entity type.
|
| static void | updateObjectTimeCb (const DtStateMsg &msg, DtHlaObject *obj, void *usr) |
| | Callback for object updates to process time.
|
Detailed Description
DtObjectInstanceListCtrl UI Controller type for object instances Populates a QListView with the object instances Catches selectionChanged events and forwards them as a signal Responds to object instance discovery and removal.
Constructor & Destructor Documentation
| virtual DtObjectInstanceListCtrl::~DtObjectInstanceListCtrl |
( |
| ) |
|
|
virtual |
Member Function Documentation
| virtual void DtObjectInstanceListCtrl::discoverObject |
( |
DtReflectedGenericObject * |
obj | ) |
|
|
virtual |
Process a discovered object.
| virtual void DtObjectInstanceListCtrl::fillListView |
( |
Q3ListView * |
listView | ) |
|
|
virtual |
| virtual bool DtObjectInstanceListCtrl::getEntityType |
( |
DtReflectedGenericObject * |
obj, |
|
|
bool |
addCallback, |
|
|
QString & |
entityTypeString |
|
) |
| |
|
protectedvirtual |
Display the object's entity type when it becomes available.
Initially, callback should be added. Subsequent calls should remove callback should be removed when entity type is updated.
| virtual DtReflectedGenericObject* DtObjectInstanceListCtrl::reflectedObject |
( |
const DtString & |
objectName | ) |
|
|
virtual |
Get the reflected object with the given name.
| virtual void DtObjectInstanceListCtrl::removeObject |
( |
DtReflectedGenericObject * |
obj | ) |
|
|
virtual |
Remove the specified object.
| virtual void DtObjectInstanceListCtrl::updateEntityType |
( |
DtReflectedGenericObject * |
obj | ) |
|
|
protectedvirtual |
Process an object update to capture a missing entity type.
| static void DtObjectInstanceListCtrl::updateEntityTypeCb |
( |
DtReflectedGenericObject * |
obj, |
|
|
void * |
userData |
|
) |
| |
|
staticprotected |
Callback for object updates to process entity type.
| virtual void DtObjectInstanceListCtrl::updateObjectTime |
( |
const DtStateMsg & |
msg, |
|
|
DtHlaObject * |
obj |
|
) |
| |
|
protectedvirtual |
Process an object update to update time.
| static void DtObjectInstanceListCtrl::updateObjectTimeCb |
( |
const DtStateMsg & |
msg, |
|
|
DtHlaObject * |
obj, |
|
|
void * |
usr |
|
) |
| |
|
staticprotected |
Callback for object updates to process time.
Member Data Documentation
| Q3ListView* DtObjectInstanceListCtrl::myListView |
|
protected |
| DtOMTTree& DtObjectInstanceListCtrl::myOmtTree |
|
protected |
The documentation for this class was generated from the following file: