|
libqi-api
release-2.5.3-2016-11-18
|
Deprecated in 2.5. Use int8_t from <cstdint>. More...
Namespaces | |
| detail | |
| log | |
| Log functions with different levels of verbosity. | |
| measure | |
| os | |
| OS abstraction layer. . | |
| path | |
| Set of tools to handle SDK layouts. | |
| type | |
| Contains anything related to compile-time type manipulation. | |
| version | |
| Version numbering API. . | |
Classes | |
| class | Actor |
| class | VarArguments |
| class | VarArguments< AnyValue > |
| class | CallableTypeInterface |
| Signature information for both callable types FunctionTypeInterface and MethodType. More... | |
| class | FunctionTypeInterface |
| struct | ArgumentTransformation |
| class | KeywordArguments |
| class | AnyArguments |
| A function with AnyArguments as its sole argument will behave as if AnyFunction::fromDynamicFunction was called. More... | |
| class | AnyFunction |
| class | GenericFunctionParameters |
| struct | ModuleInfo |
| class | AnyModule |
| class | ModuleBuilder |
| class | Application |
| Class handling startup and teardown of an application. More... | |
| class | ApplicationSession |
| struct | Atomic |
| struct | ObjectSerializationInfo |
| Informations passed when serializing an object. More... | |
| class | Buffer |
| Class to store buffer. . More... | |
| class | BufferReader |
| Class to read const buffer. This class is intendeed to read buffer. It store an internal data cursor and an internal sub-buffer index. All offset are relative to the current position. More... | |
| class | SteadyClock |
| The SteadyClock class represents a monotonic clock. . More... | |
| class | Clock |
| The Clock class represents a system-wide clock, best suitable for timestamping events. Typically monotonic and unaffected by the system clock adjustment, altough this is not guaranteed. More... | |
| class | SystemClock |
| The SystemClock class represents the system-wide real time wall clock. It may not be monotonic: on most systems, the system time can be adjusted at any moment. More... | |
| class | Future |
| class | ExecutionContext |
| struct | ToPost |
| struct | FutureValueConverter< void, void > |
| struct | FutureValueConverter< T, void > |
| struct | FutureValueConverter< void, T > |
| class | FutureSync |
| class | Promise |
| class | FutureException |
| class | FutureUserException |
| struct | FutureValueConverter |
| Specialize this struct to provide conversion between future values. More... | |
| class | FutureBarrier |
| This class helps waiting on multiple futures at the same point. More... | |
| class | EventLoop |
| Class to handle eventloop. . More... | |
| class | ScopedFutureGroup |
| class | AuthProvider |
| class | AuthProviderFactory |
| class | AutoService |
| class | ClientAuthenticator |
| class | ClientAuthenticatorFactory |
| class | AutoService< qi::AnyObject > |
| class | Gateway |
| class | ServiceInfo |
| class | Path |
| The Path class allow handling filesystem path in a cross-platform maner. The class assume that all string are encoded in UTF-8 if not specified otherwise. More... | |
| class | DataPerf |
| Class to compute and store a benchmark time. More... | |
| class | DataPerfSuite |
| A class to perform benchmarks. More... | |
| class | PeriodicTask |
| Control a task executed periodically and asynchronously. . More... | |
| class | PropertyBase |
| class | PropertyImpl |
| class | UnsafeProperty |
| class | Property |
| class | GenericProperty |
| Type-erased property, simulating a typed property but using AnyValue. More... | |
| class | Session |
| class | SignalBase |
| class | Signal |
| class | SignalF |
| class | Signal< void > |
| class | SignalSubscriber |
| class | SignalSpy |
| A tool to track signal emissions, specialized for testing. A signal spy can acknowledge every signal emission of a given signal, type-erased or not. Every emission is recorded, so that they can be compared to expectations, or to produce a history. More... | |
| class | Signature |
| class | MinMaxSum |
| Stores min, max and sum of values fed to it. More... | |
| class | MethodStatistics |
| Store statistics about method calls. More... | |
| class | StrandPrivate |
| class | Strand |
| class | TrackableBase |
| Common base class to templates Trackable for compile-time detection. More... | |
| class | Trackable |
| Object tracking by blocking destruction while shared pointers are present. More... | |
| class | PointerLockException |
| class | Translator |
| Localization of your source code. More... | |
| struct | InfosKeyMask |
| class | FunctionTypeInterfaceEq |
| class | AnyIterator |
| class | AnyReference |
| class | AutoAnyReference |
| class | AnyValue |
| class | TypeImpl< AnyValue > |
| struct | FutureValueConverter< T, qi::AnyValue > |
| struct | FutureValueConverter< void, qi::AnyValue > |
| struct | boost_bind_result_type |
| struct | boost_bind_result_type< boost::_bi::bind_t< R, A, B > > |
| struct | boost_bind_parameter_types |
| struct | boost_bind_parameter_types< boost::_bi::bind_t< R, F, B > > |
| struct | boost_bind_function_type |
| class | TypeBufferImpl |
| class | TypeImpl< Buffer > |
| class | TypeImpl< boost::any > |
| class | GenericObject |
| class | TypeImpl< boost::shared_ptr< GenericObject > > |
| class | IntTypeInterfaceImpl |
| class | TypeBoolImpl |
| class | FloatTypeInterfaceImpl |
| class | ListTypeInterfaceImpl |
| class | TypeSimpleIteratorImpl |
| struct | TypeImpl< std::vector< T > > |
| struct | TypeImpl< std::list< T > > |
| struct | TypeImpl< std::set< T > > |
| class | VarArgsTypeInterfaceImpl |
| struct | TypeImpl< qi::VarArguments< T > > |
| class | EventTrace |
| class | Manageable |
| class | MapTypeInterfaceImpl |
| struct | TypeImpl< std::map< K, V, C, A > > |
| class | Empty |
| class | Object |
| class | WeakObject |
| class | TypeImpl< Object< T > > |
| class | PointerTypeInterfaceImpl |
| class | TypeImpl< T * > |
| class | TypeSharedPointerImpl |
| class | TypeImpl< boost::shared_ptr< T > > |
| class | Proxy |
| class | TypeProxy |
| class | StringTypeInterfaceImpl |
| class | TypeImpl< std::string > |
| class | TypeCStringImpl |
| class | TypeImpl< char * > |
| class | TypeImpl< char[I]> |
| class | TypeEquivalentString |
| class | StructTypeInterfaceBouncer |
| class | TypeImpl< std::pair< F, S > > |
| class | TraceAnalyzer |
| class | TypeOfTemplateImpl |
| class | TypeByPointer |
| Access API that stores a T* in storage. More... | |
| class | TypeByPointer< const T > |
| class | TypeByPointerPOD |
| class | TypeByValue |
| Access api that stores a T in storage. More... | |
| class | TypeByValue< const T > |
| class | DefaultTypeImplMethods |
| class | DefaultTypeImpl |
| class | TypeImpl |
| class | TypeImpl< void > |
| class | TypeImpl< T & > |
| class | TypeInfo |
| class | TypeInterface |
| class | DynamicObject |
| class | DynamicObjectBuilder |
| class | MetaMethodParameter |
| class | MetaMethod |
| Representation of a method in an GenericObject. More... | |
| class | MetaMethodBuilder |
| class | MetaObject |
| Description of the signals and methods accessible on an ObjectTypeInterface. More... | |
| class | MetaObjectBuilder |
| class | MetaProperty |
| class | MetaSignal |
| Representation of a Signal in an GenericObject. More... | |
| class | ObjectTypeBuilderBase |
| class | ObjectTypeBuilder |
| class | TypeOfTemplate< qi::Future > |
| class | TypeOfTemplate< qi::FutureSync > |
| class | TypeOfTemplateFutImpl |
| class | TypeOfTemplateImpl< qi::Future, T > |
| class | TypeOfTemplateImpl< qi::FutureSync, T > |
| class | TypeOfTemplate< qi::Promise > |
| class | TypeOfTemplateImpl< qi::Promise, T > |
| class | ProxyProperty |
| class | ProxySignal |
| Signal proxy, using an AnyObject and signal id as backend. More... | |
| class | IntTypeInterface |
| class | FloatTypeInterface |
| class | StringTypeInterface |
| class | RawTypeInterface |
| class | PointerTypeInterface |
| class | IteratorTypeInterface |
| class | ListTypeInterface |
| class | MapTypeInterface |
| class | StructTypeInterface |
| class | DynamicTypeInterface |
| class | VarArgsTypeInterface |
| class | TypeImpl< qi::TypeInterface > |
| class | TypeImpl< qi::TypeInterface * > |
| class | ObjectTypeInterface |
| class | Url |
Typedefs | |
| using | AnyVarArguments = VarArguments<> |
| using | DynamicFunction = boost::function< AnyReference(const AnyReferenceVector &)> |
| using | ModuleFactoryFunctor = boost::function< AnyModule(const qi::ModuleInfo &)> |
| using | AnyObject = Object< Empty > |
| using | ApplicationSessionOptions = ApplicationSession::Option |
| using | DeserializeObjectCallback = boost::function< AnyObject(const ObjectSerializationInfo &)> |
| Type of callback invoked by sdeerializer when it encounters an object. More... | |
| using | SerializeObjectCallback = boost::function< ObjectSerializationInfo(const AnyObject &)> |
| Type of callback invoked by serializer when it encounters an object. More... | |
| template<class Rep , class Ratio > | |
| using | DurationType = boost::chrono::duration< Rep, Ratio > |
| Convenience typedefs. More... | |
| template<class ClockType > | |
| using | TimePoint = boost::chrono::time_point< ClockType > |
| using | NanoSeconds = DurationType< int64_t, boost::nano > |
| using | MicroSeconds = DurationType< int64_t, boost::micro > |
| using | MilliSeconds = DurationType< int64_t, boost::milli > |
| using | Seconds = DurationType< int64_t, boost::ratio< 1 >> |
| using | Minutes = DurationType< int64_t, boost::ratio< 60 >> |
| using | Hours = DurationType< int64_t, boost::ratio< 3600 >> |
| using | Duration = NanoSeconds |
| using | SteadyClockTimePoint = SteadyClock::time_point |
| Steady clock time point. More... | |
| using | ClockTimePoint = Clock::time_point |
| qi::Clock time point. More... | |
| using | SystemClockTimePoint = SystemClock::time_point |
| System clock time point. More... | |
| using | FutureUniqueId = void * |
| using | JsonOption = int |
| using | LogContext = int |
| Logs context attribute value. More... | |
| using | CapabilityMap = std::map< std::string, AnyValue > |
| using | AuthProviderPtr = boost::shared_ptr< AuthProvider > |
| using | AuthProviderFactoryPtr = boost::shared_ptr< AuthProviderFactory > |
| using | AnyAutoService = AutoService< qi::Empty > |
| using | ClientAuthenticatorPtr = boost::shared_ptr< ClientAuthenticator > |
| using | ClientAuthenticatorFactoryPtr = boost::shared_ptr< ClientAuthenticatorFactory > |
| using | GatewayPrivatePtr = boost::shared_ptr< GatewayPrivate > |
| using | ServiceInfoVector = std::vector< qi::ServiceInfo > |
| using | PathVector = std::vector< Path > |
| using | codecvt_type = std::codecvt< wchar_t, char, std::mbstate_t > |
| Standard std::codecvt type accepted by STL and boost. More... | |
| using | SessionPtr = boost::shared_ptr< Session > |
| using | SignalLink = qi::uint64_t |
| using | SignalSubscriberPtr = boost::shared_ptr< SignalSubscriber > |
| using | SignatureVector = std::vector< Signature > |
| using | AnyReferenceVector = std::vector< AnyReference > |
| using | AnyValueVector = std::vector< AnyValue > |
| using | ObjectStatistics = std::map< unsigned int, MethodStatistics > |
| using | AnyWeakObject = WeakObject< Empty > |
| using | MetaMethodParameterVector = std::vector< MetaMethodParameter > |
| using | int8_t = int8_t |
| using | int16_t = int16_t |
| using | int32_t = int32_t |
| using | int64_t = int64_t |
| using | uint8_t = uint8_t |
| using | uint16_t = uint16_t |
| using | uint32_t = uint32_t |
| using | uint64_t = uint64_t |
| using | UrlVector = std::vector< Url > |
Functions | |
| template<typename T > | |
| FunctionTypeInterface * | makeFunctionTypeInterface () |
| FunctionTypeInterface * | dynamicFunctionTypeInterface () |
| bool | registerCppEmbeddedModule (const std::string &moduleName, boost::function< void(ModuleBuilder *)> fun) |
| std::vector< ModuleInfo > | listModules () |
| AnyModule | import (const std::string &name) |
| AnyModule | import (const ModuleInfo &name) |
| bool | registerModuleFactory (const std::string &name, ModuleFactoryFunctor fun) |
| qi::Future< AnyReference > | metaCall (ExecutionContext *ec, ObjectThreadingModel objectThreadingModel, MetaCallType methodThreadingModel, MetaCallType callType, AnyObject manageable, unsigned int methodId, AnyFunction func, const GenericFunctionParameters ¶ms, bool noCloneFirst=false, unsigned int callerId=0, qi::os::timeval postTimestamp=qi::os::timeval()) |
| long | testAndSet (long *cond) |
| template<typename T > | |
| AnyReference | decodeBinary (qi::BufferReader *buf, T *value, DeserializeObjectCallback onObject=DeserializeObjectCallback(), StreamContext *streamContext=0) |
| void | encodeBinary (qi::Buffer *buf, const AutoAnyReference &gvp, SerializeObjectCallback onObject=SerializeObjectCallback(), StreamContext *ctx=0) |
| AnyReference | decodeBinary (qi::BufferReader *buf, AnyReference gvp, DeserializeObjectCallback onObject=DeserializeObjectCallback(), StreamContext *ctx=0) |
| QI_API_DEPRECATED SteadyClockTimePoint | steadyClockNow () |
| Returns a time_point representing the current value of the clock. More... | |
| QI_API_DEPRECATED SystemClockTimePoint | wallClockNow () |
| Returns a time_point representing the current value of the clock. More... | |
| template<class R , class P > | |
| std::string | to_string (const DurationType< R, P > &d) |
| template<class C , class D > | |
| std::string | to_string (const boost::chrono::time_point< C, D > &t) |
| template<class Rep , class Period > | |
| void | sleepFor (const boost::chrono::duration< Rep, Period > &d) |
| template<class R , class P > | |
| std::string | to_string (const boost::chrono::duration< R, P > &d) |
| template<typename R > | |
| void | nullConverter (void *, R &) |
| template<typename T > | |
| qi::Future< T > | makeFutureError (const std::string &error) |
| Helper function to return a future with the error set. More... | |
| template<typename R > | |
| void | adaptFutureUnwrap (Future< AnyReference > &f, Promise< R > &p) |
| Feed a promise from a generic future which may be unwrapped if it contains itself a future. More... | |
| template<typename FT , typename PT > | |
| void | adaptFuture (const Future< FT > &f, Promise< PT > &p, AdaptFutureOption option=AdaptFutureOption_ForwardCancel) |
| Feed a promise from a future of possibly different type. More... | |
| template<typename FT , typename PT , typename CONV > | |
| void | adaptFuture (const Future< FT > &f, Promise< PT > &p, CONV converter, AdaptFutureOption option=AdaptFutureOption_ForwardCancel) |
| Similar to adaptFuture(f, p) but with a custom converter. More... | |
| template<typename T > | |
| void | PromiseNoop (qi::Promise< T > &) |
| Helper function that does nothing on future cancelation. More... | |
| template<typename R > | |
| void | adaptFuture (Future< AnyReference > &f, Promise< R > &p) |
| template<typename T > | |
| boost::function< void()> | makeCanceler (Future< T > &future) |
| template<typename T > | |
| qi::FutureSync< std::vector < Future< T > > > | waitForAll (std::vector< Future< T > > &vect) |
| Helper function to wait on a vector of futures. More... | |
| template<typename T > | |
| qi::FutureSync< qi::Future< T > > | waitForFirst (std::vector< Future< T > > &vect) |
| Helper function to wait for the first valid future. More... | |
| template<typename RF , typename AF , typename Arg0 , typename... Args> | |
| std::enable_if < std::is_function< RF > ::value, boost::function< RF > >::type | bindWithFallback (boost::function< void()> onFail, AF &&fun, Arg0 &&arg0, Args &&...args) |
| template<typename RF , typename AF , typename Arg0 , typename... Args> | |
| std::enable_if < std::is_function< RF > ::value, boost::function< RF > >::type | bindSilent (AF &&fun, Arg0 &&arg0, Args &&...args) |
| template<typename RF , typename AF , typename Arg0 , typename... Args> | |
| std::enable_if < std::is_function< RF > ::value, boost::function< RF > >::type | bind (AF &&fun, Arg0 &&arg0, Args &&...args) |
| template<typename AF , typename Arg0 , typename... Args> | |
| auto | bindWithFallback (boost::function< void()> onFail, AF &&fun, Arg0 &&arg0, Args &&...args) -> typename detail::BindTransform< Arg0 >::template wrap_type< decltype(boost::bind(std::forward< AF >(fun), detail::BindTransform< Arg0 >::transform(arg0), std::forward< Args >(args)...))> |
| template<typename AF , typename Arg0 , typename... Args> | |
| auto | bindSilent (AF &&fun, Arg0 &&arg0, Args &&...args) -> decltype(bindWithFallback( |
| template<typename AF , typename Arg0 , typename... Args> | |
| auto | bind (AF &&fun, Arg0 &&arg0, Args &&...args) -> decltype(bindWithFallback(detail::throwPointerLockException, std::forward< AF >(fun), std::forward< Arg0 >(arg0), std::forward< Args >(args)...)) |
| template<typename R , typename AF , typename Arg0 , typename... Args> | |
| auto | bindWithFallback (boost::function< void()> onFail, AF &&fun, Arg0 &&arg0, Args &&...args) -> typename std::enable_if<!std::is_function< R >::value, typename detail::BindTransform< Arg0 >::template wrap_type< decltype(boost::bind< R >(std::forward< AF >(fun), detail::BindTransform< Arg0 >::transform(arg0), std::forward< Args >(args)...))>>::type |
| template<typename R , typename AF , typename Arg0 , typename... Args> | |
| auto | bindSilent (AF &&fun, Arg0 &&arg0, Args &&...args) -> typename std::enable_if< !std::is_function< R >::value, decltype(bindWithFallback< R >( |
| template<typename R , typename AF , typename Arg0 , typename... Args> | |
| auto | bind (AF &&fun, Arg0 &&arg0, Args &&...args) -> typename std::enable_if<!std::is_function< R >::value, decltype(bindWithFallback< R >(detail::throwPointerLockException, std::forward< AF >(fun), std::forward< Arg0 >(arg0), std::forward< Args >(args)...))>::type |
| template<typename F , typename Arg0 > | |
| auto | trackWithFallback (boost::function< void()> onFail, F &&f, Arg0 &&arg0) -> decltype(detail::BindTransform< Arg0 >::wrap(std::forward< Arg0 >(arg0), std::forward< F >(f), std::move(onFail))) |
| template<typename F , typename Arg0 > | |
| auto | track (F &&f, Arg0 &&arg0) -> decltype(trackWithFallback(detail::throwPointerLockException, std::forward< F >(f), std::forward< Arg0 >(arg0))) |
| template<typename F , typename Arg0 > | |
| auto | trackSilent (F &&f, Arg0 &&arg0) -> decltype(trackWithFallback( |
| template<typename F , typename Arg0 > | |
| boost::function< F > | trackWithFallback (boost::function< void()> onFail, boost::function< F > f, const Arg0 &arg0) |
| template<typename F , typename Arg0 > | |
| boost::function< F > | trackSilent (boost::function< F > f, const Arg0 &arg0) |
| template<typename F , typename Arg0 > | |
| boost::function< F > | track (boost::function< F > f, const Arg0 &arg0) |
| EventLoop * | getEventLoop () |
| Return the global eventloop, created on demand on first call. More... | |
| template<typename R > | |
| Future< R > | async (boost::function< R()> callback, uint64_t usDelay) |
| template<typename R > | |
| Future< R > | async (boost::function< R()> callback, qi::Duration delay) |
| template<typename R > | |
| Future< R > | async (boost::function< R()> callback, qi::SteadyClockTimePoint timepoint) |
| template<typename R > | |
| Future< R > | async (detail::Function< R()> callback) |
| template<typename F > | |
| auto | asyncDelay (F &&callback, qi::Duration delay) -> decltype(detail::asyncMaybeActor(std::forward< F >(callback), delay)) |
| template<typename F > | |
| auto | asyncAt (F &&callback, qi::SteadyClockTimePoint timepoint) -> decltype(qi::getEventLoop() ->asyncAt(std::forward< F >(callback), timepoint)) |
| template<typename F > | |
| auto | async (F &&callback) -> decltype(asyncDelay(std::forward< F >(callback), qi::Duration(0))) |
| template<typename R , typename Func , typename ArgTrack > | |
| QI_API_DEPRECATED qi::Future< R > | async (const Func &f, const ArgTrack &toTrack,...) |
| void | startEventLoop (int nthread) |
| Start the eventloop with nthread threads. No-op if already started. More... | |
| boost::asio::io_service & | getIoService () |
| Get the io_service used by the global event loop. More... | |
| std::string | encodeJSON (const qi::AutoAnyReference &val, JsonOption jsonPrintOption=JsonOption_None) |
| qi::AnyValue | decodeJSON (const std::string &in) |
| std::string::const_iterator | decodeJSON (const std::string::const_iterator &begin, const std::string::const_iterator &end, AnyValue &target) |
| codecvt_type & | unicodeFacet () |
| UTF-8 facet object getter. More... | |
| SessionPtr | makeSession () |
| std::vector< std::string > | signatureSplit (const std::string &fullSignature) |
| qi::Signature | makeTupleSignature (const std::vector< qi::AnyReference > &vgv, bool resolveDynamic=false, const std::string &name=std::string(), const std::vector< std::string > &names=std::vector< std::string >()) |
| qi::Signature | makeTupleSignature (const std::vector< TypeInterface * > &vgv, const std::string &name=std::string(), const std::vector< std::string > &names=std::vector< std::string >()) |
| qi::Signature | makeTupleSignature (const qi::Signature &element) |
| qi::Signature | makeListSignature (const qi::Signature &element) |
| qi::Signature | makeVarArgsSignature (const qi::Signature &element) |
| qi::Signature | makeKwArgsSignature (const qi::Signature &element) |
| qi::Signature | makeMapSignature (const qi::Signature &key, const qi::Signature &value) |
| bool | operator!= (const Signature &lhs, const Signature &rhs) |
| bool | operator== (const Signature &lhs, const Signature &rhs) |
| template<typename RF , typename AF > | |
| boost::function< RF > | bind (const AF &fun,...) |
| template<typename F , typename ARG0 > | |
| boost::function< F > | track (boost::function< F > f, const ARG0 &arg0) |
| Wrap given function f with a tracking check on arg0, which must be a weak pointer or a Trackable instance. More... | |
| template<typename F , typename ARG0 > | |
| boost::function< F > | trackWithFallback (boost::function< void()> onFail, boost::function< F > f, const ARG0 &arg0) |
| Wrap given function f with a tracking check on arg0, which must be a weak pointer or a Trackable instance. More... | |
| qi::Translator & | defaultTranslator (const std::string &name) |
| Get a reference on the default Translator. More... | |
| std::string | tr (const std::string &msg, const std::string &domain="", const std::string &locale="", const std::string &context="") |
| Translate a message. More... | |
| std::string | trContext (const std::string &msg, const std::string &context) |
| Translate a message with a specific context. More... | |
| bool | operator== (const AnyIterator &a, const AnyIterator &b) |
| bool | operator!= (const AnyIterator &a, const AnyIterator &b) |
| bool | operator< (const AnyReference &a, const AnyReference &b) |
| bool | operator== (const AnyReference &a, const AnyReference &b) |
| bool | operator!= (const AnyReference &a, const AnyReference &b) |
| AnyReference | makeGenericTuple (const AnyReferenceVector &values) |
| AnyReference | makeGenericTuplePtr (const std::vector< TypeInterface * > &types, const std::vector< void * > &values) |
| bool | operator< (const AnyValue &a, const AnyValue &b) |
| Less than operator. Will compare the values within the AnyValue. More... | |
| bool | operator== (const AnyValue &a, const AnyValue &b) |
| Value equality operator. Will compare the values within. More... | |
| bool | operator!= (const AnyValue &a, const AnyValue &b) |
| AnyReferenceVector | asAnyReferenceVector (const AnyValueVector &vect) |
| template<typename T , typename... Args> | |
| boost::enable_if< typename detail::InterfaceImplTraits< T > ::Defined, qi::Object< T > >::type | constructObject (Args...args) |
| template<typename T , typename... Args> | |
| boost::disable_if< typename detail::InterfaceImplTraits< T > ::Defined, qi::Object< T > >::type | constructObject (Args &&...args) |
| template<typename A > | |
| boost::enable_if< typename detail::Accessor< A > ::is_accessor, SignalBase * > ::type | signalAccess (A acc, void *instance) |
| template<typename A > | |
| boost::enable_if< typename detail::Accessor< A > ::is_accessor, PropertyBase * > ::type | propertyAccess (A acc, void *instance) |
| template<typename Proxy , typename Interface > | |
| bool | registerProxyInterface () |
| template<class Func , class... Args> | |
| auto | callWithInstance (Func &&f, Args &&...args) -> decltype(std::forward< Func >(f)(std::forward< Args >(args)...)) |
| template<class Func , class Obj , class... Args> | |
| auto | callWithInstance (Func &&f, Obj &&o, Args &&...args) -> decltype((std::forward< Obj >(o).*std::forward< Func >(f))(std::forward< Args >(args)...)) |
| StringTypeInterface::ManagedRawString | makeManagedString (const std::string &s) |
| StringTypeInterface::ManagedRawString | makeManagedString (std::string &&s) |
| template<typename T , typename F > | |
| StringTypeInterface * | makeTypeEquivalentString (T *, F f) |
| bool | operator< (const TraceAnalyzer::FlowLink &a, const TraceAnalyzer::FlowLink &b) |
| template<typename T > | |
| TypeInterface * | typeOf () |
| template<typename TypeDispatcher > | |
| TypeDispatcher & | typeDispatch (TypeDispatcher &v, AnyReference value) |
| TypeInterface * | getType (const std::type_info &type) |
| Runtime Type factory getter. Used by typeOf<T>() More... | |
| bool | registerType (const std::type_info &typeId, TypeInterface *type) |
| Runtime Type factory setter. More... | |
| template<typename T > | |
| TypeInterface * | typeOf (const T &v) |
| Get type from a value. No need to delete the result. More... | |
| void | registerStruct (TypeInterface *type) |
| TypeInterface * | getRegisteredStruct (const qi::Signature &s) |
| AnyObject | makeDynamicAnyObject (DynamicObject *obj, bool destroyObject=true, boost::function< void(GenericObject *)> onDelete=boost::function< void(GenericObject *)>()) |
| AnyObject | makeDynamicSharedAnyObjectImpl (DynamicObject *obj, boost::shared_ptr< Empty > other) |
| template<typename T > | |
| AnyObject | makeDynamicSharedAnyObject (DynamicObject *obj, boost::shared_ptr< T > other) |
| ObjectTypeInterface * | getDynamicTypeInterface () |
| bool | operator< (const MetaObject &a, const MetaObject &b) |
| template<typename T , template< class...> class PropertyType> | |
| void | makeProxyProperty (PropertyType< T > &target, AnyObject object, const std::string &signalName) |
| template<typename T , template< class...> class PropertyType> | |
| void | makeProxyProperty (ProxyProperty< T, PropertyType > &target, AnyObject object, const std::string &signalName) |
| template<typename T > | |
| void | makeProxySignal (SignalF< T > &target, AnyObject object, const std::string &signalName) |
| template<typename T > | |
| void | makeProxySignal (ProxySignal< T > &target, AnyObject object, const std::string &signalName) |
| template<typename Dispatcher > | |
| Dispatcher & | typeDispatch (Dispatcher &dispatcher, AnyReference value) |
| TypeInterface * | makeTypeOfKind (const qi::TypeKind &kind) |
| TypeInterface * | makeFloatType (int bytelen) |
| TypeInterface * | makeIntType (bool issigned, int bytelen) |
| TypeInterface * | makeVarArgsType (TypeInterface *elementType) |
| TypeInterface * | makeListType (TypeInterface *elementType) |
| TypeInterface * | makeMapType (TypeInterface *keyType, TypeInterface *ElementType) |
| TypeInterface * | makeTupleType (const std::vector< TypeInterface * > &memberTypes, const std::string &name=std::string(), const std::vector< std::string > &elementNames=std::vector< std::string >()) |
| bool | operator== (const Url &lhs, const Url &rhs) |
| bool | operator!= (const Url &lhs, const Url &rhs) |
| void | sleepFor (const qi::Duration &d) |
| template<class Rep , class Period > | |
| void | sleepFor (const DurationType< Rep, Period > &d) |
| void | sleepUntil (const SteadyClockTimePoint &t) |
Blocks the execution of the current thread until t has been reached. More... | |
| template<class Duration > | |
| void | sleepUntil (const boost::chrono::time_point< SteadyClock, Duration > &t) |
| void | sleepUntil (const ClockTimePoint &t) |
Blocks the execution of the current thread until t has been reached. More... | |
| template<class Duration > | |
| void | sleepUntil (const boost::chrono::time_point< Clock, Duration > &t) |
| void | sleepUntil (const SystemClockTimePoint &t) |
Blocks the execution of the current thread until t has been reached. More... | |
| template<class Duration > | |
| void | sleepUntil (const boost::chrono::time_point< SystemClock, Duration > &t) |
| std::string | toISO8601String (const SystemClockTimePoint &t) |
| Return the date and time as a string in ISO 8601 format. The time is given up to millisecond precision, in UTC. The format does not include colon characters, to be suitable for inclusion in filenames on any filesystem. More... | |
| template<class DurationTo , class TimePointFrom > | |
| DurationTo | durationSince (const TimePointFrom &t) |
| }@ More... | |
Variables | |
| QI_API_DEPRECATED typedef SystemClock | WallClock |
| QI_API_DEPRECATED typedef SystemClockTimePoint | WallClockTimePoint |
| System clock time point. More... | |
| const unsigned int | JsonOption_None = 0 |
| const unsigned int | JsonOption_PrettyPrint = 1 |
| const unsigned int | JsonOption_Expand = 2 |
| template<template< typename > class T> | |
| class QITYPE_TEMPLATE_API | TypeOfTemplate |
Deprecated in 2.5. Use int8_t from <cstdint>.
Language factory, for each language (C++, Python, ...) a factory should be registered. The factory will be used to load the module
qi::int8_t qi::int16_t Deprecated in 2.5. Use int16_t from <cstdint>. qi::int32_t Deprecated in 2.5. Use int32_t from <cstdint>. qi::int64_t Deprecated in 2.5. Use int64_t from <cstdint>. qi::uint8_t Deprecated in 2.5. Use uint8_t from <cstdint>. qi::uint16_t Deprecated in 2.5. Use uint16_t from <cstdint>. qi::uint32_t Deprecated in 2.5. Use uint32_t from <cstdint>. qi::uint64_t Deprecated in 2.5. Use uint64_t from <cstdint>.| using qi::AnyAutoService = typedef AutoService<qi::Empty> |
Definition at line 105 of file autoservice.hpp.
| typedef Object< Empty > qi::AnyObject |
Definition at line 21 of file anyobject.hpp.
| typedef std::vector< AnyReference > qi::AnyReferenceVector |
Definition at line 24 of file anyreference.hpp.
| typedef std::vector< AnyValue > qi::AnyValueVector |
Definition at line 112 of file anyvalue.hpp.
| using qi::AnyVarArguments = typedef VarArguments<> |
Definition at line 50 of file anyfunction.hpp.
| typedef WeakObject< Empty > qi::AnyWeakObject |
Definition at line 332 of file object.hxx.
| using qi::ApplicationSessionOptions = typedef ApplicationSession::Option |
Definition at line 148 of file applicationsession.hpp.
| typedef boost::shared_ptr< AuthProviderFactory > qi::AuthProviderFactoryPtr |
Definition at line 36 of file authproviderfactory.hpp.
| typedef boost::shared_ptr< AuthProvider > qi::AuthProviderPtr |
Definition at line 58 of file authprovider.hpp.
| typedef std::map< std::string, AnyValue > qi::CapabilityMap |
Definition at line 21 of file authprovider.hpp.
| typedef boost::shared_ptr< ClientAuthenticatorFactory > qi::ClientAuthenticatorFactoryPtr |
Definition at line 27 of file clientauthenticatorfactory.hpp.
| using qi::ClientAuthenticatorPtr = typedef boost::shared_ptr<ClientAuthenticator> |
Definition at line 45 of file clientauthenticator.hpp.
| using qi::ClockTimePoint = typedef Clock::time_point |
| using qi::codecvt_type = typedef std::codecvt<wchar_t, char, std::mbstate_t> |
| using qi::DeserializeObjectCallback = typedef boost::function<AnyObject(const ObjectSerializationInfo&)> |
Type of callback invoked by sdeerializer when it encounters an object.
Definition at line 39 of file binarycodec.hpp.
| using qi::Duration = typedef NanoSeconds |
| using qi::DurationType = typedef boost::chrono::duration<Rep, Ratio> |
| using qi::DynamicFunction = typedef boost::function<AnyReference(const AnyReferenceVector&)> |
Definition at line 142 of file anyfunction.hpp.
| using qi::FutureUniqueId = typedef void* |
Definition at line 99 of file future_fwd.hpp.
| using qi::GatewayPrivatePtr = typedef boost::shared_ptr<GatewayPrivate> |
Definition at line 26 of file gateway.hpp.
| using qi::Hours = typedef DurationType<int64_t, boost::ratio<3600>> |
| using qi::int16_t = typedef int16_t |
| using qi::int32_t = typedef int32_t |
| using qi::int64_t = typedef int64_t |
| using qi::int8_t = typedef int8_t |
| using qi::JsonOption = typedef int |
Definition at line 16 of file jsoncodec.hpp.
| using qi::LogContext = typedef int |
| using qi::MetaMethodParameterVector = typedef std::vector<MetaMethodParameter> |
Definition at line 38 of file metamethod.hpp.
| using qi::MicroSeconds = typedef DurationType<int64_t, boost::micro> |
| using qi::MilliSeconds = typedef DurationType<int64_t, boost::milli> |
| using qi::Minutes = typedef DurationType<int64_t, boost::ratio<60>> |
| using qi::ModuleFactoryFunctor = typedef boost::function<AnyModule(const qi::ModuleInfo&)> |
Definition at line 148 of file anymodule.hpp.
| using qi::NanoSeconds = typedef DurationType<int64_t, boost::nano> |
| using qi::ObjectStatistics = typedef std::map<unsigned int, MethodStatistics> |
Definition at line 120 of file manageable.hpp.
| using qi::PathVector = typedef std::vector<Path> |
| using qi::Seconds = typedef DurationType<int64_t, boost::ratio<1>> |
| using qi::SerializeObjectCallback = typedef boost::function<ObjectSerializationInfo(const AnyObject&)> |
Type of callback invoked by serializer when it encounters an object.
Definition at line 42 of file binarycodec.hpp.
| using qi::ServiceInfoVector = typedef std::vector<qi::ServiceInfo> |
Definition at line 50 of file serviceinfo.hpp.
| using qi::SessionPtr = typedef boost::shared_ptr<Session> |
Definition at line 158 of file session.hpp.
| typedef qi::uint64_t qi::SignalLink |
Definition at line 35 of file signal.hpp.
| using qi::SignalSubscriberPtr = typedef boost::shared_ptr<SignalSubscriber> |
Definition at line 269 of file signal.hpp.
| using qi::SignatureVector = typedef std::vector<Signature> |
Definition at line 63 of file signature.hpp.
| using qi::SteadyClockTimePoint = typedef SteadyClock::time_point |
| using qi::SystemClockTimePoint = typedef SystemClock::time_point |
| using qi::TimePoint = typedef boost::chrono::time_point<ClockType> |
| using qi::uint16_t = typedef uint16_t |
| using qi::uint32_t = typedef uint32_t |
| using qi::uint64_t = typedef uint64_t |
| using qi::uint8_t = typedef uint8_t |
| using qi::UrlVector = typedef std::vector<Url> |
| Enumerator | |
|---|---|
| AdaptFutureOption_None | |
| AdaptFutureOption_ForwardCancel | |
Definition at line 94 of file future_fwd.hpp.
| Enumerator | |
|---|---|
| FutureCallbackType_Sync | |
| FutureCallbackType_Async | |
| FutureCallbackType_Auto | |
Definition at line 83 of file future_fwd.hpp.
| enum qi::FutureState |
State of the future.
| Enumerator | |
|---|---|
| FutureState_None |
Future is not tied to a promise. |
| FutureState_Running |
Operation pending. |
| FutureState_Canceled |
The future has been canceled. |
| FutureState_FinishedWithError |
The operation is finished with an error. |
| FutureState_FinishedWithValue |
The operation is finished with a value. |
Definition at line 75 of file future_fwd.hpp.
| enum qi::FutureTimeout |
| Enumerator | |
|---|---|
| FutureTimeout_Infinite | |
| FutureTimeout_None | |
Definition at line 89 of file future_fwd.hpp.
| enum qi::LogColor |
| enum qi::LogContextAttr |
Logs context attribute.
| Enumerator | |
|---|---|
| LogContextAttr_None |
No context. |
| LogContextAttr_Verbosity |
Show logs level. |
| LogContextAttr_ShortVerbosity |
Show short logs level. |
| LogContextAttr_SystemDate |
Show qi::SystemClock dates. |
| LogContextAttr_Tid |
Show threads id. |
| LogContextAttr_Category |
Show categories. |
| LogContextAttr_File |
Show logs files. |
| LogContextAttr_Function |
Show functions name. |
| LogContextAttr_Return |
Print an end line between contexts and logs. |
| LogContextAttr_Date |
Show qi::Clock dates. |
| enum qi::LogLevel |
| enum qi::MetaCallType |
Specifies how a call should be made. Can be used at both call-site, and callback-registration site.
| Enumerator | |
|---|---|
| MetaCallType_Auto |
Honor the default behavior. |
| MetaCallType_Direct |
Force a synchronous call. |
| MetaCallType_Queued |
Force an asynchronous call in an other thread. |
Definition at line 21 of file typeobject.hpp.
Possible thread models for an object.
| Enumerator | |
|---|---|
| ObjectThreadingModel_SingleThread |
Object is not thread safe, all method calls must occur in the same thread. |
| ObjectThreadingModel_MultiThread |
Object is thread safe, multiple calls can occur in different threads in parallel. |
| ObjectThreadingModel_Default | |
Definition at line 33 of file manageable.hpp.
| enum qi::StreamColor |
The Stream Color enum.
Definition at line 19 of file iocolor.hpp.
| enum qi::TypeKind |
| void qi::adaptFuture | ( | const Future< FT > & | f, |
| Promise< PT > & | p, | ||
| AdaptFutureOption | option = AdaptFutureOption_ForwardCancel |
||
| ) |
Feed a promise from a future of possibly different type.
Will monitor f, and bounce its state to p. Error and canceled state are bounced as is. Valued state is bounced through FutureValueConverter<FT, PT>::convert()
Definition at line 673 of file future.hxx.
| void qi::adaptFuture | ( | const Future< FT > & | f, |
| Promise< PT > & | p, | ||
| CONV | converter, | ||
| AdaptFutureOption | option | ||
| ) |
Similar to adaptFuture(f, p) but with a custom converter.
Definition at line 683 of file future.hxx.
| void qi::adaptFuture | ( | Future< AnyReference > & | f, |
| Promise< R > & | p | ||
| ) |
| void qi::adaptFutureUnwrap | ( | Future< AnyReference > & | f, |
| Promise< R > & | p | ||
| ) |
Feed a promise from a generic future which may be unwrapped if it contains itself a future.
Definition at line 663 of file future.hxx.
|
inline |
Definition at line 222 of file anyvalue.hxx.
|
inline |
Definition at line 186 of file eventloop.hpp.
|
inline |
Definition at line 192 of file eventloop.hpp.
|
inline |
Definition at line 198 of file eventloop.hpp.
|
inline |
Definition at line 204 of file eventloop.hpp.
|
inline |
Definition at line 222 of file eventloop.hpp.
| QI_API_DEPRECATED qi::Future<R> qi::async | ( | const Func & | f, |
| const ArgTrack & | toTrack, | ||
| ... | |||
| ) |
|
inline |
Definition at line 216 of file eventloop.hpp.
|
inline |
Definition at line 210 of file eventloop.hpp.
| boost::function<RF> qi::bind | ( | const AF & | fun, |
| ... | |||
| ) |
Bind a set of arguments or placeholders to a function.
Handles first function argument of kind boost::weak_ptr and qi::Trackable: will try to lock and throw qi::PointerLockException in case of failure
| std::enable_if<std::is_function<RF>::value, boost::function<RF> >::type qi::bind | ( | AF && | fun, |
| Arg0 && | arg0, | ||
| Args &&... | args | ||
| ) |
Definition at line 327 of file trackable.hxx.
| auto qi::bind | ( | AF && | fun, |
| Arg0 && | arg0, | ||
| Args &&... | args | ||
| ) | -> decltype(bindWithFallback(detail::throwPointerLockException, std::forward<AF>(fun), std::forward<Arg0>(arg0), std::forward<Args>(args)...)) |
Definition at line 355 of file trackable.hxx.
| auto qi::bind | ( | AF && | fun, |
| Arg0 && | arg0, | ||
| Args &&... | args | ||
| ) | -> typename std::enable_if<!std::is_function<R>::value, decltype(bindWithFallback<R>(detail::throwPointerLockException, std::forward<AF>(fun), std::forward<Arg0>(arg0), std::forward<Args>(args)...))>::type |
Definition at line 390 of file trackable.hxx.
| std::enable_if<std::is_function<RF>::value, boost::function<RF> >::type qi::bindSilent | ( | AF && | fun, |
| Arg0 && | arg0, | ||
| Args &&... | args | ||
| ) |
Definition at line 319 of file trackable.hxx.
| auto qi::bindSilent | ( | AF && | fun, |
| Arg0 && | arg0, | ||
| Args &&... | args | ||
| ) | -> decltype(bindWithFallback( |
Definition at line 349 of file trackable.hxx.
| auto qi::bindSilent | ( | AF && | fun, |
| Arg0 && | arg0, | ||
| Args &&... | args | ||
| ) | -> typename std::enable_if< !std::is_function<R>::value, decltype( bindWithFallback<R>( |
Definition at line 382 of file trackable.hxx.
| std::enable_if<std::is_function<RF>::value, boost::function<RF> >::type qi::bindWithFallback | ( | boost::function< void()> | onFail, |
| AF && | fun, | ||
| Arg0 && | arg0, | ||
| Args &&... | args | ||
| ) |
Definition at line 310 of file trackable.hxx.
| auto qi::bindWithFallback | ( | boost::function< void()> | onFail, |
| AF && | fun, | ||
| Arg0 && | arg0, | ||
| Args &&... | args | ||
| ) | -> typename detail::BindTransform<Arg0>::template wrap_type< decltype(boost::bind(std::forward<AF>(fun), detail::BindTransform<Arg0>::transform(arg0), std::forward<Args>(args)...))> |
Definition at line 336 of file trackable.hxx.
| auto qi::bindWithFallback | ( | boost::function< void()> | onFail, |
| AF && | fun, | ||
| Arg0 && | arg0, | ||
| Args &&... | args | ||
| ) | -> typename std::enable_if<!std::is_function<R>::value, typename detail::BindTransform<Arg0>::template wrap_type< decltype(boost::bind<R>(std::forward<AF>(fun), detail::BindTransform<Arg0>::transform(arg0), std::forward<Args>(args)...))>>::type |
Definition at line 368 of file trackable.hxx.
| auto qi::callWithInstance | ( | Func && | f, |
| Args &&... | args | ||
| ) | -> decltype(std::forward<Func>(f)(std::forward<Args>(args)...)) |
Definition at line 112 of file stringtypeinterface.hxx.
| auto qi::callWithInstance | ( | Func && | f, |
| Obj && | o, | ||
| Args &&... | args | ||
| ) | -> decltype((std::forward<Obj>(o).*std::forward<Func>(f))(std::forward<Args>(args)...)) |
Definition at line 119 of file stringtypeinterface.hxx.
| boost::enable_if<typename detail::InterfaceImplTraits<T>::Defined, qi::Object<T> >::type qi::constructObject | ( | Args... | args | ) |
Definition at line 183 of file object.hxx.
| boost::disable_if<typename detail::InterfaceImplTraits<T>::Defined, qi::Object<T> >::type qi::constructObject | ( | Args &&... | args | ) |
Definition at line 189 of file object.hxx.
| AnyReference qi::decodeBinary | ( | qi::BufferReader * | buf, |
| T * | value, | ||
| DeserializeObjectCallback | onObject = DeserializeObjectCallback(), |
||
| StreamContext * | streamContext = 0 |
||
| ) |
Definition at line 72 of file binarycodec.hpp.
| AnyReference qi::decodeBinary | ( | qi::BufferReader * | buf, |
| AnyReference | gvp, | ||
| DeserializeObjectCallback | onObject = DeserializeObjectCallback(), |
||
| StreamContext * | ctx = 0 |
||
| ) |
Decode content of buf into gvp.
| buf | buffer with serialized data |
| gvp | initialized AnyReference of correct type. Will be filled in. |
| onObject | callback invoked each time an object is encountered. |
| ctx | connection context |
| std::runtime_error | when the decoding fail |
| qi::AnyValue qi::decodeJSON | ( | const std::string & | in | ) |
creates a GV representing a JSON string or throw on parse error.
| in | JSON string to decode. |
| std::string::const_iterator qi::decodeJSON | ( | const std::string::const_iterator & | begin, |
| const std::string::const_iterator & | end, | ||
| AnyValue & | target | ||
| ) |
set the input GV to represent the JSON sequence between two string iterators or throw on parse error.
| begin | iterator to the beginning of the sequence to decode. |
| end | iterator to the end of the sequence to decode. |
| target | GV to set. Not modified if an error occured. |
| qi::Translator& qi::defaultTranslator | ( | const std::string & | name | ) |
Get a reference on the default Translator.
| name | Application or Library name |
|
inline |
| FunctionTypeInterface* qi::dynamicFunctionTypeInterface | ( | ) |
| void qi::encodeBinary | ( | qi::Buffer * | buf, |
| const AutoAnyReference & | gvp, | ||
| SerializeObjectCallback | onObject = SerializeObjectCallback(), |
||
| StreamContext * | ctx = 0 |
||
| ) |
Encode content of gvp into buf.
| buf | buffer that will be filled with serialized data |
| gvp | AnyReference to serialize |
| onObject | callback invoked each time an object is encountered. |
| ctx | connection context |
| std::runtime_error | when the encoding fail |
| std::string qi::encodeJSON | ( | const qi::AutoAnyReference & | val, |
| JsonOption | jsonPrintOption = JsonOption_None |
||
| ) |
| val | Value to encode |
| jsonPrintOption | Option to change JSON output |
| ObjectTypeInterface* qi::getDynamicTypeInterface | ( | ) |
| EventLoop* qi::getEventLoop | ( | ) |
Return the global eventloop, created on demand on first call.
| boost::asio::io_service& qi::getIoService | ( | ) |
Get the io_service used by the global event loop.
| TypeInterface* qi::getRegisteredStruct | ( | const qi::Signature & | s | ) |
| TypeInterface* qi::getType | ( | const std::type_info & | type | ) |
Runtime Type factory getter. Used by typeOf<T>()
| AnyModule qi::import | ( | const std::string & | name | ) |
find a module and import it, this is cross language, that's the main module entry point
this function dispatch to <lang> module factory, if the module is not already registered
| AnyModule qi::import | ( | const ModuleInfo & | name | ) |
| std::vector<ModuleInfo> qi::listModules | ( | ) |
list all available modules (cross language
|
inline |
Definition at line 990 of file future_fwd.hpp.
| AnyObject qi::makeDynamicAnyObject | ( | DynamicObject * | obj, |
| bool | destroyObject = true, |
||
| boost::function< void(GenericObject *)> | onDelete = boost::function< void(GenericObject *)>() |
||
| ) |
|
inline |
Make an AnyObject that shares its ref counter with other Note that obj will not be destroyed when the shared counter reaches 0.
Definition at line 81 of file dynamicobject.hpp.
| AnyObject qi::makeDynamicSharedAnyObjectImpl | ( | DynamicObject * | obj, |
| boost::shared_ptr< Empty > | other | ||
| ) |
| TypeInterface* qi::makeFloatType | ( | int | bytelen | ) |
| FunctionTypeInterface* qi::makeFunctionTypeInterface | ( | ) |
| qi::Future< T > qi::makeFutureError | ( | const std::string & | error | ) |
Helper function to return a future with the error set.
| error | the error message. |
Definition at line 601 of file future.hxx.
| AnyReference qi::makeGenericTuple | ( | const AnyReferenceVector & | values | ) |
| values |
| AnyReference qi::makeGenericTuplePtr | ( | const std::vector< TypeInterface * > & | types, |
| const std::vector< void * > & | values | ||
| ) |
| TypeInterface* qi::makeIntType | ( | bool | issigned, |
| int | bytelen | ||
| ) |
| qi::Signature qi::makeKwArgsSignature | ( | const qi::Signature & | element | ) |
| qi::Signature qi::makeListSignature | ( | const qi::Signature & | element | ) |
| TypeInterface* qi::makeListType | ( | TypeInterface * | elementType | ) |
|
inline |
Definition at line 125 of file stringtypeinterface.hxx.
|
inline |
Definition at line 131 of file stringtypeinterface.hxx.
| qi::Signature qi::makeMapSignature | ( | const qi::Signature & | key, |
| const qi::Signature & | value | ||
| ) |
| TypeInterface* qi::makeMapType | ( | TypeInterface * | keyType, |
| TypeInterface * | ElementType | ||
| ) |
| void qi::makeProxyProperty | ( | PropertyType< T > & | target, |
| AnyObject | object, | ||
| const std::string & | signalName | ||
| ) |
Definition at line 48 of file proxyproperty.hpp.
| void qi::makeProxyProperty | ( | ProxyProperty< T, PropertyType > & | target, |
| AnyObject | object, | ||
| const std::string & | signalName | ||
| ) |
Definition at line 54 of file proxyproperty.hpp.
| void qi::makeProxySignal | ( | SignalF< T > & | target, |
| AnyObject | object, | ||
| const std::string & | signalName | ||
| ) |
Definition at line 43 of file proxysignal.hpp.
| void qi::makeProxySignal | ( | ProxySignal< T > & | target, |
| AnyObject | object, | ||
| const std::string & | signalName | ||
| ) |
Definition at line 50 of file proxysignal.hpp.
|
inline |
Definition at line 160 of file session.hpp.
| qi::Signature qi::makeTupleSignature | ( | const std::vector< qi::AnyReference > & | vgv, |
| bool | resolveDynamic = false, |
||
| const std::string & | name = std::string(), |
||
| const std::vector< std::string > & | names = std::vector< std::string >() |
||
| ) |
| qi::Signature qi::makeTupleSignature | ( | const std::vector< TypeInterface * > & | vgv, |
| const std::string & | name = std::string(), |
||
| const std::vector< std::string > & | names = std::vector< std::string >() |
||
| ) |
| qi::Signature qi::makeTupleSignature | ( | const qi::Signature & | element | ) |
| TypeInterface* qi::makeTupleType | ( | const std::vector< TypeInterface * > & | memberTypes, |
| const std::string & | name = std::string(), |
||
| const std::vector< std::string > & | elementNames = std::vector< std::string >() |
||
| ) |
| StringTypeInterface* qi::makeTypeEquivalentString | ( | T * | , |
| F | f | ||
| ) |
Definition at line 170 of file stringtypeinterface.hxx.
| TypeInterface* qi::makeTypeOfKind | ( | const qi::TypeKind & | kind | ) |
| qi::Signature qi::makeVarArgsSignature | ( | const qi::Signature & | element | ) |
| TypeInterface* qi::makeVarArgsType | ( | TypeInterface * | elementType | ) |
| qi::Future<AnyReference> qi::metaCall | ( | ExecutionContext * | ec, |
| ObjectThreadingModel | objectThreadingModel, | ||
| MetaCallType | methodThreadingModel, | ||
| MetaCallType | callType, | ||
| AnyObject | manageable, | ||
| unsigned int | methodId, | ||
| AnyFunction | func, | ||
| const GenericFunctionParameters & | params, | ||
| bool | noCloneFirst = false, |
||
| unsigned int | callerId = 0, |
||
| qi::os::timeval | postTimestamp = qi::os::timeval() |
||
| ) |
Make a call honoring ThreadingModel requirements
Check the following rules in order:
When the call is finally made, if objectThreadingModel is SingleThread, acquire the object lock.
| ec | context into which the call will be scheduled |
| objectThreadingModel | the threading model of the called object |
| methodThreadingModel | the threading model of the specific method |
| callType | the requested threading model |
| manageable | the object on which to make the call |
| methodId | the method id of the object to call |
| func | the function to call |
| params | the arguments of the call |
| noCloneFirst | whether the first argument of the call should be cloned or not |
| callerId | thread id of caller, for tracing purposes |
| postTimestamp | the time when the call was requested |
| void qi::nullConverter | ( | void * | , |
| R & | |||
| ) |
Definition at line 17 of file eventloop.hxx.
|
inline |
Definition at line 60 of file anyiterator.hxx.
|
inline |
Definition at line 196 of file anyvalue.hxx.
|
inline |
|
inline |
Definition at line 154 of file signature.hpp.
|
inline |
Definition at line 284 of file anyreference.hxx.
|
inline |
Definition at line 50 of file traceanalyzer.hpp.
|
inline |
Less than operator. Will compare the values within the AnyValue.
Definition at line 231 of file anyvalue.hxx.
| bool qi::operator< | ( | const MetaObject & | a, |
| const MetaObject & | b | ||
| ) |
| bool qi::operator< | ( | const AnyReference & | a, |
| const AnyReference & | b | ||
| ) |
|
inline |
Definition at line 55 of file anyiterator.hxx.
|
inline |
Value equality operator. Will compare the values within.
Definition at line 236 of file anyvalue.hxx.
| bool qi::operator== | ( | const Url & | lhs, |
| const Url & | rhs | ||
| ) |
Compares the url strings.
| bool qi::operator== | ( | const Signature & | lhs, |
| const Signature & | rhs | ||
| ) |
| bool qi::operator== | ( | const AnyReference & | a, |
| const AnyReference & | b | ||
| ) |
| void qi::PromiseNoop | ( | qi::Promise< T > & | ) |
Helper function that does nothing on future cancelation.
Definition at line 953 of file future_fwd.hpp.
| boost::enable_if<typename detail::Accessor<A>::is_accessor, PropertyBase*>::type qi::propertyAccess | ( | A | acc, |
| void * | instance | ||
| ) |
Definition at line 171 of file objecttypebuilder.hxx.
| bool qi::registerCppEmbeddedModule | ( | const std::string & | moduleName, |
| boost::function< void(ModuleBuilder *)> | fun | ||
| ) |
register a module into the module map
| bool qi::registerModuleFactory | ( | const std::string & | name, |
| ModuleFactoryFunctor | fun | ||
| ) |
Register a module factory for a given language
| bool qi::registerProxyInterface | ( | ) |
Register Proxy as a proxy class for interface Interface. Required to allow the typesystem to construct an Object<Interface> from an AnyObject. Proxy must be constructible with an AnyObject as argument
Definition at line 142 of file proxyregister.hpp.
| void qi::registerStruct | ( | TypeInterface * | type | ) |
Register type for signature -> TypeInterface factory.
| bool qi::registerType | ( | const std::type_info & | typeId, |
| TypeInterface * | type | ||
| ) |
Runtime Type factory setter.
| boost::enable_if<typename detail::Accessor<A>::is_accessor, SignalBase*>::type qi::signalAccess | ( | A | acc, |
| void * | instance | ||
| ) |
Definition at line 163 of file objecttypebuilder.hxx.
| std::vector<std::string> qi::signatureSplit | ( | const std::string & | fullSignature | ) |
| void qi::sleepFor | ( | const boost::chrono::duration< Rep, Period > & | d | ) |
| void qi::sleepFor | ( | const qi::Duration & | d | ) |
Blocks the execution of the current thread for at least d.
|
inline |
| void qi::sleepUntil | ( | const SteadyClockTimePoint & | t | ) |
Blocks the execution of the current thread until t has been reached.
This is equivalent to sleepFor(t - SteadyClockTimePoint::now())
|
inline |
| void qi::sleepUntil | ( | const ClockTimePoint & | t | ) |
Blocks the execution of the current thread until t has been reached.
|
inline |
| void qi::sleepUntil | ( | const SystemClockTimePoint & | t | ) |
Blocks the execution of the current thread until t has been reached.
Adjustments of the clock are taken into account. Thus the duration of the block might, but might not, be less or more than t - SystemClock::now()
|
inline |
| void qi::startEventLoop | ( | int | nthread | ) |
Start the eventloop with nthread threads. No-op if already started.
| nthread | Set the minimum number of worker threads in the pool. |
|
inline |
|
inline |
Cross-platform implementation of atomic Test-And-Set.
| cond | pointer to the value to test and set. |
Definition at line 35 of file atomic.hpp.
|
inline |
|
inline |
|
inline |
| std::string qi::toISO8601String | ( | const SystemClockTimePoint & | t | ) |
Return the date and time as a string in ISO 8601 format. The time is given up to millisecond precision, in UTC. The format does not include colon characters, to be suitable for inclusion in filenames on any filesystem.
For instance the string for a quarter past nine PM on April 3rd, 2001 is "2001-04-03T211500.000Z"
| std::string qi::tr | ( | const std::string & | msg, |
| const std::string & | domain = "", |
||
| const std::string & | locale = "", |
||
| const std::string & | context = "" |
||
| ) |
Translate a message.
| msg | Message to translate |
| domain | Domain name |
| locale | Locale name |
| context | Context of the msg |
| boost::function<F> qi::track | ( | boost::function< F > | f, |
| const ARG0 & | arg0 | ||
| ) |
Wrap given function f with a tracking check on arg0, which must be a weak pointer or a Trackable instance.
| auto qi::track | ( | F && | f, |
| Arg0 && | arg0 | ||
| ) | -> decltype(trackWithFallback(detail::throwPointerLockException, std::forward<F>(f), std::forward<Arg0>(arg0))) |
Definition at line 410 of file trackable.hxx.
| boost::function<F> qi::track | ( | boost::function< F > | f, |
| const Arg0 & | arg0 | ||
| ) |
Definition at line 433 of file trackable.hxx.
| auto qi::trackSilent | ( | F && | f, |
| Arg0 && | arg0 | ||
| ) | -> decltype(trackWithFallback( |
Definition at line 416 of file trackable.hxx.
| boost::function<F> qi::trackSilent | ( | boost::function< F > | f, |
| const Arg0 & | arg0 | ||
| ) |
Definition at line 428 of file trackable.hxx.
| boost::function<F> qi::trackWithFallback | ( | boost::function< void()> | onFail, |
| boost::function< F > | f, | ||
| const ARG0 & | arg0 | ||
| ) |
Wrap given function f with a tracking check on arg0, which must be a weak pointer or a Trackable instance.
| auto qi::trackWithFallback | ( | boost::function< void()> | onFail, |
| F && | f, | ||
| Arg0 && | arg0 | ||
| ) | -> decltype(detail::BindTransform<Arg0>::wrap(std::forward<Arg0>(arg0), std::forward<F>(f), std::move(onFail))) |
Definition at line 404 of file trackable.hxx.
| boost::function<F> qi::trackWithFallback | ( | boost::function< void()> | onFail, |
| boost::function< F > | f, | ||
| const Arg0 & | arg0 | ||
| ) |
Definition at line 422 of file trackable.hxx.
| std::string qi::trContext | ( | const std::string & | msg, |
| const std::string & | context | ||
| ) |
Translate a message with a specific context.
| msg | Message to translate |
| context | Context of the msg |
| TypeDispatcher& qi::typeDispatch | ( | TypeDispatcher & | v, |
| AnyReference | value | ||
| ) |
Definition at line 13 of file typedispatcher.hxx.
| Dispatcher& qi::typeDispatch | ( | Dispatcher & | dispatcher, |
| AnyReference | value | ||
| ) |
Invoke one of the visitor functions in dispatcher based on kind(). Dispatcher must implement TypeDispatcher.
| TypeInterface * qi::typeOf | ( | ) |
| TypeInterface* qi::typeOf | ( | const T & | v | ) |
Get type from a value. No need to delete the result.
Definition at line 191 of file typeinterface.hpp.
| codecvt_type& qi::unicodeFacet | ( | ) |
UTF-8 facet object getter.
Return a facet object that can be used by stl (iostream, locale, ...) and std::locale compliant library like boost::filesystem.
This class allow conversion between UTF-8 (char) and UTF-16/UTF-32 (wchar).
| qi::FutureSync<std::vector<Future<T> > > qi::waitForAll | ( | std::vector< Future< T > > & | vect | ) |
Helper function to wait on a vector of futures.
| vect | The vector of futures to wait on. |
* This function will wait on all the futures of the given vector and return * when they have all been set, either with an error or a valid value. *
Definition at line 237 of file futurebarrier.hpp.
| qi::FutureSync< qi::Future<T> > qi::waitForFirst | ( | std::vector< Future< T > > & | vect | ) |
Helper function to wait for the first valid future.
| vect | The vector of futures to wait on. |
* This function will wait on all the futures of the vector. It returns the * first valid future that returns. If no future is valid, a future set with * an error is returned. *
Definition at line 259 of file futurebarrier.hpp.
|
inline |
| const unsigned int qi::JsonOption_Expand = 2 |
Definition at line 19 of file jsoncodec.hpp.
| const unsigned int qi::JsonOption_None = 0 |
Definition at line 17 of file jsoncodec.hpp.
| const unsigned int qi::JsonOption_PrettyPrint = 1 |
Definition at line 18 of file jsoncodec.hpp.
| class QITYPE_TEMPLATE_API qi::TypeOfTemplate |
| QI_API_DEPRECATED typedef SystemClock qi::WallClock |
| QI_API_DEPRECATED typedef SystemClockTimePoint qi::WallClockTimePoint |