Changeset 10362 for code/branches/core7/src/orxonox
- Timestamp:
- Apr 12, 2015, 11:07:14 PM (10 years ago)
- Location:
- code/branches/core7/src/orxonox
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core7/src/orxonox/chat/ChatManager.cc
r10347 r10362 113 113 // ChatListener // 114 114 ////////////////////////////////////////////////////////////////////////// 115 RegisterAbstractClass(ChatListener).inheritsFrom (Class(Listable));115 RegisterAbstractClass(ChatListener).inheritsFrom<Listable>(); 116 116 117 117 ChatListener::ChatListener() -
code/branches/core7/src/orxonox/collisionshapes/CollisionShape.cc
r10216 r10362 44 44 namespace orxonox 45 45 { 46 RegisterAbstractClass(CollisionShape).inheritsFrom (Class(BaseObject)).inheritsFrom(Class(Synchronisable));46 RegisterAbstractClass(CollisionShape).inheritsFrom<BaseObject>().inheritsFrom<Synchronisable>(); 47 47 48 48 /** -
code/branches/core7/src/orxonox/gamestates/GSLevel.cc
r10347 r10362 252 252 /////////////////////////////////////////////////////////////////////////// 253 253 254 RegisterAbstractClass(GSLevelMemento).inheritsFrom (Class(OrxonoxInterface));254 RegisterAbstractClass(GSLevelMemento).inheritsFrom<OrxonoxInterface>(); 255 255 256 256 GSLevelMemento::GSLevelMemento() -
code/branches/core7/src/orxonox/infos/PlayerInfo.cc
r9945 r10362 40 40 namespace orxonox 41 41 { 42 RegisterAbstractClass(PlayerInfo).inheritsFrom (Class(Info));42 RegisterAbstractClass(PlayerInfo).inheritsFrom<Info>(); 43 43 44 44 PlayerInfo::PlayerInfo(Context* context) : Info(context) -
code/branches/core7/src/orxonox/interfaces/InterfaceCompilation.cc
r9667 r10362 50 50 // GametypeMessageListener 51 51 //---------------------------- 52 RegisterAbstractClass(GametypeMessageListener).inheritsFrom (Class(OrxonoxInterface));52 RegisterAbstractClass(GametypeMessageListener).inheritsFrom<OrxonoxInterface>(); 53 53 54 54 GametypeMessageListener::GametypeMessageListener() … … 60 60 // PlayerTrigger 61 61 //---------------------------- 62 RegisterAbstractClass(PlayerTrigger).inheritsFrom (Class(OrxonoxInterface));62 RegisterAbstractClass(PlayerTrigger).inheritsFrom<OrxonoxInterface>(); 63 63 64 64 PlayerTrigger::PlayerTrigger() … … 80 80 // RadarListener 81 81 //---------------------------- 82 RegisterAbstractClass(RadarListener).inheritsFrom (Class(OrxonoxInterface));82 RegisterAbstractClass(RadarListener).inheritsFrom<OrxonoxInterface>(); 83 83 84 84 RadarListener::RadarListener() … … 90 90 // TeamColourable 91 91 //---------------------------- 92 RegisterAbstractClass(TeamColourable).inheritsFrom (Class(OrxonoxInterface));92 RegisterAbstractClass(TeamColourable).inheritsFrom<OrxonoxInterface>(); 93 93 94 94 TeamColourable::TeamColourable() … … 100 100 // Rewardable 101 101 //---------------------------- 102 RegisterAbstractClass(Rewardable).inheritsFrom (Class(OrxonoxInterface));102 RegisterAbstractClass(Rewardable).inheritsFrom<OrxonoxInterface>(); 103 103 104 104 Rewardable::Rewardable() -
code/branches/core7/src/orxonox/interfaces/PickupCarrier.cc
r9667 r10362 41 41 namespace orxonox 42 42 { 43 RegisterAbstractClass(PickupCarrier).inheritsFrom (Class(OrxonoxInterface));43 RegisterAbstractClass(PickupCarrier).inheritsFrom<OrxonoxInterface>(); 44 44 45 45 /** -
code/branches/core7/src/orxonox/interfaces/Pickupable.cc
r9667 r10362 46 46 namespace orxonox 47 47 { 48 RegisterAbstractClass(Pickupable).inheritsFrom (Class(OrxonoxInterface)).inheritsFrom(Class(Rewardable));48 RegisterAbstractClass(Pickupable).inheritsFrom<OrxonoxInterface>().inheritsFrom<Rewardable>(); 49 49 50 50 /** -
code/branches/core7/src/orxonox/interfaces/RadarViewable.cc
r9667 r10362 38 38 namespace orxonox 39 39 { 40 RegisterAbstractClass(RadarViewable).inheritsFrom (Class(OrxonoxInterface));40 RegisterAbstractClass(RadarViewable).inheritsFrom<OrxonoxInterface>(); 41 41 42 42 /** -
code/branches/core7/src/orxonox/sound/BaseSound.cc
r9939 r10362 43 43 namespace orxonox 44 44 { 45 RegisterAbstractClass(BaseSound).inheritsFrom (Class(Listable));45 RegisterAbstractClass(BaseSound).inheritsFrom<Listable>(); 46 46 47 47 BaseSound::BaseSound() -
code/branches/core7/src/orxonox/weaponsystem/WeaponMode.cc
r9939 r10362 45 45 namespace orxonox 46 46 { 47 RegisterAbstractClass(WeaponMode).inheritsFrom (Class(BaseObject));47 RegisterAbstractClass(WeaponMode).inheritsFrom<BaseObject>(); 48 48 49 49 WeaponMode::WeaponMode(Context* context) : BaseObject(context) -
code/branches/core7/src/orxonox/worldentities/WorldEntity.cc
r10288 r10362 61 61 BOOST_STATIC_ASSERT((int)Ogre::Node::TS_WORLD == (int)WorldEntity::World); 62 62 63 RegisterAbstractClass(WorldEntity).inheritsFrom (Class(BaseObject)).inheritsFrom(Class(Synchronisable));63 RegisterAbstractClass(WorldEntity).inheritsFrom<BaseObject>().inheritsFrom<Synchronisable>(); 64 64 65 65 /**
Note: See TracChangeset
for help on using the changeset viewer.