BEAST/BSE - Better Audio System and Sound Engine
0.8.2
|
00001 // --- Generated by AidaCxxStub --- 00002 #ifndef __BST_BSESERVERAPI_HH_ 00003 #define __BST_BSESERVERAPI_HH_ 00004 00005 00006 // --- ServerHH Boilerplate --- 00007 #include <rapicorn-core.hh> 00008 00009 #include <rapicorn-core.hh> // for rcore/signal.hh 00010 00011 // --- Interfaces (class declarations) --- 00012 00013 namespace Bse { 00014 00017 00018 class TestObjectIface : public virtual Rapicorn::Aida::ImplicitBase 00019 { 00020 protected: 00021 explicit TestObjectIface (); 00022 virtual /*Des*/ ~TestObjectIface () = 0; 00023 public: 00024 static Rapicorn::Aida::BaseConnection* __aida_connection__(); 00025 Rapicorn::Aida::TypeCode __aida_type_code__ () { return Rapicorn::Aida::TypeMap::lookup (__aida_type_name__()); } 00026 virtual std::string __aida_type_name__ () const { return "Bse::TestObject"; } 00027 virtual void __aida_typelist__ (Rapicorn::Aida::TypeHashList&) const; 00028 virtual const Rapicorn::Aida::PropertyList& __aida_properties__ (); 00029 typedef Rapicorn::Aida::Signal<void (const std::string &msg)> Signal_echo_reply; 00030 Signal_echo_reply sig_echo_reply; 00031 virtual int echo_test (const std::string &msg) = 0; 00032 }; 00033 void operator<<= (Rapicorn::Aida::FieldBuffer&, TestObjectIface*); 00034 void operator>>= (Rapicorn::Aida::FieldReader&, TestObjectIface*&); 00035 TestObjectIface* operator->* (TestObjectHandle &sh, Rapicorn::Aida::_ServantType); 00036 TestObjectHandle operator->* (TestObjectIface *obj, Rapicorn::Aida::_HandleType); 00037 00040 00041 class ServerIface : public virtual Rapicorn::Aida::ImplicitBase 00042 { 00043 protected: 00044 explicit ServerIface (); 00045 virtual /*Des*/ ~ServerIface () = 0; 00046 public: 00047 static Rapicorn::Aida::BaseConnection* __aida_connection__(); 00048 Rapicorn::Aida::TypeCode __aida_type_code__ () { return Rapicorn::Aida::TypeMap::lookup (__aida_type_name__()); } 00049 virtual std::string __aida_type_name__ () const { return "Bse::Server"; } 00050 virtual void __aida_typelist__ (Rapicorn::Aida::TypeHashList&) const; 00051 virtual const Rapicorn::Aida::PropertyList& __aida_properties__ (); 00052 typedef Rapicorn::Aida::Signal<void (const UserMessage &umsg)> Signal_user_message; 00053 Signal_user_message sig_user_message; 00054 virtual TestObjectIface* get_test_object () = 0; 00055 }; 00056 void operator<<= (Rapicorn::Aida::FieldBuffer&, ServerIface*); 00057 void operator>>= (Rapicorn::Aida::FieldReader&, ServerIface*&); 00058 ServerIface* operator->* (ServerHandle &sh, Rapicorn::Aida::_ServantType); 00059 ServerHandle operator->* (ServerIface *obj, Rapicorn::Aida::_HandleType); 00060 } // Bse 00061 00062 #endif /* __BST_BSESERVERAPI_HH_ */