API Documentation
|
Creates logic that mirrors two resources. Meaning changing either resource will modify the other resource. More...
#include <ResourceMirror.h>
Public Member Functions | |
virtual void | addInfoParent (const ResourceBase *info) override |
virtual void | onValueChanged () override |
virtual void | removeInfoParent (const ResourceBase *info) override |
ResourceMirror (Resource< t_type > &a, Resource< t_type > &b) | |
virtual | ~ResourceMirror () |
Public Member Functions inherited from ResourceListener | |
void | changeValue () |
void | disable (bool disable) |
void | disconnectListener () |
uint04 | getInfoParentSize () const |
ResourceListener () | |
virtual | ~ResourceListener () |
Public Attributes | |
Resource< t_type > & | a |
Resource< t_type > & | b |
t_type | value |
Creates logic that mirrors two resources. Meaning changing either resource will modify the other resource.
|
inline |
|
inlinevirtual |
|
inlineoverridevirtual |
Reimplemented from ResourceListener.
|
inlineoverridevirtual |
Implements ResourceListener.
|
inlineoverridevirtual |
Reimplemented from ResourceListener.
Resource<t_type>& a |
Resource<t_type>& b |
t_type value |