2 #ifndef __BST_BSECLIENTAPI_HH_
3 #define __BST_BSECLIENTAPI_HH_
19 size_t __aida_connect__echo_reply (
size_t,
const std::function<
void (
const std::string &msg)>&);
24 virtual ~TestObjectHandle ()
override;
26 const Rapicorn::Aida::TypeHashList __aida_typelist__();
27 template<
class RemoteHandle>
28 static TestObjectHandle down_cast (RemoteHandle smh) {
return smh == NULL ? TestObjectHandle() : __aida_cast__ (smh, smh.__aida_typelist__()); }
29 explicit TestObjectHandle ();
30 __Aida_Signal__echo_reply sig_echo_reply () {
return __Aida_Signal__echo_reply (*
this, &TestObjectHandle::__aida_connect__echo_reply); }
59 std::string __aida_type_name__ ()
const {
return "Bse::UserMessage"; }
60 bool operator== (
const UserMessage &other)
const;
61 bool operator!= (
const UserMessage &other)
const {
return !operator== (other); }
72 size_t __aida_connect__user_message (
size_t,
const std::function<
void (
const UserMessage &umsg)>&);
77 virtual ~ServerHandle ()
override;
79 const Rapicorn::Aida::TypeHashList __aida_typelist__();
80 template<
class RemoteHandle>
81 static ServerHandle down_cast (RemoteHandle smh) {
return smh == NULL ? ServerHandle() : __aida_cast__ (smh, smh.__aida_typelist__()); }
82 explicit ServerHandle ();
83 __Aida_Signal__user_message sig_user_message () {
return __Aida_Signal__user_message (*
this, &ServerHandle::__aida_connect__user_message); }
95 template<>
const EnumValue* enum_value_list<Bse::UserMessageType> ();
UserMessageType type
Severity classification for this message.
Definition: bseapi.idl:24
See also the corresponding IDL class TestObject.
Definition: bseclientapi.hh:16
String text3
Possibly (technical) details or machine error message.
Definition: bseapi.idl:28
TestObjectHandle get_test_object()
See Server::get_test_object()
Indicate a message about an error condition.
Definition: bseapi.idl:16
Indicate an informational message.
Definition: bseapi.idl:18
String title
Usually GUI window title.
Definition: bseapi.idl:25
TestObjectHandle TestObjectH
Convenience alias for the IDL type TestObject.
Definition: bseclientapi.hh:35
See also the corresponding IDL class Server.
Definition: bseclientapi.hh:69
String text1
Primary message to the user, should be limited to 80-100 chars.
Definition: bseapi.idl:26
int echo_test(const std::string &msg)
See TestObject::echo_test()
Definition: bseclientapi.cc:164
ServerHandle ServerH
Convenience alias for the IDL type Server.
Definition: bseclientapi.hh:88
UserMessageType
Definition: bseapi.idl:15
Indicate a debugging message (usually insignificant).
Definition: bseapi.idl:19
Indicate a message about a possibly harmful condition.
Definition: bseapi.idl:17
String text2
Explanatory (secondary) message no limitations recommended.
Definition: bseapi.idl:27
String label
Message class label, used to enable/disable this type of message.
Definition: bseapi.idl:29