VPTissue Reference Manual
SimShell::Viewer::IViewerNodeWithParent< SubjectType > Class Template Referenceabstract

A viewer node with a parent. More...

#include <IViewerNode.h>

Inheritance diagram for SimShell::Viewer::IViewerNodeWithParent< SubjectType >:
Inheritance graph
Collaboration diagram for SimShell::Viewer::IViewerNodeWithParent< SubjectType >:
Collaboration graph

Public Member Functions

virtual ~IViewerNodeWithParent ()
 Virtual destructor.
 
virtual void ParentDisabled ()=0
 Enable entire subtree.
 
virtual void ParentEnabled (std::shared_ptr< SubjectType >)=0
 Disable entire subtree.
 
- Public Member Functions inherited from SimShell::Viewer::IViewerNode
virtual ~IViewerNode ()
 Virtual destructor.
 
virtual ChildrenMap::const_iterator begin () const =0
 Get iterator pointing to first child.
 
virtual void Disable ()=0
 Disable node.
 
virtual void Enable ()=0
 Enable node.
 
virtual ChildrenMap::const_iterator end () const =0
 Get iterator pointing to one position after last child.
 
virtual bool IsEnabled () const =0
 Test whether node is enabled. More...
 
virtual bool IsParentEnabled () const =0
 Test whether parent node is enabled.
 
- 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 ()
 

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
 

Detailed Description

template<class SubjectType>
class SimShell::Viewer::IViewerNodeWithParent< SubjectType >

A viewer node with a parent.

Definition at line 64 of file IViewerNode.h.


The documentation for this class was generated from the following file: