2016-09-08 09:32:17 +00:00
|
|
|
//
|
2018-07-11 01:32:28 +00:00
|
|
|
// MediaTarget.h
|
2016-09-08 09:32:17 +00:00
|
|
|
// Clock Signal
|
|
|
|
//
|
|
|
|
// Created by Thomas Harte on 08/09/2016.
|
2018-05-13 19:19:52 +00:00
|
|
|
// Copyright 2016 Thomas Harte. All rights reserved.
|
2016-09-08 09:32:17 +00:00
|
|
|
//
|
|
|
|
|
2018-07-11 01:32:28 +00:00
|
|
|
#ifndef MediaTarget_hpp
|
|
|
|
#define MediaTarget_hpp
|
2016-09-08 09:32:17 +00:00
|
|
|
|
2018-01-25 02:48:44 +00:00
|
|
|
#include "../Analyser/Static/StaticAnalyser.hpp"
|
2017-11-18 04:02:00 +00:00
|
|
|
#include "../Configurable/Configurable.hpp"
|
|
|
|
|
|
|
|
#include <string>
|
2016-09-08 09:32:17 +00:00
|
|
|
|
2020-04-02 03:19:34 +00:00
|
|
|
namespace MachineTypes {
|
2016-09-08 09:32:17 +00:00
|
|
|
|
|
|
|
/*!
|
2018-07-11 01:42:09 +00:00
|
|
|
A MediaTarget::Machine is anything that can accept new media while running.
|
2016-09-08 09:32:17 +00:00
|
|
|
*/
|
2020-04-02 03:19:34 +00:00
|
|
|
class MediaTarget {
|
2016-09-08 09:32:17 +00:00
|
|
|
public:
|
2017-08-17 14:48:29 +00:00
|
|
|
/*!
|
|
|
|
Requests that the machine insert @c media as a modification to current state
|
|
|
|
|
|
|
|
@returns @c true if any media was inserted; @c false otherwise.
|
|
|
|
*/
|
2018-01-25 02:48:44 +00:00
|
|
|
virtual bool insert_media(const Analyser::Static::Media &media) = 0;
|
2016-09-08 09:32:17 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2018-07-11 01:32:28 +00:00
|
|
|
#endif /* MediaTarget_hpp */
|