![]() |
VR-Forces 4.1.1 Class Documentation
|

Classes | |
| struct | FilterContext |
Public Member Functions | |
| DtObjectFilterManager (makVrv::DtDe &de) | |
| virtual | ~DtObjectFilterManager () |
| virtual void | activateFilter (bool, const makVrf::DtVrfSelectionFilter &) |
| virtual bool | filterActive (const makVrf::DtVrfSelectionFilter &) const |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. | |
Static Public Member Functions | |
| static DtObjectFilterManager & | instance (makVrv::DtDe &) |
Protected Types | |
| typedef std::map< std::string, makVrf::DtVrfSelectionFilter * > | FilterMap |
| typedef std::map< std::string, bool > | FilterContextMap |
| Map of filters that are currently applied to the particular element ID. | |
| typedef std::map < makVrv::DtElementID, FilterContext > | ElementContextMap |
| Map of element ID to current hide contexts. | |
| typedef std::map< std::string, int > | ShowHideContextMap |
| Map of IDs to show/hide context. | |
Protected Member Functions | |
| virtual void | slot_simObjectEntryAboutToBeRemoved (makVrv::DtSimObjectEntry &e) |
| Remove from internal structures this element. | |
| virtual void | slot_simStateAdded (makVrv::DtSimObjectEntry &e) |
| Add to internal structures and connect to object for state view being updated. | |
| virtual void | slot_tick () |
| Called when items are waiting, see if base state has shown up. | |
| virtual void | slot_stateViewUpdated (makVrv::DtStateView< makVrv::DtVrlinkSimulatedBaseState > *) |
| Called when a state view is updated, see if the visiblity state of any filter has changed for this object. | |
| virtual void | deactivateFilter (const makVrf::DtVrfSelectionFilter &) |
| Goes through all items, and, any item that is activated by this filter will be deactivated. | |
| virtual void | deactivateFilter (const makVrf::DtVrfSelectionFilter &, makVrv::DtElementID) |
| virtual void | activateFilter (const makVrf::DtVrfSelectionFilter &) |
| Goes through all items and activates the filter for any item that passes the filter test. | |
| virtual void | activateFilter (const makVrf::DtVrfSelectionFilter &, makVrv::DtElementID) |
| virtual int | showHideContext (const std::string &filter) |
| Returns a show/hide context for the particular show/hide item. | |
| virtual void | show (makVrv::DtElementID, int context, bool makeVisible) |
| Will send an element data request to show/hide the particular context. | |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| FilterMap | myFilters |
| makVrv::DtSignalConnectionManager | myConnectionManager |
| Manages all boost connections made by this object. | |
| ElementContextMap | myElementContextMap |
| std::map< makVrv::DtElementID, bool > | myWaiting |
| ShowHideContextMap | myShowHideContextMap |
|
protected |
|
protected |
Map of filters that are currently applied to the particular element ID.
Kept so that items are not hidden or shown for a particular filter more than the one time they need to be Map of filter contexts activated
|
protected |
Map of element ID to current hide contexts.
|
protected |
Map of IDs to show/hide context.
| DtObjectFilterManager::DtObjectFilterManager | ( | makVrv::DtDe & | de | ) |
|
virtual |
|
static |
|
virtual |
|
virtual |
|
protectedvirtual |
Remove from internal structures this element.
|
protectedvirtual |
Add to internal structures and connect to object for state view being updated.
|
protectedvirtual |
Called when items are waiting, see if base state has shown up.
|
protectedvirtual |
Called when a state view is updated, see if the visiblity state of any filter has changed for this object.
|
protectedvirtual |
Goes through all items, and, any item that is activated by this filter will be deactivated.
|
protectedvirtual |
|
protectedvirtual |
Goes through all items and activates the filter for any item that passes the filter test.
|
protectedvirtual |
|
protectedvirtual |
Returns a show/hide context for the particular show/hide item.
|
protectedvirtual |
Will send an element data request to show/hide the particular context.
|
protected |
|
protected |
|
protected |
Manages all boost connections made by this object.
Will disconnect them automatically when this object is destroyed
|
protected |
|
protected |
|
protected |