mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-08-22 06:22:23 +02:00
21 lines
603 B
Python
21 lines
603 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"""
|