Talvos  0.1
SPIR-V interpreter and dynamic analysis framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ComputePipeline.h
Go to the documentation of this file.
1 // Copyright (c) 2018 the Talvos developers. All rights reserved.
2 //
3 // This file is distributed under a three-clause BSD license. For full license
4 // terms please see the LICENSE file distributed with this source code.
5 
8 
9 #ifndef TALVOS_COMPUTEPIPELINE_H
10 #define TALVOS_COMPUTEPIPELINE_H
11 
12 namespace talvos
13 {
14 
15 class PipelineStage;
16 
19 {
20 public:
23  ComputePipeline(PipelineStage *Stage) : Stage(Stage){};
24 
27 
28  // Do not allow ComputePipeline objects to be copied.
30  ComputePipeline(const ComputePipeline &) = delete;
31  ComputePipeline &operator=(const ComputePipeline &) = delete;
33 
35  const PipelineStage *getStage() const { return Stage; }
36 
37 private:
40 };
41 
42 } // namespace talvos
43 
44 #endif
const PipelineStage * getStage() const
Returns the pipeline stage.
ComputePipeline & operator=(const ComputePipeline &)=delete
PipelineStage * Stage
The pipeline stage in this pipeline.
~ComputePipeline()
Destroy the pipeline.
ComputePipeline(PipelineStage *Stage)
Create a compute pipeline from a single pipeline stage.
This class encapsulates information about a pipeline stage.
Definition: PipelineStage.h:30
This class encapsulates a compute pipeline.