BEAST/BSE - Better Audio System and Sound Engine  0.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
bseserverapi.hh
Go to the documentation of this file.
1  // --- Generated by AidaCxxStub ---
2 #ifndef __BST_BSESERVERAPI_HH_
3 #define __BST_BSESERVERAPI_HH_
4 
5 
6 // --- ServerHH Boilerplate ---
7 #include <rapicorn-core.hh>
8 
9 #include <rapicorn-core.hh> // for rcore/signal.hh
10 
11 // --- Interfaces (class declarations) ---
12 
13 namespace Bse {
14 
17 class TestObjectIface : public virtual Bse::ImplicitBase
19 {
20 protected:
21  explicit TestObjectIface ();
22  virtual /*Des*/ ~TestObjectIface () override = 0;
23 public:
24  static Rapicorn::Aida::BaseConnection* __aida_connection__();
25  virtual std::string __aida_type_name__ () const { return "Bse::TestObject"; }
26  virtual void __aida_typelist__ (Rapicorn::Aida::TypeHashList&) const;
27  virtual const Rapicorn::Aida::PropertyList& __aida_properties__ ();
29  Signal_echo_reply sig_echo_reply;
30  virtual int echo_test (const std::string &msg) = 0;
31 };
32 void operator<<= (Rapicorn::Aida::FieldBuffer&, TestObjectIface*);
33 void operator>>= (Rapicorn::Aida::FieldReader&, TestObjectIface*&);
34 TestObjectIface* operator->* (TestObjectHandle &sh, Rapicorn::Aida::_ServantType);
35 TestObjectHandle operator->* (TestObjectIface *obj, Rapicorn::Aida::_HandleType);
36 
39 class ServerIface : public virtual Bse::ImplicitBase
41 {
42 protected:
43  explicit ServerIface ();
44  virtual /*Des*/ ~ServerIface () override = 0;
45 public:
46  static Rapicorn::Aida::BaseConnection* __aida_connection__();
47  virtual std::string __aida_type_name__ () const { return "Bse::Server"; }
48  virtual void __aida_typelist__ (Rapicorn::Aida::TypeHashList&) const;
49  virtual const Rapicorn::Aida::PropertyList& __aida_properties__ ();
51  Signal_user_message sig_user_message;
52  virtual TestObjectIface* get_test_object () = 0;
53 };
54 void operator<<= (Rapicorn::Aida::FieldBuffer&, ServerIface*);
55 void operator>>= (Rapicorn::Aida::FieldReader&, ServerIface*&);
56 ServerIface* operator->* (ServerHandle &sh, Rapicorn::Aida::_ServantType);
57 ServerHandle operator->* (ServerIface *obj, Rapicorn::Aida::_HandleType);
58 } // Bse
59 
60 #define __BST_BSESERVERAPI_HH__INTERFACE_LIST \
61  __BST_BSESERVERAPI_HH__INTERFACE_NAME (Bse::TestObject) \
62  __BST_BSESERVERAPI_HH__INTERFACE_NAME (Bse::Server)
63 
64 #endif /* __BST_BSESERVERAPI_HH_ */
virtual TestObjectIface * get_test_object()=0
See Server::get_test_object()
IDL API base class until Rapicorn supports ImplicitBaseP out of the box.
Definition: bseutils.hh:11
virtual int echo_test(const std::string &msg)=0
See TestObject::echo_test()