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

Public Member Functions | |
| DtObjectVisibilityManager (makVrv::DtDe &) | |
| CTOR. More... | |
| virtual | ~DtObjectVisibilityManager () |
| DTOR. More... | |
| virtual void | show (makVrv::DtUniqueID, int context) |
| Set an object shown/hidden. More... | |
| virtual void | hide (makVrv::DtUniqueID, int context) |
| virtual void | elementAttributeChangeRequested (makVrv::DtUniqueID id, makVrv::DtUniqueID parentId, DtBoost::shared_ptr< const makVrv::DtElementAttribute > atr) |
| Called when element changes are requested, if show/hide context, deal with that. More... | |
| virtual bool | isVisible (makVrv::DtUniqueID, int hasFlag=-1) const |
| virtual bool | onlyFlagHiding (makVrv::DtUniqueID, int flag) const |
| Returns true if this is the only flag known to be hiding this object. More... | |
| virtual DtVrfSelectionFilter * | insertFilterAtBeginning (const DtVrfSelectionFilter &) |
| When state views are added to the system they will go through the visibility filters check. More... | |
| virtual DtVrfSelectionFilter * | addFilter (const DtVrfSelectionFilter &) |
| virtual bool | removeFilter (const DtVrfSelectionFilter &filter) |
| When removed, the filter will be deleted. More... | |
| virtual void | moveFilterToEnd (DtVrfSelectionFilter *) |
| Takes the given filter (which was returned by a previous add or insert filter) and moves it to the end of the list. More... | |
| virtual void | setObjectVisibleByFilters (const makVrv::DtStateView< makVrv::DtVrlinkSimulatedBaseState > *s) |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. More... | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. More... | |
Static Public Member Functions | |
| static DtObjectVisibilityManager & | instance (makVrv::DtDe &de) |
| Returns DtLocalWeatherManager of the manager. More... | |
| static void | registerInstance (makVrv::DtDe &, DtObjectVisibilityManager *) |
| Register a new manager instance. More... | |
Public Attributes | |
| boost::signals2::signal< void(makVrv::DtUniqueID, bool)> | signal_objectVisibilityChanged |
| Signal sent for show/hide change. Flag is true if visible, false if hidden. More... | |
Protected Types | |
| typedef boost::unordered_map < makVrv::DtUniqueID, std::set < int > > | VisibilityStatus |
Protected Member Functions | |
| virtual void | initialize () |
| virtual void | slot_onStateViewAdded (const makVrv::DtStateView< makVrv::DtVrlinkSimulatedBaseState > *s) |
| Called when a state view is added. More... | |
| virtual void | slot_onObjectUpdated (makVrv::DtStateView< makVrv::DtVrlinkSimulatedBaseState > *s) |
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 |
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 |
| boost::signals2::signal<void (makVrv::DtUniqueID, bool)> makVrf::DtObjectVisibilityManager::signal_objectVisibilityChanged |
Signal sent for show/hide change. Flag is true if visible, false if hidden.
|
protected |
|
protected |
|
protected |
|
protected |