opynsim
Unofficial C++ Documentation
Loading...
Searching...
No Matches
versioned_component_accessor.h
Go to the documentation of this file.
1#pragma once
2
5
6namespace opyn
7{
9 public:
12
13 private:
14 // Implementors may return a `UID` that uniquely identifies the current version of the component.
16 {
17 // assume the version always changes, unless the concrete implementation
18 // provides a way of knowing when it doesn't
19 return osc::UID{};
20 }
21
22 // Implementors may use this to manually set the version of the component (sometimes useful for caching)
24 };
25}
Definition component_accessor.h:9
Definition versioned_component_accessor.h:8
osc::UID getComponentVersion() const
Definition versioned_component_accessor.h:10
virtual void implSetComponentVersion(osc::UID)
Definition versioned_component_accessor.h:23
void setComponentVersion(osc::UID id)
Definition versioned_component_accessor.h:11
virtual osc::UID implGetComponentVersion() const
Definition versioned_component_accessor.h:15
Definition uid.h:14
Definition component_registry.h:14