2016-09-08 05:32:17 -04:00
|
|
|
//
|
2018-07-10 21:32:28 -04:00
|
|
|
// MediaTarget.h
|
2016-09-08 05:32:17 -04:00
|
|
|
// Clock Signal
|
|
|
|
//
|
|
|
|
// Created by Thomas Harte on 08/09/2016.
|
2018-05-13 15:19:52 -04:00
|
|
|
// Copyright 2016 Thomas Harte. All rights reserved.
|
2016-09-08 05:32:17 -04:00
|
|
|
//
|
|
|
|
|
2018-07-10 21:32:28 -04:00
|
|
|
#ifndef MediaTarget_hpp
|
|
|
|
#define MediaTarget_hpp
|
2016-09-08 05:32:17 -04:00
|
|
|
|
2018-01-24 21:48:44 -05:00
|
|
|
#include "../Analyser/Static/StaticAnalyser.hpp"
|
2017-11-17 23:02:00 -05:00
|
|
|
#include "../Configurable/Configurable.hpp"
|
|
|
|
|
|
|
|
#include <string>
|
2016-09-08 05:32:17 -04:00
|
|
|
|
2020-04-01 23:19:34 -04:00
|
|
|
namespace MachineTypes {
|
2016-09-08 05:32:17 -04:00
|
|
|
|
|
|
|
/*!
|
2018-07-10 21:42:09 -04:00
|
|
|
A MediaTarget::Machine is anything that can accept new media while running.
|
2016-09-08 05:32:17 -04:00
|
|
|
*/
|
2020-04-01 23:19:34 -04:00
|
|
|
class MediaTarget {
|
2016-09-08 05:32:17 -04:00
|
|
|
public:
|
2017-08-17 10:48:29 -04: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-24 21:48:44 -05:00
|
|
|
virtual bool insert_media(const Analyser::Static::Media &media) = 0;
|
2016-09-08 05:32:17 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2018-07-10 21:32:28 -04:00
|
|
|
#endif /* MediaTarget_hpp */
|