Sierra Toolkit Version of the Day
sierra::Plugin::UserSubroutine< S >::Register Class Reference

Class template Register registers the user function function pointer with the function_name on object creation. More...

#include <UserPlugin.hpp>

List of all members.

Public Member Functions

 Register (const std::string &function_name, Signature *function)
 Creates a new Register instance. Upon creation, the func_ptr() function is registered with the function_name.

Detailed Description

template<class S>
class sierra::Plugin::UserSubroutine< S >::Register

Class template Register registers the user function function pointer with the function_name on object creation.

Definition at line 617 of file UserPlugin.hpp.


Constructor & Destructor Documentation

template<class S >
sierra::Plugin::UserSubroutine< S >::Register::Register ( const std::string &  function_name,
Signature function 
) [inline]

Creates a new Register instance. Upon creation, the func_ptr() function is registered with the function_name.

Parameters:
function_namea std::string const reference to the user function's name.

Definition at line 628 of file UserPlugin.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines