Template Struct SMemberMap#

Inheritance Relationships#

Base Type#

Struct Documentation#

template<typename TMember>
struct SMemberMap : public sdv::internal::SMemberMapAccess#

Struct to give access to a member map.

Template Parameters:

TMember – The member variable type.

Unnamed Group

inline virtual CSdvParamMap *Access() override#

Get CSdvParamMap access. Overload of SMemberMapAccess::Interface.

Returns:

The parameter map pointer or a NULL pointer if there is no associated parameter map.

inline virtual const CSdvParamMap *Access() const override#

Get CSdvParamMap access. Overload of SMemberMapAccess::Interface.

Returns:

The parameter map pointer or a NULL pointer if there is no associated parameter map.

Public Types

using TType = TMember#

The type definition.

Public Functions

inline SMemberMap(TMember &rMember, sdv::CSdvParamMap *pEventObject)#

Constructor.

Parameters:
  • rMember[in] Reference to the member.

  • pEventObject[in] Pointer to the object receiving the parameter change notifications.

virtual ~SMemberMap() = default#

Default destructor.

inline void BuildMap()#

Build the parameter map.

inline virtual std::shared_ptr<internal::CParamGuardian> FindParamObject(const sdv::u8string &rssName) override#

Find the parameter object with the supplied name. Overload of SMemberMapAccess::FindParamObject.

Parameters:

rssName[in] Reference to the name of the parameter.

Returns:

Returns a smart pointer to the parameter object.

Public Static Functions

static inline std::vector<std::shared_ptr<sdv::CSdvParamInfo>> BuildStatic()#

Build the parameter map (static build).

Returns:

Vector with parameter info classes.