![]() |
VR-Forces Developer's Guide
|

Static Public Member Functions | |
| static DtObjectVisibilityManager & | instance (makVrv::DtDe &de) |
| static void | registerInstance (makVrv::DtDe &, DtObjectVisibilityManager *) |
Public Attributes | |
| boost::signals2::signal< void(makVrv::DtUniqueID, bool, int)> | signal_objectVisibilityChanged |
Protected Types | |
| typedef std::unordered_map < makVrv::DtUniqueID, std::set < int > > | VisibilityStatus |
Protected Member Functions | |
| virtual void | initialize () |
| virtual void | slot_onStateViewAdded (const makVrv::DtStateView< makVrv::DtVrlinkSimulatedBaseState > *s) |
| virtual void | slot_onObjectUpdated (makVrv::DtStateView< makVrv::DtVrlinkSimulatedBaseState > *s) |
| virtual void | slot_attributesChanged (const makVrv::DtElementAttributeManager::EntryAttributesList &l) |
| virtual void | updateVisibility (makVrv::DtUniqueID id, bool visibile) |
Protected Attributes | |
| VisibilityStatus | myVisibilityStatus |
| makVrv::DtDe & | myDe |
| makVrv::DtSignalConnectionManager | myConnectionManager |
| std::vector < DtVrfSelectionFilter * > | myVisibilityFilters |
|
protected |
| makVrf::DtObjectVisibilityManager::DtObjectVisibilityManager | ( | makVrv::DtDe & | ) |
CTOR.
|
virtual |
DTOR.
|
static |
Returns DtLocalWeatherManager of the manager.
|
static |
Register a new manager instance.
|
virtual |
Set an object shown/hidden.
|
virtual |
|
virtual |
Called when element changes are requested, if show/hide context, deal with that.
|
virtual |
|
virtual |
|
virtual |
Returns true if this is the only flag known to be hiding this object.
|
virtual |
When state views are added to the system they will go through the visibility filters check. Any filter that would have the object be not shown when created will mean the object is not shown when it firt appears in this front-end.
If the object wants to be hidden, the isValid method should return true
|
virtual |
|
virtual |
When removed, the filter will be deleted.
|
virtual |
Takes the given filter (which was returned by a previous add or insert filter) and moves it to the end of the list.
|
virtual |
|
protectedvirtual |
|
protectedvirtual |
Called when a state view is added. Will resolve any pending process operations that failed due to missing state views.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
| boost::signals2::signal<void (makVrv::DtUniqueID, bool, int)> makVrf::DtObjectVisibilityManager::signal_objectVisibilityChanged |
Signal sent for show/hide change. Flag is true if visible, false if hidden.
|
protected |
|
protected |
|
protected |
|
protected |