Develop Biology
The language of life
|
#include <Filterable.h>
Public Member Functions | |
Filterable (Filter filter) | |
virtual | ~Filterable () |
BIO_DISAMBIGUATE_ALL_CLASS_METHODS (physical, Filterable) Filterable() | |
Filter | GetFilter () const |
virtual void | InitializeImplementation (ByteStreams args) |
virtual Code | Reify (Symmetry *symmetry) |
virtual void | SetFilter (Filter filter) |
virtual Symmetry * | Spin () const |
Public Member Functions inherited from bio::physical::Class< Filterable > | |
Class (Filterable *object, Symmetry *symmetry=NULL) | |
virtual | ~Class () |
virtual Wave * | AsWave () |
virtual const Wave * | AsWave () const |
virtual Wave * | Clone () const |
Filterable * | Convert (Wave *wave) |
virtual | operator Filterable * () |
virtual | operator Wave * () |
Public Member Functions inherited from bio::physical::Wave | |
Wave (Symmetry *symmetry=NULL) | |
virtual | ~Wave () |
virtual chemical::Atom * | AsAtom () |
virtual const chemical::Atom * | AsAtom () const |
virtual Wave * | AsWave () |
virtual const Wave * | AsWave () const |
virtual Code | Attenuate (const Wave *other) |
virtual Wave * | Clone () const |
virtual Wave * | Demodulate () |
virtual const Wave * | Demodulate () const |
virtual Code | Disattenuate (const Wave *other) |
virtual Properties | GetProperties () const |
virtual Wave * | Modulate (Wave *signal) |
virtual Wave * | operator* () |
virtual const Wave * | operator* () const |
virtual Wave * | operator* (Wave *signal) |
virtual void | operator+ (const Wave *other) |
virtual void | operator- (const Wave *other) |
virtual void | operator| (Symmetry *symmetry) |
virtual Code | Reify (Symmetry *symmetry) |
virtual Symmetry * | Spin () const |
Protected Attributes | |
Filter | m_filter |
Protected Attributes inherited from bio::physical::Class< Filterable > | |
Filterable * | m_object |
Protected Attributes inherited from bio::physical::Wave | |
Wave * | m_signal |
Symmetry * | m_symmetry |
Protected Attributes inherited from bio::VirtualBase | |
bool | m_hasBeenInitialized |
Additional Inherited Members | |
Static Public Member Functions inherited from bio::physical::Wave | |
static Properties | GetResonanceBetween (const Wave *wave, const Properties &properties) |
static Properties | GetResonanceBetween (const Wave *wave1, const Wave *wave2) |
static Properties | GetResonanceBetween (ConstWaves waves) |
Protected Member Functions inherited from bio::VirtualBase | |
VirtualBase () | |
virtual | ~VirtualBase () |
void | Initialize (ByteStream arg1) |
void | Initialize (ByteStream arg1, ByteStream arg2) |
void | Initialize (ByteStream arg1, ByteStream arg2, ByteStream arg3) |
void | Initialize (ByteStreams args) |
virtual void | InitializeImplementation (ByteStreams args)=0 |
Filterable objects have a Filter. NOTE: Filterable objects only use a single Filter at a time. See log::Writer for example usage.
Definition at line 38 of file Filterable.h.
bio::physical::Filterable::Filterable | ( | Filter | filter | ) |
filter |
Definition at line 31 of file Filterable.cpp.
|
virtual |
Definition at line 54 of file Filterable.cpp.
bio::physical::Filterable::BIO_DISAMBIGUATE_ALL_CLASS_METHODS | ( | physical | , |
Filterable | |||
) |
Ensure virtual methods point to Class implementations.
Filter bio::physical::Filterable::GetFilter | ( | ) | const |
|
virtual |
VirtualBase required method. See that class for details (in common/)
args |
Implements bio::VirtualBase.
Reimplemented in bio::log::Writer.
Definition at line 82 of file Filterable.cpp.
References BIO_SANITIZE, and m_filter.
|
virtual |
Required method from Wave. See that class for details. Reconstruct *this from the given Symmetry.
symmetry |
Reimplemented from bio::physical::Wave.
Reimplemented in bio::molecular::Molecule, and bio::molecular::Surface.
Definition at line 74 of file Filterable.cpp.
References bio::code::BadArgument1(), BIO_SANITIZE, bio::physical::Symmetry::GetValue(), m_filter, and bio::code::Success().
|
virtual |
Set the filter for *this. Overload this to propagate Filter changes to own classes, etc.
filter |
Definition at line 58 of file Filterable.cpp.
References m_filter.
|
virtual |
Required method from Wave. See that class for details.
Reimplemented from bio::physical::Wave.
Reimplemented in bio::molecular::Molecule, and bio::molecular::Surface.
Definition at line 68 of file Filterable.cpp.
References bio::physical::Symmetry::AccessValue(), m_filter, bio::physical::Wave::m_symmetry, bio::ByteStream::Set(), and bio::physical::Wave::Spin().
|
protected |
Definition at line 98 of file Filterable.h.
Referenced by GetFilter(), InitializeImplementation(), bio::log::Writer::Log(), Reify(), SetFilter(), and Spin().