Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenFlipper-Free
OpenFlipper
Commits
14c97914
Commit
14c97914
authored
May 02, 2016
by
Jan Möbius
Browse files
Made all update calls of the object types private.
Only type plugins and the core will access the update function
parent
8424539b
Changes
1
Hide whitespace changes
Inline
Side-by-side
common/BaseObjectData.hh
View file @
14c97914
...
...
@@ -104,6 +104,9 @@ typedef ACG::SceneGraph::StencilRefNode StencilRefNode;
*/
class
DLLEXPORT
BaseObjectData
:
public
BaseObject
{
friend
class
Core
;
Q_OBJECT
public:
...
...
@@ -282,18 +285,18 @@ class DLLEXPORT BaseObjectData : public BaseObject
/** @} */
//===========================================================================
/** @name
Content
/** @name
Update handling
* @{ */
//===========================================================================
p
ublic
:
p
rivate
:
/** \brief This function is called to update the object
*
* 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
* 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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment