Instrument Neutral Distributed Interface INDI  1.9.5
encodermanager.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2017 by Jasem Mutlaq <mutlaqja@ikarustech.com>
3 
4  Encoder Manager
5 
6  This library is free software; you can redistribute it and/or
7  modify it under the terms of the GNU Lesser General Public
8  License as published by the Free Software Foundation; either
9  version 2.1 of the License, or (at your option) any later version.
10 
11  This library is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  Lesser General Public License for more details.
15 
16  You should have received a copy of the GNU Lesser General Public
17  License along with this library; if not, write to the Free Software
18  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 
20 */
21 
22 #pragma once
23 
24 #include <vector>
25 #include "encoderinterface.h"
26 
27 namespace INDI
28 {
29 
34 {
35  public:
38  std::vector<EncoderInterface *> getEncoderList();
41  void setEncoder(EncoderInterface *encoder);
42 
43  protected:
44  std::vector<EncoderInterface *> encoder_list;
47 };
48 }
INDI::EncoderManager::getEncoder
EncoderInterface * getEncoder()
Definition: encodermanager.cpp:51
INDI::EncoderManager::setEncoder
void setEncoder(EncoderInterface *encoder)
Definition: encodermanager.cpp:61
INDI::EncoderManager::EncoderManager
EncoderManager()
Definition: encodermanager.cpp:29
INDI::EncoderManager::encoder_list
std::vector< EncoderInterface * > encoder_list
Definition: encodermanager.h:44
INDI::EncoderManager::current_encoder
EncoderInterface * current_encoder
Definition: encodermanager.h:45
INDI::EncoderManager::getEncoderList
std::vector< EncoderInterface * > getEncoderList()
Definition: encodermanager.cpp:46
encoderinterface.h
INDI::EncoderManager::getDefaultEncoder
EncoderInterface * getDefaultEncoder()
Definition: encodermanager.cpp:56
INDI::EncoderManager::~EncoderManager
~EncoderManager()
Definition: encodermanager.cpp:36
INDI::EncoderInterface
The EncoderInterface class is the base class for video streaming encoders.
Definition: encoderinterface.h:43
INDI::EncoderManager
The EncoderManager class contains a list of active supported encoders.
Definition: encodermanager.h:33
INDI
Namespace to encapsulate INDI client, drivers, and mediator classes.
Definition: AlignmentSubsystemForClients.cpp:11
INDI::EncoderManager::default_encoder
EncoderInterface * default_encoder
Definition: encodermanager.h:46