|
PEBL 2.2
Psychology Experiment Building Language - Cross-platform psychological experiment development system
|
#include <PEnvironment.h>
Public Member Functions | |
| PEnvironment () | |
| virtual | ~PEnvironment () |
| virtual void | Initialize ()=0 |
| virtual bool | IsInitialized () |
| virtual bool | AddWindow (PWindow *window) |
| virtual PWindow * | GetWindow (int index=0) |
| virtual bool | RemoveWindow (PWindow *window) |
| virtual std::string | GetSystemLocale ()=0 |
| virtual bool | IsSystemLocaleRTL ()=0 |
Protected Member Functions | |
| virtual std::ostream & | SendToStream (std::ostream &out) const |
Protected Attributes | |
| bool | mIsInitialized |
| std::list< PWindow * > | mWindows |
This class, a subtype of PEBLObjectBase, initiates the interface environment and maintians all widgets, sounds, etc. subtypes include sounds, visual objects, etc. It is a virtual class that needs to be inherited by a PlatformEnvironment, have and have its methods overridden.
Definition at line 39 of file PEnvironment.h.
|
inline |
Definition at line 43 of file PEnvironment.h.
|
virtual |
Definition at line 57 of file PEnvironment.cpp.
|
virtual |
Definition at line 30 of file PEnvironment.cpp.
References mWindows.
Referenced by main(), and PEBLObjects::MakeWindow().
|
pure virtual |
Implemented in PlatformEnvironment, and PlatformEnvironment.
|
virtual |
Definition at line 46 of file PEnvironment.cpp.
|
pure virtual |
Implemented in PlatformEnvironment, and PlatformEnvironment.
|
inlinevirtual |
|
pure virtual |
Implemented in PlatformEnvironment, and PlatformEnvironment.
|
virtual |
Definition at line 36 of file PEnvironment.cpp.
References mWindows.
Referenced by PWindow::~PWindow().
|
inlineprotectedvirtual |
Reimplemented in PlatformEnvironment, and PlatformEnvironment.
Definition at line 68 of file PEnvironment.h.
|
protected |
Definition at line 70 of file PEnvironment.h.
Referenced by PlatformEnvironment::Initialize(), IsInitialized(), and PlatformEnvironment::PlatformEnvironment().
|
protected |
Definition at line 76 of file PEnvironment.h.
Referenced by AddWindow(), PlatformEnvironment::Draw(), GetWindow(), RemoveWindow(), PlatformEnvironment::SetCursorPosition(), and PlatformEnvironment::~PlatformEnvironment().