Class SBCReferenceTarget#
ClassList > SBCReferenceTarget
The class SBCReferenceTarget is used to represent objects which may reference and be referenced by other objects.More...
#include "SBCReferenceTarget.hpp"
Inherited by the following classes: SBCGraph, SBCGraphNode, SBCReferenceListLink, SBDApp, SBDAssistant, SBDAssistantAnswer, SBDDataGraphNode, SBDDataGraphNodeColorScheme, SBDDataGraphNodeMaterial, SBDDataGraphNodeMaterialAppearance, SBGRenderNode, SBMStructuralModelGrid, SBMVisualModelGeometryArray, SBMVisualModelSurface, SBMVisualModelTexture, SBSNeighborSearch
Public Functions#
| Type | Name |
|---|---|
| SBCReferenceTarget () Builds the reference target. |
|
| unsigned int | getMemoryFootprint () const Returns the memory footprint. |
| void | printReferencesToOwners () const Prints the references to the owners of this reference target. |
| virtual | ~SBCReferenceTarget () Destructor. |
Protected Attributes#
| Type | Name |
|---|---|
| SBCReferenceTargetData * | dataPointer A pointer to the private data. |
Protected Functions#
| Type | Name |
|---|---|
| SBCReferenceTarget (SBCReferenceTargetData * dataPointer) Protected constructor. |
|
| void | removeAllReferenceOwners () Stops all the reference owners from referencing this reference target. |
Detailed Description#
In particular, since the signalling system is based on the referencing system, a class has to derive from SBCReferenceTarget in order for its objects to be able to receive signals.
Public Functions Documentation#
function SBCReferenceTarget [2/2]#
Builds the reference target.
function getMemoryFootprint#
Returns the memory footprint.
function printReferencesToOwners#
Prints the references to the owners of this reference target.
function ~SBCReferenceTarget#
Destructor.
Protected Attributes Documentation#
variable dataPointer#
A pointer to the private data.
Protected Functions Documentation#
function SBCReferenceTarget [1/2]#
Protected constructor.
function removeAllReferenceOwners#
Stops all the reference owners from referencing this reference target.