#include <O3dThingComponent.hpp>
Inheritance diagram for se_ogre::O3dThingComponent:
Public Types | |
typedef ComponentPtr< O3dNodeComponent, se_core::sct_RENDER > | Ptr |
Public Member Functions | |
O3dThingComponent (se_core::Composite *owner, const se_core::ComponentFactory *factory) | |
~O3dThingComponent () | |
void | init () |
Called by Composite. | |
void | cleanup () |
Called by Composite. | |
void | perform () |
void | clear () |
void | setActive (bool state) |
Called by Composite. | |
void | setVisible (bool state) |
void | move (long when, float stepDelta, float timeSinceLastFrame) |
void | setParentNode (Ogre::SceneNode *sn) |
void | resetParentNode () |
void | add (ThingMO &tmo) |
void | remove (ThingMO &tmo) |
void | parentChanged (se_core::Composite *newArea, se_core::Composite *oldArea) |
void | zoneChanged (int type, se_core::Composite *newArea, se_core::Composite *oldArea) |
Ogre::SceneNode * | node () |
bool | hasParent () const |
Does the Pos have a parent? | |
NodeComponent * | parent () |
Get parent. | |
const NodeComponent * | parent () const |
Get parent. | |
void | resetParent () |
Set parent to none. | |
void | setParent (NodeComponent &p) |
NodeComponentList & | children () |
virtual const char * | name () const |
By default returns name of composite, which returns name of composite factory. | |
Composite * | owner () |
const Composite * | owner () const |
Component type. | |
Component * | component (int type) |
const Component * | component (int type) const |
int | type () const |
const ComponentFactory * | factory () |
bool | isActive () |
bool | isDead () const |
int | priority () const |
void | setPriority (int p) |
void | setWeight (int w) |
int | weight () const |
Static Public Member Functions | |
O3dThingComponent * | get (se_core::Composite *composite) |
O3dThingComponent * | get (se_core::Composite &composite) |
O3dThingComponent * | get (se_core::Component &component) |
Protected Member Functions | |
void | parentChanged (Composite *newParent, Composite *oldParent) |
Called by Composite. | |
void | addChild (NodeComponent &node) |
Add a NodeComponent as a child. | |
void | removeChild (NodeComponent &node) |
Add a NodeComponent from the child list. | |
virtual void | setDead () |
Called by Composite. | |
virtual void | zoneChanged (int type, Composite *newArea, Composite *oldArea) |
Called by Composite. | |
Protected Attributes | |
Ogre::SceneNode * | parentNode_ |
se_core::ViewPoint | last_ |
bool | isVisible_ |
bool | isInitialized_ |
ThingMOList | moList_ |
int | size_ |
Ogre::SceneNode * | node_ |
NodeComponent * | parent_ |
The parent of this position. | |
NodeComponentList | children_ |
List of child NodeComponents. | |
int | type_ |
The type of Component. | |
Composite * | owner_ |
const ComponentFactory * | factory_ |
Friends | |
class | Composite |
|
Reimplemented in se_ogre::O3dAreaComponent. Definition at line 35 of file O3dNodeComponent.hpp. |
|
Definition at line 36 of file O3dThingComponent.cpp. References se_core::sct_RENDER. |
|
Definition at line 44 of file O3dThingComponent.cpp. References Assert. |
|
Definition at line 212 of file O3dThingComponent.cpp. References Assert, and se_ogre::ThingMO::setParentNode(). |
|
Add a NodeComponent as a child. Called by setParent of child. Definition at line 60 of file NodeComponent.cpp. Referenced by se_core::NodeComponent::setParent(). |
|
Definition at line 63 of file NodeComponent.hpp. Referenced by se_core::NodeComponentList::TreeIterator::next(). |
|
Called by Composite.
Reimplemented from se_core::NodeComponent. Definition at line 76 of file O3dThingComponent.cpp. |
|
Definition at line 83 of file O3dThingComponent.cpp. |
|
Definition at line 71 of file Component.hpp. References se_core::Component::component(). |
|
Definition at line 67 of file Component.hpp. References se_core::Composite::component(). Referenced by se_core::Component::component(), se_core::Component::ComponentPtr< T, type >::ComponentPtr(), get(), se_ogre::O3dNodeComponent::get(), and se_ogre::O3dAreaComponent::get(). |
|
Definition at line 81 of file Component.hpp. Referenced by se_core::Composite::releaseComponents(). |
|
Reimplemented from se_ogre::O3dNodeComponent. Definition at line 49 of file O3dThingComponent.hpp. References se_core::Component::component(), and se_core::Component::owner(). |
|
Reimplemented from se_ogre::O3dNodeComponent. Definition at line 44 of file O3dThingComponent.hpp. References se_core::Composite::component(). |
|
Reimplemented from se_ogre::O3dNodeComponent. Definition at line 38 of file O3dThingComponent.hpp. References Assert, and se_core::Composite::component(). |
|
Does the Pos have a parent?
Definition at line 41 of file NodeComponent.hpp. |
|
Called by Composite.
Reimplemented from se_core::Component. Definition at line 50 of file O3dThingComponent.cpp. |
|
Definition at line 26 of file Component.cpp. |
|
Definition at line 31 of file Component.cpp. Referenced by se_core::Actor::affect(). |
|
Definition at line 154 of file O3dThingComponent.cpp. References se_core::ViewPoint::face_, se_ogre::ThingMOList::Iterator::hasNext(), se_ogre::ThingMO::move(), se_ogre::ThingMOList::Iterator::next(), se_ogre::ThingMO::resetPos(), scale_t, and se_core::ViewPoint::viewPointEquals(). Referenced by se_ogre::O3dAreaComponent::move(). |
|
By default returns name of composite, which returns name of composite factory.
Reimplemented in se_core::CutsceneAreaComponent, se_core::CutsceneComponent, se_core::CutsceneManager, se_core::CollisionAreaComponent, se_core::SignalAreaComponent, se_core::SignalComponent, se_core::SpawnAreaComponent, se_core::SpawnManager, se_core::ZoneAreaComponent, se_core::ZoneComponent, se_core::ZoneManager, se_basic::NavMeshAreaComponent, se_basic::NavMeshComponent, and se_basic::NavMeshManager. Definition at line 21 of file Component.cpp. Referenced by se_core::Area::addNeighbour(), se_core::DefaultTC::collide(), se_core::CoDefault::collide(), se_basic::Say::perform(), and se_ogre::SpeechBubble::speechEvent(). |
|
Definition at line 53 of file O3dNodeComponent.hpp. Referenced by setVisible(), and zoneChanged(). |
|
Component type.
Definition at line 62 of file Component.hpp. |
|
|
Get parent. const version. Definition at line 52 of file NodeComponent.hpp. |
|
Get parent.
Definition at line 46 of file NodeComponent.hpp. |
|
Called by Composite.
Reimplemented from se_core::Component. Reimplemented in se_core::AreaChildComponent. Definition at line 74 of file NodeComponent.cpp. References se_core::Composite::component(). |
|
Definition at line 69 of file O3dThingComponent.hpp. |
|
Implements se_core::Task. Definition at line 105 of file O3dThingComponent.cpp. References se_core::IoSchema::init(). |
|
|
|
Definition at line 224 of file O3dThingComponent.cpp. |
|
Add a NodeComponent from the child list. Called by setParent of child. Definition at line 68 of file NodeComponent.cpp. |
|
Set parent to none.
Definition at line 41 of file NodeComponent.cpp. |
|
Definition at line 251 of file O3dThingComponent.cpp. |
|
Called by Composite.
Reimplemented from se_core::Component. Definition at line 115 of file O3dThingComponent.cpp. |
|
Called by Composite.
Reimplemented in se_core::SignalComponent, and se_core::SpawnComponent. Definition at line 97 of file Component.hpp. Referenced by se_core::Composite::scheduleForDestruction(). |
|
Definition at line 50 of file NodeComponent.cpp. References se_core::NodeComponent::addChild(). |
|
Definition at line 231 of file O3dThingComponent.cpp. |
|
|
|
Definition at line 136 of file O3dThingComponent.cpp. References se_ogre::O3dNodeComponent::node(). |
|
|
|
Definition at line 76 of file Component.hpp. Referenced by se_core::Composite::component(). |
|
|
|
Called by Composite.
Reimplemented in se_core::AreaChildComponent, se_core::CollisionComponent, and se_core::SignalComponent. Definition at line 37 of file Component.cpp. Referenced by se_core::Composite::zoneChanged(). |
|
Definition at line 267 of file O3dThingComponent.cpp. References se_core::Composite::component(), and se_ogre::O3dNodeComponent::node(). |
|
Definition at line 89 of file Component.hpp. |
|
List of child NodeComponents.
Definition at line 92 of file NodeComponent.hpp. |
|
Definition at line 120 of file Component.hpp. |
|
Definition at line 76 of file O3dThingComponent.hpp. |
|
Definition at line 75 of file O3dThingComponent.hpp. |
|
Definition at line 74 of file O3dThingComponent.hpp. |
|
Definition at line 78 of file O3dThingComponent.hpp. |
|
Definition at line 58 of file O3dNodeComponent.hpp. |
|
Definition at line 118 of file Component.hpp. |
|
The parent of this position.
Definition at line 89 of file NodeComponent.hpp. |
|
Definition at line 73 of file O3dThingComponent.hpp. |
|
Definition at line 79 of file O3dThingComponent.hpp. |
|
The type of Component.
Definition at line 117 of file Component.hpp. |
Home Page | SagaEngine trunk (updated nightly) reference generated Sun Dec 2 20:06:33 2007 by Doxygen version 1.3.9.1.