Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenFlipper-Free
OpenFlipper
Commits
14c97914
Commit
14c97914
authored
May 02, 2016
by
Jan Möbius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
common/BaseObjectData.hh
common/BaseObjectData.hh
+6
-3
No files found.
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
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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