summaryrefslogtreecommitdiffstats
path: root/src/engine/events/SetMetadata.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/events/SetMetadata.hpp')
-rw-r--r--src/engine/events/SetMetadata.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/engine/events/SetMetadata.hpp b/src/engine/events/SetMetadata.hpp
index 3fd3c904..cf33b5aa 100644
--- a/src/engine/events/SetMetadata.hpp
+++ b/src/engine/events/SetMetadata.hpp
@@ -57,6 +57,8 @@ namespace Events {
* properties from the message.
*/
+class SetPortValue;
+
/** Set properties of a graph object.
* \ingroup engine
*/
@@ -68,10 +70,13 @@ public:
SharedPtr<Responder> responder,
SampleCount timestamp,
QueuedEventSource* source,
+ bool replace,
bool meta,
const Raul::URI& subject,
const Shared::Resource::Properties& properties);
+ ~SetMetadata();
+
void pre_process();
void execute(ProcessContext& context);
void post_process();
@@ -86,13 +91,17 @@ private:
POLYPHONIC
};
+ typedef std::vector<SetPortValue*> SetEvents;
+
QueuedEvent* _create_event;
+ SetEvents _set_events;
std::vector<SpecialType> _types;
Raul::URI _subject;
Shared::Resource::Properties _properties;
Shared::ResourceImpl* _object;
PatchImpl* _patch;
CompiledPatch* _compiled_patch;
+ bool _replace;
bool _is_meta;
bool _success;
};