Nektar++
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
Nektar::Utilities::ElUtilJob Class Reference

#include <ElUtil.h>

Inheritance diagram for Nektar::Utilities::ElUtilJob:
Inheritance graph
[legend]
Collaboration diagram for Nektar::Utilities::ElUtilJob:
Collaboration graph
[legend]

Public Member Functions

 ElUtilJob (ElUtil *e)
 
void Run ()
 
- Public Member Functions inherited from Nektar::Thread::ThreadJob
 ThreadJob ()
 Base constructor. More...
 
virtual ~ThreadJob ()
 Base destructor. More...
 
void SetWorkerNum (unsigned int num)
 Set number of worker threads. More...
 

Private Attributes

ElUtilel
 

Additional Inherited Members

- Protected Member Functions inherited from Nektar::Thread::ThreadJob
unsigned int GetWorkerNum ()
 

Detailed Description

Definition at line 116 of file ElUtil.h.

Constructor & Destructor Documentation

Nektar::Utilities::ElUtilJob::ElUtilJob ( ElUtil e)
inline

Definition at line 119 of file ElUtil.h.

119 : el(e) {}

Member Function Documentation

void Nektar::Utilities::ElUtilJob::Run ( )
inlinevirtual

This method will be called when the task is loaded onto a worker thread and is ready to run. When Run has finished this instance will be destructed.

Implements Nektar::Thread::ThreadJob.

Definition at line 121 of file ElUtil.h.

122  {
123  el->Evaluate();
124  }

Member Data Documentation

ElUtil* Nektar::Utilities::ElUtilJob::el
private

Definition at line 126 of file ElUtil.h.