|
ADTF
|
Namespace for all functionality of the ADTF UCOM SDK provided since v3.0. More...
Namespaces | |
| namespace | detail |
| Namespace for all internally used functionality implemented. | |
Classes | |
| class | cClassInfo |
| class | cEventSource |
| class | class_factory |
| class | cLockedObject |
| class | cPlugin |
| class | cPluginInfo |
| class | cPooledClassFactory |
| class | cService |
| class | cServiceLevelmachine |
| class | cSharedLockedObject |
| class | cStream |
| struct | default_object |
Declares the class to use when implementing IObject::GetInterface() using inheritance. More... | |
| class | default_object< inherit_from< Parents... >, expose_interfaces< Interfaces... >, Child > |
Used to implement IObject::GetInterface() methods with given interfaces to expose. More... | |
| class | enable_object_ptr_from_this |
| Safely retrieve a valid object_ptr<> instance to *this when all we have is *this. More... | |
| struct | expose_interfaces |
| Meta struct template evaluated at compile time when compiling default_object. More... | |
| class | extend_object |
Used to implement IObject::GetInterface() methods with given interfaces to expose. More... | |
| struct | forward_iterator |
| POD forward iterator type using a forward iterator interface to iterate over a sequence. More... | |
| class | IBidirectionalIterator |
Bidirectional iterator interface details Additionally providing method Previous() for POD bidirectional iterators. More... | |
| class | IClassFactory |
| class | IClassInfo |
| class | IDevice |
| class | IEventSink |
| class | IEventSource |
| class | IForwardIterator |
Forward iterator interface providing method Next() usable by POD forward iterators. More... | |
| class | IInputStream |
| class | ILockedObject |
| class | ILogger |
| struct | inherit_from |
| Meta struct template evaluated at compile time when compiling default_object. More... | |
| class | interface_expose |
| class | IObject |
| class | iobject_enum |
| class | iobject_ptr |
| Base object pointer to realize binary compatible reference counting in interface methods. More... | |
| class | iobject_ptr< const T > |
| Base object pointer to realize binary compatible reference counting in interface methods. More... | |
| class | iobject_ptr_base |
| Base class for iobject_ptr<T> defining their commonly used interface methods. More... | |
| class | iobject_ptr_locked |
| class | iobject_ptr_shared_locked |
| class | IObjectCompatibility |
| class | IObjectInfo |
| class | IObjectPool |
| class | IOutputStream |
| class | IPlugin |
| class | IPluginInfo |
| class | IPluginLogging |
| class | IRandomAccessIterator |
| Random access iterator interface. More... | |
| class | IRuntime |
| class | IRuntimeHook |
| class | IScriptable |
| class | ISerializable |
| class | IService |
| class | ISharedLockedObject |
| class | IStream |
| struct | iterator_adapter |
| Adapter for begin and end iterators - usable as return and parameter value in interfaces. More... | |
| struct | iterator_adapter< T, pointer_iterator > |
| Adapter for beginning and end iterators which are pointers (e.g. std::array<>::iterator) More... | |
| class | level_machine |
| class | object_enum |
| class | object_enum_base |
| basic object interface implementation template. More... | |
| class | object_ptr |
| class | object_ptr_locked |
| class | object_ptr_shared_locked |
| struct | plugin_initializer |
| class | plugin_template |
| struct | plugin_version_default |
| struct | pointer_iterator |
| Empty struct template to specialize implementations of iterator interfaces. More... | |
| struct | tDependencyDescription |
Dependency description usable for ADTF_CLASS_DEPENDENCIES() More... | |
| struct | tNamedVersion |
Named version information consisting of the modules name and its adtf_util::tVersion. More... | |
| struct | ucom_type_streamer |
| struct | ucom_type_streamer< adtf_util::cString > |
| class | weak_object_ptr |
Implementation of a weak pointer for usage with iobject_ptr and object_ptr. More... | |
Typedefs | |
| template<typename T> | |
| using | iobject_list = iobject_enum < T > |
| template<typename T> | |
| using | iobject_vector = iobject_enum < T > |
| template<typename T, typename INTERFACE_TYPE = T> | |
| using | object_list = object_enum < T, INTERFACE_TYPE, std::list> |
| template<typename T, typename INTERFACE_TYPE = T> | |
| using | object_vector = object_enum < T, INTERFACE_TYPE, std::vector> |
| typedef UCOM_PLUGIN_IMPORT int32_t(UCOM_PLUGIN_CALLTYPE * | fnUCOMGetVersion) (const char *strVersionID, uint32_t *pui32UCOMMajor, uint32_t *pui32UCOMMinor, uint32_t *pui32UCOMPatch) |
| function for the c - Plugin Entry to load a plugin | |
| typedef UCOM_PLUGIN_IMPORT int32_t(UCOM_PLUGIN_CALLTYPE * | fnUCOMLoadPlugin) (void *pvRuntimeInstance, uint32_t ui32UCOMMajor, uint32_t ui32UCOMMinor, uint32_t ui32UCOMPatch, void **ppvPluginObject, tHandle hModule) |
| function for the c - Plugin Entry to load a plugin | |
| typedef UCOM_PLUGIN_IMPORT int32_t(UCOM_PLUGIN_CALLTYPE * | fnUCOMUnloadPlugin) () |
| function for the c - Plugin Entry to unload a plugin | |
Enumerations | |
| enum | object_enum_push_option { eNone = 0x00 , eNoDuplicates = 0x01 } |
Functions | |
| template<typename Interface> | |
| constexpr const char * | get_iid () noexcept |
| template<typename Interface> | |
| constexpr const char * | get_iid (const Interface &) noexcept |
| template<typename Interface> | |
| constexpr const char * | get_iid (const Interface *) noexcept |
| template<typename classT> | |
| constexpr iterator_adapter< const tDependencyDescription, pointer_iterator > | get_class_dependencies () |
| template<typename classT> | |
| constexpr iterator_adapter< const tDependencyDescription, pointer_iterator > | get_class_dependencies (const classT &) |
| template<typename classT> | |
| constexpr iterator_adapter< const tDependencyDescription, pointer_iterator > | get_class_dependencies (const classT *) |
| template<typename classT> | |
| constexpr const char * | get_class_id () |
| template<typename classT> | |
| constexpr const char * | get_class_id (const classT &) |
| template<typename classT> | |
| constexpr const char * | get_class_id (const classT *) |
| template<typename classT> | |
| constexpr const char * | get_class_label () |
| template<typename classT> | |
| constexpr const char * | get_class_label (const classT &) |
| template<typename classT> | |
| constexpr const char * | get_class_label (const classT *) |
| template<typename classT> | |
| constexpr const cClassInfo & | get_class_info_reference () |
| template<typename classT> | |
| constexpr const cClassInfo & | get_class_info_reference (const classT *) |
| template<typename classT> | |
| constexpr const cClassInfo & | get_class_info_reference (const classT &) |
| template<typename classT> | |
| object_ptr< const adtf::ucom::ant::IClassInfo > | get_class_info () |
| template<typename classT> | |
| object_ptr< const adtf::ucom::ant::IClassInfo > | get_class_info (const classT &) |
| template<typename classT> | |
| object_ptr< const adtf::ucom::ant::IClassInfo > | get_class_info (const classT *) |
| template<typename ... Args> | |
| constexpr tNamedVersion | add_version (const char *i_strProduct, Args... args) |
Used for parameter list in ADTF_CLASS_DEPENDENCIES() to define version information. | |
| template<typename classT> | |
| constexpr iterator_adapter< const tNamedVersion, pointer_iterator > | get_class_versions () |
| template<typename classT> | |
| constexpr iterator_adapter< const tNamedVersion, pointer_iterator > | get_class_versions (const classT &) |
| template<typename classT> | |
| constexpr iterator_adapter< const tNamedVersion, pointer_iterator > | get_class_versions (const classT *) |
| template<typename T> | |
| bool | operator< (const forward_iterator< T > &oLHS, const forward_iterator< T > &oRHS) noexcept |
Less-than operator for forward_iterator. | |
| template<typename T> | |
| bool | operator> (const forward_iterator< T > &oLHS, const forward_iterator< T > &oRHS) noexcept |
Greater-than operator for forward_iterator. | |
| template<typename T> | |
| bool | operator<= (const forward_iterator< T > &oLHS, const forward_iterator< T > &oRHS) noexcept |
Less-than-or-equal operator for forward_iterator. | |
| template<typename T> | |
| bool | operator>= (const forward_iterator< T > &oLHS, const forward_iterator< T > &oRHS) noexcept |
Greater-than-or-equal operator for forward_iterator. | |
| template<typename T> | |
| bool | operator== (const forward_iterator< T > &oLHS, const forward_iterator< T > &oRHS) noexcept |
Equality operator for forward_iterator. | |
| template<typename T> | |
| bool | operator!= (const forward_iterator< T > &oLHS, const forward_iterator< T > &oRHS) noexcept |
Inequality operator for forward_iterator. | |
| template<typename T, typename U> | |
| bool | operator== (const iobject_ptr< T > &i_oLHS, const U *i_pRHS) |
| Compare iobject_ptr<T> with plain pointer of the same type for equality. | |
| template<typename T, typename U> | |
| bool | operator== (const T *i_pLHS, const iobject_ptr< U > &i_oRHS) |
| Compare iobject_ptr<T> with plain pointer of the same type for equality. | |
| template<typename T, typename U> | |
| bool | operator!= (const iobject_ptr< T > &i_oLHS, const U *i_pRHS) |
| Compare iobject_ptr<T> with plain pointer of the same type for inequality. | |
| template<typename T, typename U> | |
| bool | operator!= (const T *i_pLHS, const iobject_ptr< U > &i_oRHS) |
| Compare iobject_ptr<T> with plain pointer of the same type for inequality. | |
| template<typename T, typename U> | |
| bool | operator== (const iobject_ptr< T > &i_oLHS, const iobject_ptr< U > &i_oRHS) |
| Compare two iobject_ptr with shared resource of same base for equality. | |
| template<typename T, typename U> | |
| bool | operator!= (const iobject_ptr< T > &i_oLHS, const iobject_ptr< U > &i_oRHS) |
| Compare two iobject_ptr with shared resource of same base for inequality. | |
| template<typename T, typename U> | |
| bool | operator< (const iobject_ptr< T > &i_oLHS, const iobject_ptr< U > &i_oRHS) |
| Less-than-operator for two iobject_ptr with shared resource of same base. | |
| template<typename T, typename U> | |
| bool | operator> (const iobject_ptr< T > &i_oLHS, const iobject_ptr< U > &i_oRHS) |
| Greater-than-operator for two iobject_ptr with shared resource of same base. | |
| template<typename T, typename U> | |
| bool | operator<= (const iobject_ptr< T > &i_oLHS, const iobject_ptr< U > &i_oRHS) |
| Less-than-or-equal-operator for two iobject_ptr with shared resource of same base. | |
| template<typename T, typename U> | |
| bool | operator>= (const iobject_ptr< T > &i_oLHS, const iobject_ptr< U > &i_oRHS) |
| Greater-than-or-equal-operator for two iobject_ptr with shared resource of same base. | |
| template<typename T> | |
| bool | operator== (const iobject_ptr< T > &i_oLHS, std::nullptr_t) |
| Compare iobject_ptr<T> with nullptr type for equality. | |
| template<typename T> | |
| bool | operator== (std::nullptr_t, const iobject_ptr< T > &i_oRHS) |
| Compare iobject_ptr<T> with nullptr type for equality. | |
| template<typename T> | |
| bool | operator!= (const iobject_ptr< T > &i_oLHS, std::nullptr_t) |
| Compare iobject_ptr<T> with nullptr type for inequality. | |
| template<typename T> | |
| bool | operator!= (std::nullptr_t, const iobject_ptr< T > &i_oRHS) |
| Compare iobject_ptr<T> with nullptr type for inequality. | |
| template<typename T> | |
| bool | operator< (const iobject_ptr< T > &i_oLHS, std::nullptr_t) |
| Check whether an iobject_ptr<T> contains a shared pointer less than nullptr. | |
| template<typename T> | |
| bool | operator< (std::nullptr_t, const iobject_ptr< T > &i_oRHS) |
| Check whether an iobject_ptr<T> contains a shared pointer less than nullptr. | |
| template<typename T> | |
| bool | operator<= (const iobject_ptr< T > &i_oLHS, std::nullptr_t) |
| Check whether an iobject_ptr<T> contains a shared pointer less than or equal to nullptr. | |
| template<typename T> | |
| bool | operator<= (std::nullptr_t, const iobject_ptr< T > &i_oRHS) |
| Check whether an iobject_ptr<T> contains a shared pointer less than or equal to nullptr. | |
| template<typename T> | |
| bool | operator> (const iobject_ptr< T > &i_oLHS, std::nullptr_t) |
| Check whether an iobject_ptr<T> contains a shared pointer greater than nullptr. | |
| template<typename T> | |
| bool | operator> (std::nullptr_t, const iobject_ptr< T > &i_oRHS) |
| Check whether an iobject_ptr<T> contains a shared pointer greater than nullptr. | |
| template<typename T> | |
| bool | operator>= (const iobject_ptr< T > &i_oLHS, std::nullptr_t) |
| Check whether an iobject_ptr<T> contains a shared pointer greater than or equal to nullptr. | |
| template<typename T> | |
| bool | operator>= (std::nullptr_t, const iobject_ptr< T > &i_oRHS) |
| Check whether an iobject_ptr<T> contains a shared pointer greater than or equal to nullptr. | |
| template<typename T> | |
| object_ptr< T > | ucom_object_ptr_cast (object_ptr< T > oCasted) |
| Create an object_ptr with an already shared resource of implicitly convertible type. | |
| template<typename Implementation, typename... Args> | |
| object_ptr< Implementation > | make_object_ptr (Args &&... args) |
Create an instance of type object_ptr with Implementation as the shared resource. | |
| template<typename Implementation> | |
| object_ptr< std::decay_t< Implementation > > | make_object_ptr (Implementation &&object_to_emplace) |
Create an instance of type object_ptr with Implementation as the shared resource with a specialized behaviour emplacing the given argument as the shared resource itself. | |
| template<typename T, typename U> | |
| tResult | reset_object_ptr (iobject_ptr< const T > &o_oDest, const iobject_ptr< U > &i_oSrc) |
Reset an iobject_ptr with const T. | |
| template<typename T> | |
| tResult | reset_object_ptr (iobject_ptr< const T > &o_oDest, const iobject_ptr< T > &i_oSrc) |
Reset an iobject_ptr with const T - specialization for best performance. | |
| tResult | get_plugin (iobject_ptr< IPlugin > &pPlugin) |
| tResult | ucom_write_to_stream_buffer (IOutputStream &oOutStream, const void *pBuffer, size_t szBuffer, size_t &szCount) |
| tResult | ucom_write_to_stream_string (IOutputStream &oOutStream, const adtf_util::cString &strValue, size_t &szCount) |
| tResult | ucom_read_from_stream_buffer (const IInputStream &oInStream, void *pBuffer, size_t szBuffer, size_t &szCount) |
| tResult | ucom_read_from_stream_string (const IInputStream &oInStream, adtf_util::cString &strValue, size_t &szReadCount) |
| template<typename T> | |
| tResult | ucom_write_to_stream (IOutputStream &oOutStream, const T &oValue, size_t &szCount) |
| template<typename T> | |
| tResult | ucom_read_from_stream (const IInputStream &oInStream, T &oValue, size_t &szCount) |
| template<typename T> | |
| IOutputStream & | operator<< (IOutputStream &oWriteStream, const T &oValue) |
| template<typename T> | |
| const IInputStream & | operator>> (const IInputStream &oReadStream, T &oValue) |
| template<typename InterfacePointerType, typename ObjectPointerType> | |
| InterfacePointerType | ucom_cast (ObjectPointerType i_pObject) noexcept |
Namespace for all functionality of the ADTF UCOM SDK provided since v3.0.
| using adtf::ucom::ant::iobject_list = iobject_enum < T > |
alias type for iobject_enum.
| T | interface object type to represent (this value type must derived from IObject) |
| using adtf::ucom::ant::iobject_vector = iobject_enum < T > |
alias type for iobject_enum.
| T | interface object type to represent (this value type must derived from IObject) |
| using adtf::ucom::ant::object_list = object_enum < T, INTERFACE_TYPE, std::list> |
Implementation of an iobject_list<INTERFACE_TYPE> interface by using a std::list as container type.
| T | object type to store (this value type must derived from IObject) |
| INTERFACE_TYPE | interface type the implementation represents. (iobject_list<INTERFACE_TYPE>) |
| using adtf::ucom::ant::object_vector = object_enum < T, INTERFACE_TYPE, std::vector> |
Implementation of an iobject_vector<INTERFACE_TYPE> interface by using a std::vector as container type.
| T | object type to store (this value type must derived from IObject) |
| INTERFACE_TYPE | interface type the implementation represents. (iobject_vector<INTERFACE_TYPE>) |
|
constexpr |
Used for parameter list in ADTF_CLASS_DEPENDENCIES() to define version information.
| List | of integral type used as integral types for adtf_util::tVersion |
| [in] | i_strProduct | Name of the product the version is given for |
| [in] | args | List of integral constants used as parameters for adtf_util::tVersion |
tNamedVersion generated with i_strProduct and args
|
constexpr |
Get the class dependencies (corresponding to the CID) of the Class type
| classT | Class type the version needs to be queried from. ADTF_CLASS_ID_NAME() is mandatory and ADTF_CLASS_DEPENDENCIES() is optional within public scope of classT to get the dependencies outside the class implementation. |
|
constexpr |
Convenience function usable with a reference to an object of type class. tDependencyDescription, pointer_iterator> get_class_dependencies()
tDependencyDescription, pointer_iterator> get_class_dependencies()
|
constexpr |
Convenience function usable with a reference to an object of type class. tDependencyDescription, pointer_iterator> get_class_dependencies()
tDependencyDescription, pointer_iterator> get_class_dependencies()
|
constexpr |
Get the class id (CID) of the Class type
| classT | Class type the IID needs to be queried from. ADTF_CLASS_ID() needs to be implemented within public class scope of classT to get the CID outside the class implementation |
ADTF_CLASS_ID()
|
constexpr |
Convenience function usable with a reference to an object of type classT.
Get the class id (CID) of the Class type
| classT | Class type the IID needs to be queried from. ADTF_CLASS_ID() needs to be implemented within public class scope of classT to get the CID outside the class implementation |
ADTF_CLASS_ID()
|
constexpr |
Convenience function usable with a pointer to an object of type classT.
Get the class id (CID) of the Class type
| classT | Class type the IID needs to be queried from. ADTF_CLASS_ID() needs to be implemented within public class scope of classT to get the CID outside the class implementation |
ADTF_CLASS_ID() | object_ptr< const adtf::ucom::ant::IClassInfo > adtf::ucom::ant::get_class_info | ( | ) |
Get the class info of the Class type
| classT | Class type the class info object needs to be queried from. ADTF_CLASS_ID() or ADTF_CLASS_ID_NAME() needs to be implemented within public class scope of classT |
| object_ptr< const adtf::ucom::ant::IClassInfo > adtf::ucom::ant::get_class_info | ( | const classT & | ) |
Convenience function usable with a reference to an object of type classT.
Get the class info of the Class type
| classT | Class type the class info object needs to be queried from. ADTF_CLASS_ID() or ADTF_CLASS_ID_NAME() needs to be implemented within public class scope of classT |
| object_ptr< const adtf::ucom::ant::IClassInfo > adtf::ucom::ant::get_class_info | ( | const classT * | ) |
Convenience function usable with a pointer to an object of type classT.
Get the class info of the Class type
| classT | Class type the class info object needs to be queried from. ADTF_CLASS_ID() or ADTF_CLASS_ID_NAME() needs to be implemented within public class scope of classT |
|
constexpr |
Get reference to static class info constant of the classT type
| classT | Class type the static class info constant needs to be queried from. ADTF_CLASS_ID() or ADTF_CLASS_ID_NAME() needs to be implemented within public class scope of classT |
classT
|
constexpr |
Convenience function usable with a reference to an object of type classT.
Get reference to static class info constant of the classT type
| classT | Class type the static class info constant needs to be queried from. ADTF_CLASS_ID() or ADTF_CLASS_ID_NAME() needs to be implemented within public class scope of classT |
classT
|
constexpr |
Convenience function usable with a pointer to an object of type classT.
Get reference to static class info constant of the classT type
| classT | Class type the static class info constant needs to be queried from. ADTF_CLASS_ID() or ADTF_CLASS_ID_NAME() needs to be implemented within public class scope of classT |
classT
|
constexpr |
Get the class label (corresponding to the CID) of the Class type (a readable name !)
| classT | Class type the Label needs to be queried from. ADTF_CLASS_ID_LABEL() needs to be implemented within public class scope of the Class to get the CID outside the class implementation |
ADTF_CLASS_ID_NAME()
|
constexpr |
Convenience function usable with a reference to an object of type class.
Get the class label (corresponding to the CID) of the Class type (a readable name !)
| classT | Class type the Label needs to be queried from. ADTF_CLASS_ID_LABEL() needs to be implemented within public class scope of the Class to get the CID outside the class implementation |
ADTF_CLASS_ID_NAME()
|
constexpr |
Convenience function usable with a pointer to an object of type class.
Get the class label (corresponding to the CID) of the Class type (a readable name !)
| classT | Class type the Label needs to be queried from. ADTF_CLASS_ID_LABEL() needs to be implemented within public class scope of the Class to get the CID outside the class implementation |
ADTF_CLASS_ID_NAME()
|
constexpr |
Get the class versions (corresponding to the CID) of the Class type
| classT | Class type the version needs to be queried from. ADTF_CLASS_ID_NAME() is mandatory and ADTF_CLASS_VERSIONS() is optional within public class scope of classT to get the version outside the class implementation. |
|
constexpr |
Convenience function usable with a reference to an object of type class. tNamedVersion, pointer_iterator> get_class_versions()
|
constexpr |
Convenience function usable with a pointer to an object of type class. tNamedVersion, pointer_iterator> get_class_versions()
|
constexprnoexcept |
Get the interface id (IID) of the Interface type
| Interface | Interface type the IID needs to be queried from. ADTF_IID() needs to be implemented within public class scope of Interface, otherwise the build process gets canceled using a static_assert. |
|
constexprnoexcept |
Convenience function usable with a reference to an object of type interface.
Get the interface id (IID) of the Interface type
| Interface | Interface type the IID needs to be queried from. ADTF_IID() needs to be implemented within public class scope of Interface, otherwise the build process gets canceled using a static_assert. |
|
constexprnoexcept |
Convenience function usable with a pointer to an object of type interface.
Get the interface id (IID) of the Interface type
| Interface | Interface type the IID needs to be queried from. ADTF_IID() needs to be implemented within public class scope of Interface, otherwise the build process gets canceled using a static_assert. |
| tResult adtf::ucom::ant::get_plugin | ( | iobject_ptr< IPlugin > & | pPlugin | ) |
Returns a reference to the plugin instance of the current module.
| [out] | pPlugin | The plugin. |
|
inline |
Create an instance of type object_ptr with Implementation as the shared resource.
make_object_ptr can be used in complete analogy to std::make_shared or std::make_unique - to create an object of type object_ptr without the need to explicitly call new to allocate the shared resource. In fact, this function is the only valid way to create an object_ptr with a new shared resource.
| Implementation | Type of the shared resource which is created using the default allocator std::allocator. |
| Args | Parameter pack forwarded to the constructor of Implementation during instantiation. |
| [in] | args | Parameters forwarded to the constructor of Implementation during instantiation. |
object_ptr with a concrete implementation of IObject can be implicitly converted to an object_ptr managing a pointer to an interface of this concrete implementation. | On | success, the instance contains a newly allocated, reference counted object of type Implementation |
| ... | On failure, the original exception is thrown. |
|
inline |
Create an instance of type object_ptr with Implementation as the shared resource with a specialized behaviour emplacing the given argument as the shared resource itself.
| Implementation | Type of the shared resource which is created using the default allocator std::allocator and construct an instance of the given type in place. |
| [in] | object_to_emplace | r-value reference to emplace as the shared resource of the created object_ptr. |
| On | success, the instance contains a newly allocated, reference counted object of type Implementation |
| ... | On failure, the original exception is thrown. |
|
inlinenoexcept |
Inequality operator for forward_iterator.
| T | Value type of the container the iterator operates on |
| [in] | oLHS | Left hand side iterator object |
| [in] | oRHS | Right hand side iterator object |
oLHS is not equal pointer to value of oRHS, false otherwise | bool adtf::ucom::ant::operator!= | ( | const iobject_ptr< T > & | i_oLHS, |
| const iobject_ptr< U > & | i_oRHS ) |
Compare two iobject_ptr with shared resource of same base for inequality.
| T | Type of the pointer to the shared resource |
| U | Type of the pointer to the shared resource (implicitly convertible to T) |
| [in] | i_oLHS | Left hand side shared object pointer containing the shared resource. |
| [in] | i_oRHS | Right hand side shared object pointer containing the shared resource. |
| bool adtf::ucom::ant::operator!= | ( | const iobject_ptr< T > & | i_oLHS, |
| const U * | i_pRHS ) |
Compare iobject_ptr<T> with plain pointer of the same type for inequality.
| T | Type of the pointer to the shared resource |
| U | Type of the pointer to the shared resource (implicitly convertible to T) |
| [in] | i_oLHS | Shared object pointer containing the shared resource. |
| [in] | i_pRHS | Ordinary pointer to resource. |
| bool adtf::ucom::ant::operator!= | ( | const iobject_ptr< T > & | i_oLHS, |
| std::nullptr_t | ) |
Compare iobject_ptr<T> with nullptr type for inequality.
| T | Type of the pointer to the shared resource |
| [in] | i_oLHS | Shared object pointer containing the shared resource. |
| bool adtf::ucom::ant::operator!= | ( | const T * | i_pLHS, |
| const iobject_ptr< U > & | i_oRHS ) |
Compare iobject_ptr<T> with plain pointer of the same type for inequality.
| T | Type of the pointer to the shared resource |
| U | Type of the pointer to the shared resource (implicitly convertible to T) |
| [in] | i_pLHS | Ordinary pointer to resource. |
| [in] | i_oRHS | Shared object pointer containing the shared resource. |
| bool adtf::ucom::ant::operator!= | ( | std::nullptr_t | , |
| const iobject_ptr< T > & | i_oRHS ) |
Compare iobject_ptr<T> with nullptr type for inequality.
| T | Type of the pointer to the shared resource |
| [in] | i_oRHS | Shared object pointer containing the shared resource. |
|
inlinenoexcept |
Less-than operator for forward_iterator.
| T | Value type of the container the iterator operates on |
| [in] | oLHS | Left hand side iterator object |
| [in] | oRHS | Right hand side iterator object |
oLHS is less than pointer to value of oRHS, false otherwise | bool adtf::ucom::ant::operator< | ( | const iobject_ptr< T > & | i_oLHS, |
| const iobject_ptr< U > & | i_oRHS ) |
Less-than-operator for two iobject_ptr with shared resource of same base.
| T | Type of the pointer to the shared resource |
| U | Type of the pointer to the shared resource (implicitly convertible to T) |
| [in] | i_oLHS | Left hand side shared object pointer containing the shared resource. |
| [in] | i_oRHS | Right hand side shared object pointer containing the shared resource. |
| bool adtf::ucom::ant::operator< | ( | const iobject_ptr< T > & | i_oLHS, |
| std::nullptr_t | ) |
Check whether an iobject_ptr<T> contains a shared pointer less than nullptr.
| T | Type of the pointer to the shared resource |
| [in] | i_oLHS | Shared object pointer containing the shared resource. |
| bool adtf::ucom::ant::operator< | ( | std::nullptr_t | , |
| const iobject_ptr< T > & | i_oRHS ) |
Check whether an iobject_ptr<T> contains a shared pointer less than nullptr.
| T | Type of the pointer to the shared resource |
| [in] | i_oRHS | Shared object pointer containing the shared resource. |
|
inlinenoexcept |
Less-than-or-equal operator for forward_iterator.
| T | Value type of the container the iterator operates on |
| [in] | oLHS | Left hand side iterator object |
| [in] | oRHS | Right hand side iterator object |
oLHS is less than or equal pointer to value of oRHS, false otherwise | bool adtf::ucom::ant::operator<= | ( | const iobject_ptr< T > & | i_oLHS, |
| const iobject_ptr< U > & | i_oRHS ) |
Less-than-or-equal-operator for two iobject_ptr with shared resource of same base.
| T | Type of the pointer to the shared resource |
| U | Type of the pointer to the shared resource (implicitly convertible to T) |
| [in] | i_oLHS | Left hand side shared object pointer containing the shared resource. |
| [in] | i_oRHS | Right hand side shared object pointer containing the shared resource. |
| bool adtf::ucom::ant::operator<= | ( | const iobject_ptr< T > & | i_oLHS, |
| std::nullptr_t | ) |
Check whether an iobject_ptr<T> contains a shared pointer less than or equal to nullptr.
| T | Type of the pointer to the shared resource |
| [in] | i_oLHS | Shared object pointer containing the shared resource. |
| bool adtf::ucom::ant::operator<= | ( | std::nullptr_t | , |
| const iobject_ptr< T > & | i_oRHS ) |
Check whether an iobject_ptr<T> contains a shared pointer less than or equal to nullptr.
| T | Type of the pointer to the shared resource |
| [in] | i_oRHS | Shared object pointer containing the shared resource. |
|
inlinenoexcept |
Equality operator for forward_iterator.
| T | Value type of the container the iterator operates on |
| [in] | oLHS | Left hand side iterator object |
| [in] | oRHS | Right hand side iterator object |
oLHS is equal pointer to value of oRHS, false otherwise | bool adtf::ucom::ant::operator== | ( | const iobject_ptr< T > & | i_oLHS, |
| const iobject_ptr< U > & | i_oRHS ) |
Compare two iobject_ptr with shared resource of same base for equality.
| T | Type of the pointer to the shared resource |
| U | Type of the pointer to the shared resource (implicitly convertible to T) |
| [in] | i_oLHS | Left hand side shared object pointer containing the shared resource. |
| [in] | i_oRHS | Right hand side shared object pointer containing the shared resource. |
| bool adtf::ucom::ant::operator== | ( | const iobject_ptr< T > & | i_oLHS, |
| const U * | i_pRHS ) |
Compare iobject_ptr<T> with plain pointer of the same type for equality.
| T | Type of the pointer to the shared resource |
| U | Type of the pointer to the shared resource (implicitly convertible to T) |
| [in] | i_oLHS | Shared object pointer containing the shared resource. |
| [in] | i_pRHS | Ordinary pointer to resource. |
| bool adtf::ucom::ant::operator== | ( | const iobject_ptr< T > & | i_oLHS, |
| std::nullptr_t | ) |
Compare iobject_ptr<T> with nullptr type for equality.
| T | Type of the pointer to the shared resource |
| [in] | i_oLHS | Shared object pointer containing the shared resource. |
| bool adtf::ucom::ant::operator== | ( | const T * | i_pLHS, |
| const iobject_ptr< U > & | i_oRHS ) |
Compare iobject_ptr<T> with plain pointer of the same type for equality.
| T | Type of the pointer to the shared resource |
| U | Type of the pointer to the shared resource (implicitly convertible to T) |
| [in] | i_pLHS | Ordinary pointer to resource. |
| [in] | i_oRHS | Shared object pointer containing the shared resource. |
| bool adtf::ucom::ant::operator== | ( | std::nullptr_t | , |
| const iobject_ptr< T > & | i_oRHS ) |
Compare iobject_ptr<T> with nullptr type for equality.
| T | Type of the pointer to the shared resource |
| [in] | i_oRHS | Shared object pointer containing the shared resource. |
|
inlinenoexcept |
Greater-than operator for forward_iterator.
| T | Value type of the container the iterator operates on |
| [in] | oLHS | Left hand side iterator object |
| [in] | oRHS | Right hand side iterator object |
oLHS is greater than pointer to value of oRHS, false otherwise | bool adtf::ucom::ant::operator> | ( | const iobject_ptr< T > & | i_oLHS, |
| const iobject_ptr< U > & | i_oRHS ) |
Greater-than-operator for two iobject_ptr with shared resource of same base.
| T | Type of the pointer to the shared resource |
| U | Type of the pointer to the shared resource (implicitly convertible to T) |
| [in] | i_oLHS | Left hand side shared object pointer containing the shared resource. |
| [in] | i_oRHS | Right hand side shared object pointer containing the shared resource. |
| bool adtf::ucom::ant::operator> | ( | const iobject_ptr< T > & | i_oLHS, |
| std::nullptr_t | ) |
Check whether an iobject_ptr<T> contains a shared pointer greater than nullptr.
| T | Type of the pointer to the shared resource |
| [in] | i_oLHS | Shared object pointer containing the shared resource. |
| bool adtf::ucom::ant::operator> | ( | std::nullptr_t | , |
| const iobject_ptr< T > & | i_oRHS ) |
Check whether an iobject_ptr<T> contains a shared pointer greater than nullptr.
| T | Type of the pointer to the shared resource |
| [in] | i_oRHS | Shared object pointer containing the shared resource. |
|
inlinenoexcept |
Greater-than-or-equal operator for forward_iterator.
| T | Value type of the container the iterator operates on |
| [in] | oLHS | Left hand side iterator object |
| [in] | oRHS | Right hand side iterator object |
oLHS is greater than or equal pointer to value of oRHS, false otherwise | bool adtf::ucom::ant::operator>= | ( | const iobject_ptr< T > & | i_oLHS, |
| const iobject_ptr< U > & | i_oRHS ) |
Greater-than-or-equal-operator for two iobject_ptr with shared resource of same base.
| T | Type of the pointer to the shared resource |
| U | Type of the pointer to the shared resource (implicitly convertible to T) |
| [in] | i_oLHS | Left hand side shared object pointer containing the shared resource. |
| [in] | i_oRHS | Right hand side shared object pointer containing the shared resource. |
| bool adtf::ucom::ant::operator>= | ( | const iobject_ptr< T > & | i_oLHS, |
| std::nullptr_t | ) |
Check whether an iobject_ptr<T> contains a shared pointer greater than or equal to nullptr.
| T | Type of the pointer to the shared resource |
| [in] | i_oLHS | Shared object pointer containing the shared resource. |
| bool adtf::ucom::ant::operator>= | ( | std::nullptr_t | , |
| const iobject_ptr< T > & | i_oRHS ) |
Check whether an iobject_ptr<T> contains a shared pointer greater than or equal to nullptr.
| T | Type of the pointer to the shared resource |
| [in] | i_oRHS | Shared object pointer containing the shared resource. |
| tResult adtf::ucom::ant::reset_object_ptr | ( | iobject_ptr< const T > & | o_oDest, |
| const iobject_ptr< T > & | i_oSrc ) |
Reset an iobject_ptr with const T - specialization for best performance.
| T | Type of the shared resource of the object_ptr to reset |
| TSrc | Src object_ptr<> type to cast from |
| [out] | o_oDest | Gets reset with the object of const T |
| [in] | i_oSrc | Providing the object to reset o_oDest with. |
| o_oDest.Reset(...) | else |
| tResult adtf::ucom::ant::reset_object_ptr | ( | iobject_ptr< const T > & | o_oDest, |
| const iobject_ptr< U > & | i_oSrc ) |
Reset an iobject_ptr with const T.
| T | Type of the shared resource of the object_ptr to reset |
| U | Type of the shared resource managed by the object_ptr to convert from. Must be convertible to type T using ucom_cast() |
| [out] | o_oDest | Gets reset with the object of const T |
| [in] | i_oSrc | Providing the object to reset o_oDest with. |
| ERR_NOERROR | Everything went fine |
| ERR_NO_INTERFACE | Type U does not expose interface type T (ucom_cast failed). *this is reset to nullptr |
| o_oDest.Reset(...) | else |
|
noexcept |
Used to cast arbitrary interface types within the UCOM.
| InterfacePointerType | Pointer to (optionally cv-qualified) complete interface type |
| [in] | i_pObject | Pointer to object of type IObject which shall expose the queried interface. |
nullptr otherwise. i_pObject is a const object of type IObject, this needs to be taken into consideration when giving the template parameter type. | object_ptr< T > adtf::ucom::ant::ucom_object_ptr_cast | ( | object_ptr< T > | oCasted | ) |
Create an object_ptr with an already shared resource of implicitly convertible type.
| T | Type of the shared resource of the object_ptr to create |
| U | Type of the shared resource managed by the object_ptr to convert from. Must be convertible to type T using ucom_cast() |
| [in] | i_oOther | The source to create the new object_ptr from. |
object_ptr managing the shared resource of type U converted to type T. If the ucom_cast failed, the returned object_ptr is empty.