Instrument Neutral Distributed Interface INDI  2.0.2
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 }
The EncoderInterface class is the base class for video streaming encoders.
The EncoderManager class contains a list of active supported encoders.
void setEncoder(EncoderInterface *encoder)
EncoderInterface * current_encoder
EncoderInterface * default_encoder
EncoderInterface * getDefaultEncoder()
EncoderInterface * getEncoder()
std::vector< EncoderInterface * > encoder_list
std::vector< EncoderInterface * > getEncoderList()
Namespace to encapsulate INDI client, drivers, and mediator classes.