M
2025-12-11 11:13:27 -05:00
|
|
|
from abc import ABC, abstractmethod
|
|
|
|
|
|
M
2026-04-21 14:38:06 -04:00
|
|
|
from ria_toolkit_oss.data import Recording
|
M
2025-12-11 11:13:27 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|