VPTissue Reference Manual
|
Public Member Functions | |
SubjectViewerNodeWrapper (std::shared_ptr< IViewerNode > node) | |
virtual IViewerNode::ChildrenMap::const_iterator | begin () const |
Get iterator pointing to first child. | |
virtual void | Disable () |
Disable node. | |
virtual void | Enable () |
Enable node. | |
virtual IViewerNode::ChildrenMap::const_iterator | end () const |
Get iterator pointing to one position after last child. | |
virtual bool | IsEnabled () const |
Test whether node is enabled. More... | |
virtual bool | IsParentEnabled () const |
Test whether parent node is enabled. | |
Public Member Functions inherited from SimShell::Viewer::IViewerNodeWithParent< FakeSubjectType > | |
virtual | ~IViewerNodeWithParent () |
Virtual destructor. | |
Public Member Functions inherited from SimShell::Viewer::IViewerNode | |
virtual | ~IViewerNode () |
Virtual destructor. | |
Public Member Functions inherited from SimPT_Sim::Util::Subject< Event::ViewerEvent, std::weak_ptr< const void > > | |
void | Notify (const EventType &) |
void | Register (const U *, CallbackType) |
void | Unregister (const U *) |
void | UnregisterAll () |
Protected Member Functions | |
virtual void | ParentDisabled () |
virtual void | ParentEnabled (std::shared_ptr< FakeSubjectType >) |
Additional Inherited Members | |
Public Types inherited from SimShell::Viewer::IViewerNode | |
typedef std::map< std::string, std::shared_ptr< IViewerNode > > | ChildrenMap |
Public Types inherited from SimPT_Sim::Util::Subject< Event::ViewerEvent, std::weak_ptr< const void > > | |
typedef std::function< void(const EventType &)> | CallbackType |
typedef Event::ViewerEvent | EventType |
typedef const std::weak_ptr< const void > * | KeyType |
Definition at line 73 of file SubjectNode.h.
|
inlinevirtual |
Test whether node is enabled.
Note that an enabled node still won't do anything if its parent is disabled.
Implements SimShell::Viewer::IViewerNode.
Definition at line 85 of file SubjectNode.h.
|
inlineprotectedvirtual |
Implements SimShell::Viewer::IViewerNodeWithParent< FakeSubjectType >.
Definition at line 95 of file SubjectNode.h.
|
inlineprotectedvirtual |
Implements SimShell::Viewer::IViewerNodeWithParent< FakeSubjectType >.
Definition at line 98 of file SubjectNode.h.