WSF
wsf::UCI_Type< Type, Factory, TypeName > Class Template Reference

Class parameterizing basic UCI types. More...

#include <WsfUCI_Types.hpp>

Collaboration diagram for wsf::UCI_Type< Type, Factory, TypeName >:

Public Member Functions

 UCI_Type (WsfSimulation *aSimulationPtr)
 UCI_Type (WsfPlatform *aPlatformPtr)
 UCI_Type (UCI_Interface &aInterface)
 UCI_Type (UCI_Interface &aInterface, const Type &aType)
 UCI_Type (const UCI_Type &aSrc)
 ~UCI_Type ()
Type & Get () const
 Get the underlying UCI type.
UCI_InterfaceGetInterface () const
 Get the associated UCI interface.

Static Public Member Functions

static uci::base::accessorType::AccessorType GetUCI_TypeId ()

Protected Member Functions

 UCI_Type ()=default

Protected Attributes

UCI_InterfacemInterfacePtr { nullptr }
Type * mTypePtr { nullptr }

Detailed Description

template<typename Type, typename Factory, uci::base::accessorType::AccessorType TypeName>
class wsf::UCI_Type< Type, Factory, TypeName >

Class parameterizing basic UCI types.

Constructor & Destructor Documentation

◆ UCI_Type() [1/6]

template<typename Type, typename Factory, uci::base::accessorType::AccessorType TypeName>
wsf::UCI_Type< Type, Factory, TypeName >::UCI_Type ( WsfSimulation * aSimulationPtr)
inlineexplicit

References GetInterface(), mInterfacePtr, and mTypePtr.

Referenced by UCI_Type().

◆ UCI_Type() [2/6]

template<typename Type, typename Factory, uci::base::accessorType::AccessorType TypeName>
wsf::UCI_Type< Type, Factory, TypeName >::UCI_Type ( WsfPlatform * aPlatformPtr)
inlineexplicit

◆ UCI_Type() [3/6]

template<typename Type, typename Factory, uci::base::accessorType::AccessorType TypeName>
wsf::UCI_Type< Type, Factory, TypeName >::UCI_Type ( UCI_Interface & aInterface)
inlineexplicit

References mInterfacePtr, and mTypePtr.

◆ UCI_Type() [4/6]

template<typename Type, typename Factory, uci::base::accessorType::AccessorType TypeName>
wsf::UCI_Type< Type, Factory, TypeName >::UCI_Type ( wsf::UCI_Interface & aInterface,
const Type & aType )
inline

References mInterfacePtr, and mTypePtr.

◆ UCI_Type() [5/6]

template<typename Type, typename Factory, uci::base::accessorType::AccessorType TypeName>
wsf::UCI_Type< Type, Factory, TypeName >::UCI_Type ( const UCI_Type< Type, Factory, TypeName > & aSrc)
inline

References mInterfacePtr, mTypePtr, and UCI_Type().

◆ ~UCI_Type()

template<typename Type, typename Factory, uci::base::accessorType::AccessorType TypeName>
wsf::UCI_Type< Type, Factory, TypeName >::~UCI_Type ( )
inline

References mTypePtr.

◆ UCI_Type() [6/6]

template<typename Type, typename Factory, uci::base::accessorType::AccessorType TypeName>
wsf::UCI_Type< Type, Factory, TypeName >::UCI_Type ( )
protecteddefault

Member Function Documentation

◆ Get()

template<typename Type, typename Factory, uci::base::accessorType::AccessorType TypeName>
Type & wsf::UCI_Type< Type, Factory, TypeName >::Get ( ) const
inline

Get the underlying UCI type.

References mTypePtr.

◆ GetInterface()

template<typename Type, typename Factory, uci::base::accessorType::AccessorType TypeName>
UCI_Interface & wsf::UCI_Type< Type, Factory, TypeName >::GetInterface ( ) const
inline

Get the associated UCI interface.

References mInterfacePtr.

Referenced by UCI_Type(), and UCI_Type().

◆ GetUCI_TypeId()

template<typename Type, typename Factory, uci::base::accessorType::AccessorType TypeName>
uci::base::accessorType::AccessorType wsf::UCI_Type< Type, Factory, TypeName >::GetUCI_TypeId ( )
inlinestatic

Member Data Documentation

◆ mInterfacePtr

template<typename Type, typename Factory, uci::base::accessorType::AccessorType TypeName>
UCI_Interface* wsf::UCI_Type< Type, Factory, TypeName >::mInterfacePtr { nullptr }
protected

◆ mTypePtr

template<typename Type, typename Factory, uci::base::accessorType::AccessorType TypeName>
Type* wsf::UCI_Type< Type, Factory, TypeName >::mTypePtr { nullptr }
protected

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