18 lines
408 B
Python
18 lines
408 B
Python
|
M
|
from abc import ABC, abstractmethod
|
||
|
|
|
||
|
|
from ria_toolkit_oss.datatypes import Recording
|
||
|
|
|
||
|
|
|
||
|
|
class Recordable(ABC):
|
||
|
|
"""Base class for all recordables, including SDRs and synthetic signal generators, that produce ``Recording``
|
||
|
|
objects.
|
||
|
|
"""
|
||
|
|
|
||
|
|
@abstractmethod
|
||
|
|
def record(self, *args, **kwargs) -> Recording:
|
||
|
|
"""Generate Recording object.
|
||
|
|
|
||
|
|
:rtype: Recording
|
||
|
|
"""
|
||
|
|
pass
|