12#ifndef ROOT7_REveScene
13#define ROOT7_REveScene
23namespace Experimental {
51 const REveElement* element,
const std::string& action) :
86 REveScene(
const std::string &
n =
"REveScene",
const std::string &t =
"");
119 void AddCommand(
const std::string &
name,
const std::string &icon,
const REveElement *element,
const std::string &action);
135 REveSceneList(
const std::string &
n =
"REveSceneList",
const std::string &t =
"");
Central application manager for web-based REve.
const std::string & GetName() const
TClass * IsA() const
Return class for this element Return REveElement class in case dicitonary is not exisiting.
ElementId_t GetElementId() const
std::list< REveElement * > List_t
void EndAcceptingChanges()
REveSceneList(const REveSceneList &)=delete
void BeginAcceptingChanges()
Loop-wrapers over Scene children, element type checked on insertion.
REveSceneList & operator=(const REveSceneList &)=delete
void DestroyScenes()
Destroy all scenes and their contents.
~REveSceneList() override
std::vector< std::unique_ptr< REveClient > > fSubscribers
!
REveScene(const REveScene &)=delete
Bool_t HasSubscribers() const
void AddCommand(const std::string &name, const std::string &icon, const REveElement *element, const std::string &action)
void SetMandatory(bool x)
void SetIsOverlay(bool x)
void SetHierarchical(Bool_t h)
void AddSubscriber(std::unique_ptr< REveClient > &&sub)
std::vector< char > fOutputBinary
!
~REveScene() override
Destructor.
Bool_t IsAcceptingChanges() const
Bool_t fAcceptingChanges
!
void SceneElementRemoved(ElementId_t id)
void StreamRepresentationChanges()
Prepare data for sending element changes.
void StreamJsonRecurse(REveElement *el, nlohmann::json &jobj)
std::vector< SceneCommand > fCommands
!
void SendChangesToSubscribers()
void BeginAcceptingChanges()
Bool_t GetHierarchical() const
List_t fElsWithBinaryData
REveScene & operator=(const REveScene &)=delete
Int_t WriteCoreJson(nlohmann::json &cj, Int_t rnr_offset) override
Write core json.
std::vector< ElementId_t > fRemovedElements
!
void SceneElementChanged(REveElement *element)
Bool_t SingleRnrState() const override
void EndAcceptingChanges()
void RemoveSubscriber(unsigned int)
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...
std::string fElementClass
SceneCommand(const std::string &name, const std::string &icon, const REveElement *element, const std::string &action)