#include <SignalComponent.hpp>
Inheritance diagram for se_core::SignalComponent:

Public Types | |
| typedef ComponentPtr< SignalComponent, sct_SIGNAL > | Ptr |
Public Member Functions | |
| SignalComponent (Composite *owner, const ComponentFactory *factory=0) | |
| virtual | ~SignalComponent () |
| const char * | name () const |
| By default returns name of composite, which returns name of composite factory. | |
| void | setSendId (int id) |
| void | setRecieveId (int id, const Signal *signal) |
| void | setDead () |
| Called by Composite. | |
| bool | send (bool state) |
| long | sentAge () const |
| void | recieve (int id, bool state) |
| void | zoneChanged (int type, Composite *newArea, Composite *oldArea) |
| AreaChild should have area as parent. | |
| bool | isOn () const |
| 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 () |
| 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 |
Static Public Member Functions | |
| SignalComponent * | get (Composite &composite) |
| SignalComponent * | get (Component &component) |
Protected Member Functions | |
| void | cleanup () |
| Called by Composite. | |
| void | parentChanged (Composite *newParent, Composite *oldParent) |
| Override NodeComponent with empty handler. | |
| void | addChild (NodeComponent &node) |
| Add a NodeComponent as a child. | |
| void | removeChild (NodeComponent &node) |
| Add a NodeComponent from the child list. | |
| virtual void | setActive (bool state) |
| Called by Composite. | |
| virtual void | init () |
| Called by Composite. | |
Protected Attributes | |
| bool | sendState_ |
| int | sendId_ |
| long | sentWhen_ |
| unsigned long | recieveMask_ |
| const Signal * | signal_ |
| 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 |
|
|
Definition at line 37 of file SignalComponent.hpp. |
|
||||||||||||
|
Definition at line 34 of file SignalComponent.cpp. References se_core::sct_SIGNAL. |
|
|
Definition at line 41 of file SignalComponent.cpp. References se_core::IoSchema::cleanup(). |
|
|
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 47 of file SignalComponent.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(), se_ogre::O3dThingComponent::get(), se_ogre::O3dNodeComponent::get(), and se_ogre::O3dAreaComponent::get(). |
|
|
Definition at line 81 of file Component.hpp. Referenced by se_core::Composite::releaseComponents(). |
|
|
Definition at line 48 of file SignalComponent.hpp. References se_core::Composite::component(), and se_core::Component::owner(). |
|
|
Definition at line 43 of file SignalComponent.hpp. References se_core::Composite::component(). |
|
|
Does the Pos have a parent?
Definition at line 41 of file NodeComponent.hpp. |
|
|
Called by Composite.
Reimplemented in se_core::RootComponent, se_core::SignalAreaComponent, se_ogre::O3dAreaComponent, and se_ogre::O3dThingComponent. Definition at line 42 of file Component.cpp. Referenced by se_core::Composite::init(). |
|
|
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 68 of file SignalComponent.hpp. |
|
|
By default returns name of composite, which returns name of composite factory.
Reimplemented from se_core::Component. Definition at line 41 of file SignalComponent.hpp. |
|
|
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. |
|
||||||||||||
|
Override NodeComponent with empty handler.
Reimplemented from se_core::NodeComponent. Definition at line 38 of file AreaChildComponent.hpp. |
|
||||||||||||
|
Definition at line 79 of file SignalComponent.cpp. Referenced by se_core::SignalAreaComponent::propagate(). |
|
|
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 60 of file SignalComponent.cpp. References se_core::SignalAreaComponent::setSignalActive(). |
|
|
Definition at line 74 of file SignalComponent.cpp. |
|
|
|
Called by Composite.
Reimplemented from se_core::Component. Definition at line 54 of file SignalComponent.cpp. |
|
|
Definition at line 50 of file NodeComponent.cpp. References se_core::NodeComponent::addChild(). |
|
||||||||||||
|
Definition at line 57 of file SignalComponent.hpp. |
|
|
Definition at line 53 of file SignalComponent.hpp. |
|
|
Definition at line 76 of file Component.hpp. Referenced by se_core::Composite::component(). |
|
||||||||||||||||
|
AreaChild should have area as parent.
Reimplemented from se_core::AreaChildComponent. Definition at line 87 of file SignalComponent.cpp. References se_core::Composite::component(), and se_core::SignalAreaComponent::setSignalActive(). |
|
|
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 118 of file Component.hpp. |
|
|
The parent of this position.
Definition at line 89 of file NodeComponent.hpp. |
|
|
Definition at line 79 of file SignalComponent.hpp. |
|
|
Definition at line 77 of file SignalComponent.hpp. |
|
|
Definition at line 76 of file SignalComponent.hpp. |
|
|
Definition at line 78 of file SignalComponent.hpp. |
|
|
Definition at line 80 of file SignalComponent.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:28 2007 by Doxygen version 1.3.9.1.