1 #ifndef VIEWEREVENT_H_INCLUDED
2 #define VIEWEREVENT_H_INCLUDED
36 using Source = std::shared_ptr<IViewerNode>;
38 enum Type { Enabled, Disabled };
40 ViewerEvent(Source s, Type t) : m_source(s), m_type(t) {}
42 Source GetSource()
const {
return m_source; }
44 Type GetType()
const {
return m_type; }
55 #endif // end_of_inclde_guard
An event transmitted by viewers to notify whether they are enabled or disabled.
Namespace for generic graphical shell for simulators.