nn::ro::Module::GetPointer Member Function

Syntax

template <typename T>
T GetPointer(
     const char * name
) const;

Template Arguments

Name Description
T Type of pointer to get.

Arguments

Name Description
in name Symbol string for the object whose pointer is to be gotten.

Return Values

Returns a pointer to the object pointed to by the symbol if the symbol specified by name is found. Returns NULL if the address is not found.

Description

Searches for a symbol.

Searches for the symbol having the specified name inside this module and returns a pointer to it.

A mangled name must be specified when specifying a C++ symbol.


CONFIDENTIAL