|
Skyscraper 2.0
|
#include <manager.h>


Classes | |
| struct | Map |
Public Member Functions | |
| ControllerManager (Object *parent) | |
| ~ControllerManager () | |
| DispatchController * | Create (int number) |
| int | GetCount () |
| DispatchController * | Get (int number) |
| DispatchController * | GetIndex (int index) |
| void | Remove (DispatchController *controller) |
| void | Loop () |
Public Member Functions inherited from SBS::Manager | |
| Manager (Object *parent) | |
| virtual | ~Manager () |
Public Member Functions inherited from SBS::Object | |
| Object (Object *parent) | |
| virtual | ~Object () |
| void | SetValues (const std::string &type, const std::string &name, bool is_permanent, bool is_movable=true) |
| bool | IsPermanent () |
| bool | IsMovable () |
| const std::string & | GetType () |
| int | GetNumber () |
| void | AddChild (Object *object) |
| Object * | GetChild (int index) |
| int | GetChildrenCount () |
| void | RemoveChild (Object *object) |
| SceneNode * | GetSceneNode () |
| void | ShowBoundingBox (bool value) |
| virtual void | Move (const Vector3 &vector, Real speed=1.0, bool force=false) |
| virtual void | Move (Real X, Real Y, Real Z, Real speed=1.0, bool force=false) |
| virtual void | SetPosition (const Vector3 &position, bool relative=false, bool force=false) |
| virtual void | SetPosition (Real X, Real Y, Real Z, bool relative=false, bool force=false) |
| virtual void | SetPositionY (Real value, bool force=false) |
| virtual Vector3 | GetPosition (bool relative=false) |
| virtual void | Rotate (const Vector3 &vector, Real speed=1.0) |
| virtual void | Rotate (Real X, Real Y, Real Z, Real speed=1.0) |
| virtual void | SetRotation (const Vector3 &rotation) |
| virtual void | SetRotation (Real X, Real Y, Real Z) |
| virtual Vector3 | GetRotation () |
| Quaternion | GetOrientation (bool relative=false) |
| void | SetOrientation (const Quaternion &q, bool relative=false) |
| virtual void | OnMove (bool parent) |
| virtual void | OnRotate (bool parent) |
| virtual void | OnClick (Vector3 &position, bool shift, bool ctrl, bool alt, bool right) |
| virtual void | OnUnclick (bool right) |
| virtual void | OnHit () |
| void | NotifyMove (bool parent=false) |
| void | NotifyRotate (bool parent=false) |
| virtual void | ResetState () |
| void | ChangeParent (Object *new_parent) |
| bool | IsGlobal () |
| void | Init (bool children=true) |
| virtual void | OnInit () |
| void | RegisterLoop (Object *object) |
| void | UnregisterLoop (Object *object) |
| virtual void | Enabled (bool value) |
| virtual bool | IsEnabled () |
| std::string | GetNameBase () |
| template<typename T > | |
| bool | IsType () |
| template<typename T > | |
| T * | ConvertTo () |
Public Member Functions inherited from SBS::ObjectBase | |
| ObjectBase (Object *parent) | |
| virtual | ~ObjectBase () |
| Object * | GetParent () |
| SBS * | GetRoot () |
| void | SetName (const std::string &name) |
| const std::string & | GetName () |
| std::string | GetNameBase () |
| virtual void | Report (const std::string &message) |
| virtual bool | ReportError (const std::string &message) |
Private Attributes | |
| std::vector< Map > | Array |
| DispatchController * | get_result |
| int | get_number |
Additional Inherited Members | |
Public Attributes inherited from SBS::Object | |
| std::string | command |
| std::string | command_processed |
| std::string | context |
| int | linenum |
| std::string | includefile |
| bool | parent_deleting |
Protected Member Functions inherited from SBS::Object | |
| void | EnableLoop (bool value) |
| void | LoopChildren () |
| bool | SelfDestruct () |
Protected Attributes inherited from SBS::ObjectBase | |
| SBS * | sbs |
| SBS::ControllerManager::ControllerManager | ( | Object * | parent | ) |
Definition at line 991 of file manager.cpp.
References SBS::Object::EnableLoop(), get_number, get_result, and SBS::Object::SetValues().

| SBS::ControllerManager::~ControllerManager | ( | ) |
Definition at line 1001 of file manager.cpp.
References Array.
| DispatchController * SBS::ControllerManager::Create | ( | int | number | ) |
Definition at line 1015 of file manager.cpp.
References Array, SBS::ControllerManager::Map::number, SBS::ControllerManager::Map::object, SBS::ObjectBase::ReportError(), and SBS::ToString().

| DispatchController * SBS::ControllerManager::Get | ( | int | number | ) |
Definition at line 1042 of file manager.cpp.
References Array, get_number, get_result, and GetCount().

|
virtual |
Implements SBS::Manager.
Definition at line 1036 of file manager.cpp.
References Array.
Referenced by Get().
| DispatchController * SBS::ControllerManager::GetIndex | ( | int | index | ) |
Definition at line 1087 of file manager.cpp.
References Array.
|
virtual |
Implements SBS::Manager.
Definition at line 1112 of file manager.cpp.
References SBS::Object::LoopChildren(), and SBS_PROFILE.

| void SBS::ControllerManager::Remove | ( | DispatchController * | controller | ) |
Definition at line 1095 of file manager.cpp.
References Array, get_number, and get_result.
|
private |
Definition at line 235 of file manager.h.
Referenced by Create(), Get(), GetCount(), GetIndex(), Remove(), and ~ControllerManager().
|
private |
Definition at line 239 of file manager.h.
Referenced by ControllerManager(), Get(), and Remove().
|
private |
Definition at line 238 of file manager.h.
Referenced by ControllerManager(), Get(), and Remove().