Ardour  9.0-pre0-582-g084a23a80d
ARDOUR::RTTask Class Reference

#include <rt_task.h>

Inheritance diagram for ARDOUR::RTTask:
[legend]

Public Member Functions

 RTTask (Graph *g, std::function< void()> const &fn)
 
void prep (GraphChain const *)
 
void run (GraphChain const *)
 
- Public Member Functions inherited from ARDOUR::ProcessNode
virtual ~ProcessNode ()
 

Private Attributes

std::function< void()> _f
 
Graph_graph
 

Friends

class RTTaskList
 

Detailed Description

Definition at line 31 of file rt_task.h.

Constructor & Destructor Documentation

◆ RTTask()

ARDOUR::RTTask::RTTask ( Graph g,
std::function< void()> const &  fn 
)

Member Function Documentation

◆ prep()

void ARDOUR::RTTask::prep ( GraphChain const *  )
inlinevirtual

Implements ARDOUR::ProcessNode.

Definition at line 36 of file rt_task.h.

◆ run()

void ARDOUR::RTTask::run ( GraphChain const *  )
virtual

Implements ARDOUR::ProcessNode.

Friends And Related Function Documentation

◆ RTTaskList

friend class RTTaskList
friend

Definition at line 40 of file rt_task.h.

Member Data Documentation

◆ _f

std::function<void ()> ARDOUR::RTTask::_f
private

Definition at line 41 of file rt_task.h.

◆ _graph

Graph* ARDOUR::RTTask::_graph
private

Definition at line 42 of file rt_task.h.


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