WSF
SafeRIPRProc Class Reference

SafeRIPRProc provides safe pointers to WsfRIPRProcessor objects. More...

#include <SafeRIPRProc.hpp>

Public Member Functions

 SafeRIPRProc ()
 Constructor that creates a null safe pointer.
 SafeRIPRProc (WsfRIPRProcessor *aProc)
 SafeRIPRProc (const WsfRIPRProcessor &aProc)
WsfRIPRProcessorget () const
 Returns a WsfRIPRProcessor* if the pointee exists, 0 otherwise.
std::string GetName () const
 Returns the name of the pointee if it exists, 0 otherwise.
bool operator== (const SafeRIPRProc &other) const
bool operator!= (const SafeRIPRProc &other) const
bool operator< (const SafeRIPRProc &other) const
 Produces a consistant ordering of SafeRIPRProc objects.

Detailed Description

SafeRIPRProc provides safe pointers to WsfRIPRProcessor objects.

Constructor & Destructor Documentation

◆ SafeRIPRProc() [1/3]

SafeRIPRProc::SafeRIPRProc ( )

Constructor that creates a null safe pointer.

Referenced by operator!=(), operator<(), and operator==().

◆ SafeRIPRProc() [2/3]

SafeRIPRProc::SafeRIPRProc ( WsfRIPRProcessor * aProc)

Constructor that uses a WsfRIPRProcessor to build the safe pointer

Parameters
aProcthe WsfRIPRProcessor to point to

References WsfPlatform::GetIndex(), WsfObject::GetNameId(), WsfPlatformPart::GetPlatform(), and WsfPlatformPart::GetSimulation().

◆ SafeRIPRProc() [3/3]

SafeRIPRProc::SafeRIPRProc ( const WsfRIPRProcessor & aProc)

Constructor that uses a WsfRIPRProcessor to build the safe pointer

Parameters
aProcthe WsfRIPRProcessor to point to

References WsfPlatform::GetIndex(), WsfObject::GetNameId(), WsfPlatformPart::GetPlatform(), and WsfPlatformPart::GetSimulation().

Member Function Documentation

◆ get()

WsfRIPRProcessor * SafeRIPRProc::get ( ) const

Returns a WsfRIPRProcessor* if the pointee exists, 0 otherwise.

References WsfComponentList::GetComponent().

◆ GetName()

std::string SafeRIPRProc::GetName ( ) const

Returns the name of the pointee if it exists, 0 otherwise.

References WsfComponentList::GetComponent(), and WsfObject::GetName().

◆ operator!=()

bool SafeRIPRProc::operator!= ( const SafeRIPRProc & other) const

Compare safe pointers

Returns
!operator==

References SafeRIPRProc().

◆ operator<()

bool SafeRIPRProc::operator< ( const SafeRIPRProc & other) const

Produces a consistant ordering of SafeRIPRProc objects.

References SafeRIPRProc().

◆ operator==()

bool SafeRIPRProc::operator== ( const SafeRIPRProc & other) const

Compare safe pointers

Returns
true iff two SafeRIPRProcs point to the same platform index and processor index

References SafeRIPRProc().


The documentation for this class was generated from the following files:
Copyrights Multiple, All Rights Reserved