Web Analytics Made Easy - Statcounter
Skip to content

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.

SBCReferenceTarget::SBCReferenceTarget () 


function getMemoryFootprint#

Returns the memory footprint.

unsigned int SBCReferenceTarget::getMemoryFootprint () const


function printReferencesToOwners#

Prints the references to the owners of this reference target.

void SBCReferenceTarget::printReferencesToOwners () const


function ~SBCReferenceTarget#

Destructor.

virtual SBCReferenceTarget::~SBCReferenceTarget () 


Protected Attributes Documentation#

variable dataPointer#

A pointer to the private data.

SBCReferenceTargetData* SBCReferenceTarget::dataPointer;


Protected Functions Documentation#

function SBCReferenceTarget [1/2]#

Protected constructor.

SBCReferenceTarget::SBCReferenceTarget (
    SBCReferenceTargetData * dataPointer
) 


function removeAllReferenceOwners#

Stops all the reference owners from referencing this reference target.

void SBCReferenceTarget::removeAllReferenceOwners ()