Commit 3d5ad4d7 authored by Jan Möbius's avatar Jan Möbius
Browse files

Merge branch 'private_update' into 'master'

Private update



See merge request !85
parents a74a32b8 14c97914
...@@ -104,6 +104,9 @@ typedef ACG::SceneGraph::StencilRefNode StencilRefNode; ...@@ -104,6 +104,9 @@ typedef ACG::SceneGraph::StencilRefNode StencilRefNode;
*/ */
class DLLEXPORT BaseObjectData : public BaseObject class DLLEXPORT BaseObjectData : public BaseObject
{ {
friend class Core;
Q_OBJECT Q_OBJECT
public: public:
...@@ -282,18 +285,18 @@ class DLLEXPORT BaseObjectData : public BaseObject ...@@ -282,18 +285,18 @@ class DLLEXPORT BaseObjectData : public BaseObject
/** @} */ /** @} */
//=========================================================================== //===========================================================================
/** @name Content /** @name Update handling
* @{ */ * @{ */
//=========================================================================== //===========================================================================
public: private:
/** \brief This function is called to update the object /** \brief This function is called to update the object
* *
* If the object changes, the core will call this function. Normally this will update * If the object changes, the core will call this function. Normally this will update
* the corresponding scenegraph nodes or trigger other data handling which has to be done * the corresponding scenegraph nodes or trigger other data handling which has to be done
* when the object changes. * when the object changes.
* *
* \note Do not call this function yourself to avoid unnecessary overhead(the core will call it when it is required) * \note Do not call this function yourself to avoid unnecessary overhead(the core will call it via the type plugins when it is required)
*/ */
virtual void update(UpdateType _type = UPDATE_ALL ); virtual void update(UpdateType _type = UPDATE_ALL );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment