''' Class managing the input from the remote commands sent by the dashboard the command is parsed and sent to the Camera via an instance of CameraController defined in the implementation of the class ''' class CameraRemoteControlAbstract(): _command = [] _command_matcher_set = {} _command_matcher_get = {} _command_matcher_do = {} _current_matcher = None _camera = None def __init__(self, command, expert_mode): self._command = command if expert_mode: self._command = str(command).split() def exec_command(self): raise NotImplementedError("You must implement %s method" % type(self).__name__)