LLVM 19.0.0git
Public Member Functions | Static Public Attributes | List of all members
llvm::orc::Task Class Referenceabstract

Represents an abstract task for ORC to run. More...

#include "llvm/ExecutionEngine/Orc/TaskDispatch.h"

Inheritance diagram for llvm::orc::Task:
Inheritance graph
[legend]

Public Member Functions

virtual ~Task ()=default
 
virtual void printDescription (raw_ostream &OS)=0
 Description of the task to be performed. Used for logging.
 
virtual void run ()=0
 Run the task.
 
- Public Member Functions inherited from llvm::RTTIExtends< Task, RTTIRoot >
const void * dynamicClassID () const override
 
bool isA (const void *const ClassID) const override
 
- Public Member Functions inherited from llvm::RTTIRoot
virtual ~RTTIRoot ()=default
 
virtual const void * dynamicClassID () const =0
 Returns the class ID for the dynamic type of this RTTIRoot instance.
 
virtual bool isA (const void *const ClassID) const
 Returns true if this class's ID matches the given class ID.
 
template<typename QueryT >
bool isA () const
 Check whether this instance is a subclass of QueryT.
 

Static Public Attributes

static char ID = 0
 

Additional Inherited Members

- Static Public Member Functions inherited from llvm::RTTIExtends< Task, RTTIRoot >
static const void * classID ()
 
static bool classof (const RTTIRoot *R)
 
- Static Public Member Functions inherited from llvm::RTTIRoot
static const void * classID ()
 Returns the class ID for this type.
 

Detailed Description

Represents an abstract task for ORC to run.

Definition at line 34 of file TaskDispatch.h.

Constructor & Destructor Documentation

◆ ~Task()

virtual llvm::orc::Task::~Task ( )
virtualdefault

Member Function Documentation

◆ printDescription()

virtual void llvm::orc::Task::printDescription ( raw_ostream OS)
pure virtual

Description of the task to be performed. Used for logging.

◆ run()

virtual void llvm::orc::Task::run ( )
pure virtual

Run the task.

Member Data Documentation

◆ ID

char Task::ID = 0
static

Definition at line 36 of file TaskDispatch.h.


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