mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-08-21 22:12:23 +02:00
21 lines
599 B
Python
21 lines
599 B
Python
from abc import abstractmethod, ABCMeta
|
|
|
|
from volatility.framework import validity
|
|
|
|
|
|
__author__ = 'mike'
|
|
|
|
|
|
class Renderer(validity.ValidityRoutines, metaclass = ABCMeta):
|
|
def __init__(self, options):
|
|
"""Accepts an options object to configure the renderers"""
|
|
# FIXME: Once the config option objects are in place, put the _type_check in place
|
|
|
|
@abstractmethod
|
|
def get_render_options(self):
|
|
"""Returns a list of rendering options"""
|
|
|
|
@abstractmethod
|
|
def render(self, grid):
|
|
"""Takes a grid object and renders it based on the object's preferences"""
|