API Documentation
Loading...
Searching...
No Matches
DesignChangeListener.h
Go to the documentation of this file.
1#pragma once
2#include <NDEVR/DesignObject.h>
3namespace NDEVR
4{
5 class DesignObject;
7 {
8 public:
10 };
12 {
13 public:
15 {
16 m_change_listeners[id]->onPropertyChanged(target, prop);
17 }
18 protected:
20 };
21}
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:64
Definition DesignObject.h:66
DesignProperty
Definition DesignObject.h:94
Definition DesignChangeListener.h:7
virtual void onPropertyChanged(DesignObject &target, DesignObject::DesignProperty prop)=0
Definition DesignChangeListener.h:12
Buffer< PropertyChangeListener * > m_change_listeners
Definition DesignChangeListener.h:19
void onPropertyChanged(uint04 id, DesignObject &target, DesignObject::DesignProperty prop)
Definition DesignChangeListener.h:14
Definition ACIColor.h:37
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:120