Talvos
0.1
SPIR-V interpreter and dynamic analysis framework
|
This class is a base class for all commands. More...
#include <talvos/Commands.h>
Public Types | |
enum | Type { BEGIN_RENDER_PASS, BLIT_IMAGE, CLEAR_ATTACHMENT, CLEAR_COLOR_IMAGE, COPY_BUFFER, COPY_BUFFER_TO_IMAGE, COPY_IMAGE, COPY_IMAGE_TO_BUFFER, DISPATCH, DRAW, DRAW_INDEXED, END_RENDER_PASS, FILL_BUFFER, NEXT_SUBPASS, SET_EVENT, RESET_EVENT, UPDATE_BUFFER, WAIT_EVENTS } |
Identifies different Command subclasses. More... | |
Public Member Functions | |
Type | getType () const |
Returns the type of this command. More... | |
void | run (Device &Dev) const |
Run this command on Dev . More... | |
Protected Member Functions | |
Command (Type Ty) | |
Used by subclasses to initialize the command type. More... | |
virtual void | runImpl (Device &Dev) const =0 |
Command execution method for subclasses. More... | |
Protected Attributes | |
Type | Ty |
The type of this command. More... | |
This class is a base class for all commands.
Definition at line 31 of file Commands.h.
Identifies different Command subclasses.
Definition at line 35 of file Commands.h.
|
inlineprotected |
Used by subclasses to initialize the command type.
Definition at line 65 of file Commands.h.
|
inline |
Returns the type of this command.
Definition at line 58 of file Commands.h.
void talvos::Command::run | ( | Device & | Dev | ) | const |
Run this command on Dev
.
Definition at line 23 of file Commands.cpp.
|
protectedpure virtual |
Command execution method for subclasses.
Implemented in talvos::WaitEventsCommand, talvos::UpdateBufferCommand, talvos::SetEventCommand, talvos::ResetEventCommand, talvos::NextSubpassCommand, talvos::FillBufferCommand, talvos::EndRenderPassCommand, talvos::DrawIndexedCommand, talvos::DrawCommand, talvos::DrawCommandBase, talvos::DispatchCommand, talvos::CopyImageToBufferCommand, talvos::CopyImageCommand, talvos::CopyBufferToImageCommand, talvos::CopyBufferCommand, talvos::ClearColorImageCommand, talvos::ClearAttachmentCommand, talvos::BlitImageCommand, and talvos::BeginRenderPassCommand.
|
protected |
The type of this command.
Definition at line 65 of file Commands.h.