Rapicorn - Experimental UI Toolkit - Source Code
13.07.0
|
The Aida namespace provides all IDL functionality exported to C++. More...
Namespaces | |
namespace | CxxStub |
The CxxStub namespace contains internal types for the stub code generator. | |
Classes | |
struct | EnumValue |
Aida wrapper for enumeration values. More... | |
struct | TypeCode |
Representation of type information to describe structured type compositions and for the Any class. More... | |
class | TypeMap |
A TypeMap serves as a repository and loader for IDL type information. More... | |
class | ImplicitBase |
Abstract base interface that all IDL interfaces are implicitely derived from. More... | |
class | Any |
Generic value type that can hold values of all other types. More... | |
class | EventFd |
Wakeup facility for IPC. More... | |
struct | TypeHash |
struct | ValueType |
struct | ValueType< Y & > |
struct | ValueType< const Y & > |
union | IdentifierParts |
class | OrbObject |
Internal management structure for objects known to the ORB. More... | |
class | SmartHandle |
class | SmartMember |
struct | _ServantType |
struct | _HandleType |
class | ObjectBroker |
union | FieldUnion |
class | FieldBuffer |
class | FieldBuffer8 |
class | FieldReader |
class | BaseConnection |
Base connection context for ORB message exchange. More... | |
class | ServerConnection |
Connection context for IPC servers. More... | |
class | ClientConnection |
Connection context for IPC clients. More... | |
class | Property |
struct | PropertyList |
Container structure for property descriptions. More... | |
struct | PropertyBool |
struct | PropertyRange |
struct | PropertyString |
struct | PropertyEnum |
class | Signal |
Signal is a template type providing an interface for arbitrary callback lists. More... | |
struct | CollectorUntil0 |
Keep signal emissions going while all handlers return !0 (true). More... | |
struct | CollectorWhile0 |
Keep signal emissions going while all handlers return 0 (false). More... | |
struct | CollectorVector |
CollectorVector returns the result of the all signal handlers from a signal emission in a std::vector. More... | |
class | Connector |
Connector provides a simple (dis-)connect interfaces for signals on SmartHandle. More... | |
class | AsyncSignal |
AsyncSignal is a Signal type with support for std::future returns from handlers. More... | |
Typedefs | |
typedef std::map< ptrdiff_t, OrbObject * > | OrboMap |
typedef std::unordered_map < TypeHash, DispatchFunc, HashTypeHash > | DispatcherMap |
typedef std::string | String |
typedef FieldBuffer *(* | DispatchFunc )(FieldReader &) |
typedef std::vector< TypeHash > | TypeHashList |
typedef FieldBuffer * | SignalEmitHandler (const FieldBuffer *, void *) |
Function typoe for internal signal handling. | |
typedef TypeCode::InternalType | InternalType |
typedef ImplicitBase | PropertyHostInterface |
Enumerations | |
enum | TypeKind { UNTYPED, VOID, BOOL, INT32, INT64, FLOAT64, STRING, ENUM, SEQUENCE, RECORD, INSTANCE, FUNC, TYPE_REFERENCE, ANY } |
Classification enum for the underlying kind of a TypeCode. More... | |
enum | MessageId { MSGID_NONE, MSGID_ONEWAY_CALL, MSGID_DISCONNECT, MSGID_EMIT_ONEWAY, MSGID_DROP_REFS, MSGID_HELLO_REQUEST, MSGID_TWOWAY_CALL, MSGID_CONNECT, MSGID_EMIT_TWOWAY, MSGID_HELLO_REPLY, MSGID_CALL_RESULT, MSGID_CONNECT_RESULT, MSGID_EMIT_RESULT } |
Functions | |
void | assertion_error (const char *file, uint line, const char *expr) |
void | fatal_error (const String &msg) |
void | print_warning (const String &msg) |
sizeof (TypeCode)< | |
sizeof (Any)< | |
template<class T > | |
String | any_field_name (const T &) |
template<> | |
String | any_field_name (const Any &any) |
template<> | |
String | any_field_name (const Any::Field &any) |
const char * | type_kind_name (TypeKind type_kind) |
Obtain TypeKind names as a string. | |
bool | msgid_has_result (MessageId mid) |
bool | msgid_is_result (MessageId mid) |
MessageId | msgid_as_result (MessageId mid) |
uint64 | msgid_mask (uint64 mid) |
bool | operator== (std::nullptr_t, const SmartHandle &shd) noexcept |
bool | operator!= (std::nullptr_t, const SmartHandle &shd) noexcept |
template<class Class > | |
Property * | create_property (void(Class::*setter)(bool), bool(Class::*getter)() const, const char *ident, const char *label, const char *blurb, const char *hints) |
template<class Class > | |
Property * | create_property (void(Class::*setter)(int), int(Class::*getter)() const, const char *ident, const char *label, const char *blurb, int min_value, int max_value, int stepping, const char *hints) |
template<class Class > | |
Property * | create_property (void(Class::*setter)(int), int(Class::*getter)() const, const char *ident, const char *label, const char *blurb, const char *hints) |
template<class Class > | |
Property * | create_property (void(Class::*setter)(int16), int16(Class::*getter)() const, const char *ident, const char *label, const char *blurb, int16 min_value, int16 max_value, int16 stepping, const char *hints) |
template<class Class > | |
Property * | create_property (void(Class::*setter)(uint), uint(Class::*getter)() const, const char *ident, const char *label, const char *blurb, uint min_value, uint max_value, uint stepping, const char *hints) |
template<class Class > | |
Property * | create_property (void(Class::*setter)(uint16), uint16(Class::*getter)() const, const char *ident, const char *label, const char *blurb, uint16 min_value, uint16 max_value, uint16 stepping, const char *hints) |
template<class Class > | |
Property * | create_property (void(Class::*setter)(float), float(Class::*getter)() const, const char *ident, const char *label, const char *blurb, float min_value, float max_value, float stepping, const char *hints) |
template<class Class > | |
Property * | create_property (void(Class::*setter)(double), double(Class::*getter)() const, const char *ident, const char *label, const char *blurb, double min_value, double max_value, double stepping, const char *hints) |
template<class Class > | |
Property * | create_property (void(Class::*setter)(double), double(Class::*getter)() const, const char *ident, const char *label, const char *blurb, const char *hints) |
template<class Class > | |
Property * | create_property (void(Class::*setter)(const String &), String(Class::*getter)() const, const char *ident, const char *label, const char *blurb, const char *hints) |
template<class Class , typename Type > | |
Property * | create_property (void(Class::*setter)(Type), Type(Class::*getter)() const, const char *ident, const char *label, const char *blurb, const char *hints) |
template<class Instance , class Class , class R , class... Args> | |
std::function< R(Args...)> | slot (Instance &object, R(Class::*method)(Args...)) |
This function creates a std::function by binding object to the member function pointer method. | |
template<class Class , class R , class... Args> | |
std::function< R(Args...)> | slot (Class *object, R(Class::*method)(Args...)) |
This function creates a std::function by binding object to the member function pointer method. | |
template<> | |
TypeCode | TypeCode::from_enum< Rapicorn::AdjustmentSourceType > () |
template<> | |
TypeCode | TypeCode::from_enum< Rapicorn::AlignType > () |
template<> | |
TypeCode | TypeCode::from_enum< Rapicorn::AnchorType > () |
template<> | |
TypeCode | TypeCode::from_enum< Rapicorn::ClickType > () |
template<> | |
TypeCode | TypeCode::from_enum< Rapicorn::ColorType > () |
template<> | |
TypeCode | TypeCode::from_enum< Rapicorn::ColorSchemeType > () |
template<> | |
TypeCode | TypeCode::from_enum< Rapicorn::DirType > () |
template<> | |
TypeCode | TypeCode::from_enum< Rapicorn::EllipsizeType > () |
template<> | |
TypeCode | TypeCode::from_enum< Rapicorn::FocusDirType > () |
template<> | |
TypeCode | TypeCode::from_enum< Rapicorn::FrameType > () |
template<> | |
TypeCode | TypeCode::from_enum< Rapicorn::LightingType > () |
template<> | |
TypeCode | TypeCode::from_enum< Rapicorn::SelectionMode > () |
template<> | |
TypeCode | TypeCode::from_enum< Rapicorn::SizePolicyType > () |
template<> | |
TypeCode | TypeCode::from_enum< Rapicorn::StateType > () |
template<> | |
TypeCode | TypeCode::from_enum< Rapicorn::TextMode > () |
template<> | |
TypeCode | TypeCode::from_enum< Rapicorn::WindowType > () |
template<> | |
TypeCode | TypeCode::from_enum< Rapicorn::UpdateKind > () |
template<> | |
TypeCode | TypeCode::from_enum< Rapicorn::TestEnum > () |
Variables | |
constexpr uint64 | CONNECTION_MASK |
constexpr struct Rapicorn::Aida::_ServantType | _servant |
Tag to retrieve servant from smart handle. | |
constexpr struct Rapicorn::Aida::_HandleType | _handle |
Tag to retrieve smart handle from servant. |
The Aida namespace provides all IDL functionality exported to C++.
MSGID_NONE |
No message ID. |
MSGID_ONEWAY_CALL |
One-way method call (void return). |
MSGID_DISCONNECT |
Signal destroyed, disconnect all handlers. |
MSGID_EMIT_ONEWAY |
One-way signal emissions (void return). |
MSGID_DROP_REFS |
FIXME: Unimplemented. |
MSGID_HELLO_REQUEST |
Two-way hello message and connection request. |
MSGID_TWOWAY_CALL |
Two-way method call, returns result message. |
MSGID_CONNECT |
Signal handler connection/disconnection request. |
MSGID_EMIT_TWOWAY |
Two-way signal emissions, returns result message. |
MSGID_HELLO_REPLY |
Reply message for two-way hello request. |
MSGID_CALL_RESULT |
Result message for two-way call. |
MSGID_CONNECT_RESULT |
Result message for signal handler connection/disconnection. |
MSGID_EMIT_RESULT |
Result message for two-way signal emissions. |
Classification enum for the underlying kind of a TypeCode.
UNTYPED |
Type indicator for unused Any instances. |
VOID |
'void' type. |
BOOL |
Boolean type. |
INT32 |
Signed numeric type for 32bit. |
INT64 |
Signed numeric type for 64bit. |
FLOAT64 |
Floating point type of IEEE-754 Double precision. |
STRING |
String type for character sequence in UTF-8 encoding. |
ENUM |
Enumeration type to represent choices. |
SEQUENCE |
Type to form sequences of an other type. |
RECORD |
Record type containing named fields. |
INSTANCE |
Interface instance type. |
FUNC |
Type of methods or signals. |
TYPE_REFERENCE |
Type reference for record fields. |
ANY |
Generic type to hold any other type. |