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;
6 /**--------------------------------------------------------------------------------------------------
7 \brief Listens for a change of a particular property to a given target (DEPRECIATED)
8 **/
10 {
11 public:
13 };
14 /**--------------------------------------------------------------------------------------------------
15 \brief Used to listen for changes to properties (DEPRECIATED)
16 **/
18 {
19 public:
21 {
22 m_change_listeners[id]->onPropertyChanged(target, prop);
23 }
24 protected:
26 };
27}
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:56
A low-level database object that can be used to access general stored properties within the NDEVR Mod...
Definition DesignObject.h:67
DesignProperty
Values stored in the property database.
Definition DesignObject.h:93
Listens for a change of a particular property to a given target (DEPRECIATED)
Definition DesignChangeListener.h:10
virtual void onPropertyChanged(DesignObject &target, DesignObject::DesignProperty prop)=0
Used to listen for changes to properties (DEPRECIATED)
Definition DesignChangeListener.h:18
Buffer< PropertyChangeListener * > m_change_listeners
Definition DesignChangeListener.h:25
void onPropertyChanged(uint04 id, DesignObject &target, DesignObject::DesignProperty prop)
Definition DesignChangeListener.h:20
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:96