Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
|
Generates InteractionEvent-Objects/XML. More...
#include <mitkEventFactory.h>
Static Public Member Functions | |
static InteractionEvent::Pointer | CreateEvent (PropertyList::Pointer eventDescription) |
static std::string | EventToXML (InteractionEvent *event) |
EventToXML Transforms an event into a XML tag describing it. More... | |
Generates InteractionEvent-Objects/XML.
1) InteractionEvents can be constructed by a PropertyList describing the event (see mitk::EventConfig for examples) 2) An XML description of InteractionEvents can be retrieved.
This class is used by the EventConfig object to parse configuration files and create Events based on the xml description.
Definition at line 35 of file mitkEventFactory.h.
|
static |
Parses PropertyList and queries all possible Information. If an attribute is not present the default value is used. Finally the Event-Type is chosen by the ClassName property and the object is created using the collected information.
|
static |
EventToXML Transforms an event into a XML tag describing it.
event |