introspectableinterfaceproxy.h
Go to the documentation of this file.
1 // SPDX-License-Identifier: LGPL-3.0-or-later OR BSD-3-Clause
2 /***************************************************************************
3  * Copyright (C) 2020 by Robert Middleton *
4  * robert.middleton@rm5248.com *
5  * *
6  * This file is part of the dbus-cxx library. *
7  ***************************************************************************/
8 #ifndef DBUSCXX_INTROPSECTION_INTERFACE_PROXY_H
9 #define DBUSCXX_INTROPSECTION_INTERFACE_PROXY_H
10 
11 #include "../interfaceproxy.h"
12 #include <memory>
13 #include <string>
14 
15 namespace DBus {
16 
18 private:
20 
21 public:
22  static std::shared_ptr<IntrospectableInterfaceProxy> create();
23 
24  std::string Introspect();
25 
26 private:
27  std::shared_ptr<MethodProxy<std::string()>> m_introspect_method;
28 };
29 
30 }
31 
32 #endif /* DBUSCXX_INTROPSECTION_INTERFACE_PROXY_H */
An InterfaceProxy represents a remote Interface in another application on the DBus.
Definition: interfaceproxy.h:43
Definition: introspectableinterfaceproxy.h:17
std::shared_ptr< MethodProxy< std::string()> > m_introspect_method
Definition: introspectableinterfaceproxy.h:27
std::string Introspect()
Definition: introspectableinterfaceproxy.cpp:17
static std::shared_ptr< IntrospectableInterfaceProxy > create()
Definition: introspectableinterfaceproxy.cpp:21
IntrospectableInterfaceProxy()
Definition: introspectableinterfaceproxy.cpp:12
Definition: interfaceproxy.h:30
Global DBus namespace, where everything happens.
Definition: callmessage.cpp:18