|
libbio
|
#include <Quantum.h>


Static Public Member Functions | |
| ::bio::physical::Symmetry * | MakeSymmetry () |
Static Public Member Functions inherited from bio::physical::Class< Quantum< T > > | |
| static Pointer< Quantum< T > > | Convert (Pointer< Wave > wave) |
Static Public Member Functions inherited from bio::physical::Wave | |
| static Properties | GetResonanceBetween (ConstWaves waves) |
| static Properties | GetResonanceBetween (Pointer< const Wave > wave1, Pointer< const Wave > wave2) |
| static Properties | GetResonanceBetween (Pointer< const Wave > wave, const Properties &properties) |
Static Protected Member Functions | |
| static Pointer< T > | NewControlled () |
| static Pointer< T > | NewControlled (const T &value) |
Protected Attributes | |
| Pointer< T > | mQuantized |
| bool | mControlling |
Protected Attributes inherited from bio::physical::Class< Quantum< T > > | |
| Pointer< Quantum< T > > | mObject |
Protected Attributes inherited from bio::physical::Wave | |
| LazyPointer< Symmetry > | mSymmetry |
| bool | mHasSignal |
| uint16_t | mTypeId |
Quanta are simple Waves intended for built-in types.
They allow anything to be treated as a Biological Wave.
Iff you cannot derive from Wave, use Quantum<> instead.
Each Quantum<T> will store a pointer to a T which it will new on creation and delete on destruction.
| T |
|
inline |
| assignment |
|
inline |
| other |
|
inlinevirtual |
Quanta have properties matching their types.
This enables the IsInstance method in the PeriodicTable to work with Quantum-wrapped, primitive types.
Reimplemented from bio::physical::Wave.
|
inlinevirtual |
Simple getter.
Simple getter.
|
inlinestatic |
Lazy-Symmetry factory wired into the Wave LazyPointer by the physical::Class<T> factory ctor (replaces the eager per-instance new Symmetry). Materialises only when something Spins/derefs this Quantum's Symmetry — most never do. Stamps T's value-Symmetry exactly as the old eager path did.
|
inlinestaticprotected |
|
inlinestaticprotected |
Transparent access to the value of *this.
For ease of use.
|
inline |
Transparent access to the value of *this.
For ease of use.
Required method from Wave. See that class for details.
Reconstruct *this from the given Symmetry.
| symmetry |
Reimplemented from bio::physical::Wave.
Required method from Wave. See that class for details.
Reimplemented from bio::physical::Wave.
|
inlinevirtual |
Override of Wave method.
Here, we enable Superposing all Quantum Variables.
NOTE: The value of our mInterference does not matter; the mInterference of the interferer shall prevail.
| displacement | |
| pattern |
Reimplemented from bio::physical::Wave.
|
protected |