cscore: Refactor sink and source creation

Also make sources and sinks members of Instance private, with appropriate
accessor functions.
This commit is contained in:
Peter Johnson
2018-11-06 19:42:39 -08:00
parent 81d10bc656
commit 0abae17653
13 changed files with 185 additions and 137 deletions

View File

@@ -28,7 +28,7 @@ class CvSourceImpl : public SourceImpl {
Telemetry& telemetry, const VideoMode& mode);
~CvSourceImpl() override;
void Start();
void Start() override;
bool SetVideoMode(const VideoMode& mode, CS_Status* status) override;