Develop Biology
The language of life
|
#include <Observer.h>
Public Types | |
typedef PERSPECTIVE | Perspective |
Public Member Functions | |
Observer (const Observer &other) | |
Observer (Perspective *perspective=NULL) | |
virtual | ~Observer () |
virtual Perspective * | GetPerspective () const |
virtual void | SetPerspective (Perspective *perspective) |
Protected Member Functions | |
virtual void | InitializeImplementation (ByteStreams args) |
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 |
Additional Inherited Members | |
Protected Attributes inherited from bio::VirtualBase | |
bool | m_hasBeenInitialized |
An Observer class is one that has a PERSPECTIVE. This is intended for Identifiable classes (see Identifiable.h) and any other classes that manage or work with Identifiable classes.
NOTE: At this time we do not currently support viewing objects from multiple Perspectives. This is because if you can get the object's Id, you should also be able to get it's Perspective (i.e observer->GetPerspective). By not allowing objects to be duplicated across perspectives, we reduce our overall memory footprint.
Definition at line 39 of file Observer.h.
typedef PERSPECTIVE bio::physical::Observer< PERSPECTIVE >::Perspective |
Definition at line 43 of file Observer.h.
|
inlineexplicit |
perspective |
Definition at line 48 of file Observer.h.
|
inline |
other |
Definition at line 57 of file Observer.h.
|
inlinevirtual |
Definition at line 66 of file Observer.h.
|
inlinevirtual |
Definition at line 82 of file Observer.h.
Referenced by bio::molecular::Surface::Release().
|
inlineprotectedvirtual |
VirtualBase required method. See that class for details (in common/)
args |
Implements bio::VirtualBase.
Definition at line 92 of file Observer.h.
References BIO_SANITIZE.
|
inlinevirtual |
Sets the perspective for *this.
perspective |
Definition at line 74 of file Observer.h.