PXL
pxl::Function Class Referenceabstract

Defines a function to be executed by each thread on the MU. More...

#include <function.hpp>

Public Member Functions

 Function (const Function &)=delete
 Deleted copy constructor. More...
 
Function & operator= (const Function &)=delete
 Deleted copy assignment operator. More...
 
virtual uint32_t muFuncIndex () const =0
 Returns the index of the function. More...
 
virtual std::string muFuncName () const =0
 Returns the name of the function. More...
 

Protected Member Functions

 Function ()=default
 
virtual ~Function ()=default
 

Detailed Description

Defines a function to be executed by each thread on the MU.

This class represents a single function within a Module that can be executed on a device. It provides an interface to query function properties. It offers functionality for:

  • Querying the function's name
  • Querying the function's index

Definition at line 21 of file function.hpp.

Constructor & Destructor Documentation

◆ Function() [1/2]

pxl::Function::Function ( const Function &  )
delete

Deleted copy constructor.

◆ Function() [2/2]

pxl::Function::Function ( )
protecteddefault

◆ ~Function()

virtual pxl::Function::~Function ( )
protectedvirtualdefault

Member Function Documentation

◆ muFuncIndex()

virtual uint32_t pxl::Function::muFuncIndex ( ) const
pure virtual

Returns the index of the function.

Returns
Index of the function.

◆ muFuncName()

virtual std::string pxl::Function::muFuncName ( ) const
pure virtual

Returns the name of the function.

Returns
Name of the function.

◆ operator=()

Function& pxl::Function::operator= ( const Function &  )
delete

Deleted copy assignment operator.


The documentation for this class was generated from the following file: