MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::ObjectTagEventDispatcher Class Reference

class for dispatching object tag addition/removal events More...

#include <MRObjectTagEventDispatcher.h>

Public Types

using TagAddedSignal = Signal<void ( Object* obj, const std::string& tag )>
 
using TagRemovedSignal = Signal<void ( Object* obj, const std::string& tag )>
 

Static Public Member Functions

static MRMESH_API ObjectTagEventDispatcherinstance ()
 returns singleton instance
 

Public Attributes

TagAddedSignal tagAddedSignal
 the signal is called when a tag is added to any object
 
TagRemovedSignal tagRemovedSignal
 the signal is called when a tag is removed from any object
 

Detailed Description

class for dispatching object tag addition/removal events

Member Typedef Documentation

◆ TagAddedSignal

using MR::ObjectTagEventDispatcher::TagAddedSignal = Signal<void ( Object* obj, const std::string& tag )>

◆ TagRemovedSignal

using MR::ObjectTagEventDispatcher::TagRemovedSignal = Signal<void ( Object* obj, const std::string& tag )>

Member Function Documentation

◆ instance()

static MRMESH_API ObjectTagEventDispatcher & MR::ObjectTagEventDispatcher::instance ( )
static

returns singleton instance

Member Data Documentation

◆ tagAddedSignal

TagAddedSignal MR::ObjectTagEventDispatcher::tagAddedSignal

the signal is called when a tag is added to any object

◆ tagRemovedSignal

TagRemovedSignal MR::ObjectTagEventDispatcher::tagRemovedSignal

the signal is called when a tag is removed from any object


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