Instrument Neutral Distributed Interface INDI  1.9.2
basedevice_p.h
Go to the documentation of this file.
1 /*******************************************************************************
2  Copyright(c) 2011 Jasem Mutlaq. All rights reserved.
3 
4  This library is free software; you can redistribute it and/or
5  modify it under the terms of the GNU Library General Public
6  License version 2 as published by the Free Software Foundation.
7 
8  This library is distributed in the hope that it will be useful,
9  but WITHOUT ANY WARRANTY; without even the implied warranty of
10  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11  Library General Public License for more details.
12 
13  You should have received a copy of the GNU Library General Public License
14  along with this library; see the file COPYING.LIB. If not, write to
15  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
16  Boston, MA 02110-1301, USA.
17 *******************************************************************************/
18 
19 #pragma once
20 
21 #include "basedevice.h"
22 #include "lilxml.h"
23 #include "indibase.h"
24 
25 #include <deque>
26 #include <string>
27 #include <mutex>
28 
29 namespace INDI
30 {
31 
32 class BaseDevicePrivate
33 {
34 public:
36  virtual ~BaseDevicePrivate();
37 
38 public:
39  std::string deviceName;
41  LilXML *lp {nullptr};
42  INDI::BaseMediator *mediator {nullptr};
43  std::deque<std::string> messageLog;
44  mutable std::mutex m_Lock;
45 };
46 
47 }
indibase.h
basedevice.h
INDI::BaseDevicePrivate::mediator
INDI::BaseMediator * mediator
Definition: basedevice_p.h:74
INDI::BaseDevicePrivate::messageLog
std::deque< std::string > messageLog
Definition: basedevice_p.h:75
INDI::BaseDevicePrivate::m_Lock
std::mutex m_Lock
Definition: basedevice_p.h:76
INDI::BaseDevicePrivate::pAll
BaseDevice::Properties pAll
Definition: basedevice_p.h:72
INDI::BaseDevicePrivate::lp
LilXML * lp
Definition: basedevice_p.h:73
INDI::BaseDevicePrivate::deviceName
std::string deviceName
Definition: basedevice_p.h:71
INDI::BaseMediator
Meditates event notification as generated by driver and passed to clients.
Definition: indibase.h:80
INDI::BaseDevicePrivate::~BaseDevicePrivate
virtual ~BaseDevicePrivate()
Definition: basedevice.cpp:82
lilxml.h
A little DOM-style library to handle parsing and processing an XML file.
INDI
Namespace to encapsulate INDI client, drivers, and mediator classes.
Definition: AlignmentSubsystemForClients.cpp:11
LilXML_
Definition: lilxml.c:91
INDI::BaseDevice::Properties
INDI::Properties Properties
Definition: basedevice.h:49
INDI::BaseDevicePrivate::BaseDevicePrivate
BaseDevicePrivate()
Definition: basedevice.cpp:70