Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 3, 2008, 1:49:06 AM (16 years ago)
Author:
landauf
Message:

new loader-concept is taking shape, but not yet finished

added new classes: Functor, Executor and XMLPortParamContainer.
more to come (i.e. XMLPortObjectContainer)

Executor might be useless, depends on how we'll implement the ingame shell-commands and the keybindings

moved all non-identifier-related functions and variables from OrxonoxClass to BaseObject. this might result in some casts to BaseObject when working with all objects of an interface (like Synchronisable), but I think it improves the class hierarchy.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core/src/orxonox/core/OrxonoxClass.h

    r845 r847  
    155155                { return this->getIdentifier()->isDirectParentOf(object->getIdentifier()); }
    156156
    157 
    158             /** @brief Sets the name of the object. @param name The name */
    159             inline virtual void setName(const std::string& name) { this->name_ = name; }
    160 
    161             /** @brief Returns the name of the object. @return The name */
    162             inline const std::string& getName() const { return this->name_; }
    163 
    164             /** @brief Sets the state of the objects activity. @param bActive True = active */
    165             inline virtual void setActive(bool bActive) { this->bActive_ = bActive; }
    166 
    167             /** @brief Returns the state of the objects activity. @return The state of the activity */
    168             inline const bool isActive() const { return this->bActive_; }
    169 
    170             /** @brief Sets the state of the objects visibility. @param bVisible True = visible */
    171             inline virtual void setVisible(bool bVisible) { this->bVisible_ = bVisible; }
    172 
    173             /** @brief Returns the state of the objects visibility. @return The state of the visibility */
    174             inline const bool isVisible() const { return this->bVisible_; }
    175 
    176157        private:
    177158            Identifier* identifier_;                    //!< The Identifier of the object
    178159            std::list<const Identifier*>* parents_;     //!< List of all parents of the object
    179160            MetaObjectList metaList_;                   //!< MetaObjectList, containing all ObjectLists and ObjectListElements the object is registered in
    180 
    181             std::string name_;                          //!< The name of the object
    182             bool bActive_;                              //!< True = the object is active
    183             bool bVisible_;                             //!< True = the object is visible
    184161    };
    185162}
Note: See TracChangeset for help on using the changeset viewer.