VPTissue Reference Manual
|
Template implementing a node in a hierarchical tree of viewers.Parameters: More...
#include <ViewerNode.h>
Public Member Functions | |
ViewerNode (std::shared_ptr< Ws::MergedPreferences > p, IViewerNode::ChildrenMap &&c, Gui::Controller::AppController *app=nullptr) | |
ViewerNode (std::shared_ptr< Ws::MergedPreferences > p, Gui::Controller::AppController *app=nullptr) | |
virtual | ~ViewerNode () |
Virtual destructor. | |
virtual IViewerNode::ChildrenMap::const_iterator | begin () const |
template<class T > | |
std::enable_if<!viewer_is_widget< T >::value, std::shared_ptr< T > >::type | CreateViewer () |
template<class T > | |
std::enable_if< viewer_is_widget< T >::value, std::shared_ptr< T > >::type | CreateViewer () |
virtual void | Disable () |
virtual void | Enable () |
virtual IViewerNode::ChildrenMap::const_iterator | end () const |
virtual bool | IsEnabled () const |
virtual bool | IsParentEnabled () const |
Public Member Functions inherited from SimShell::Viewer::IViewerNodeWithParent< SubjectType > | |
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< SubjectType >) |
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 |
Template implementing a node in a hierarchical tree of viewers.Parameters:
Definition at line 50 of file ViewerNode.h.
|
virtual |
Implements SimShell::Viewer::IViewerNode.
Definition at line 263 of file ViewerNode.h.
|
virtual |
Implements SimShell::Viewer::IViewerNode.
Definition at line 233 of file ViewerNode.h.
|
virtual |
Implements SimShell::Viewer::IViewerNode.
Definition at line 242 of file ViewerNode.h.
|
virtual |
Implements SimShell::Viewer::IViewerNode.
Definition at line 269 of file ViewerNode.h.
|
virtual |
Implements SimShell::Viewer::IViewerNode.
Definition at line 251 of file ViewerNode.h.
|
virtual |
Implements SimShell::Viewer::IViewerNode.
Definition at line 257 of file ViewerNode.h.
|
protectedvirtual |
Implements SimShell::Viewer::IViewerNodeWithParent< SubjectType >.
Definition at line 283 of file ViewerNode.h.
|
protectedvirtual |
Implements SimShell::Viewer::IViewerNodeWithParent< SubjectType >.
Definition at line 275 of file ViewerNode.h.