ADTF
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
adtf::ucom Namespace Reference

Namespace for the ADTF uCOM3 SDK. More...

Namespaces

namespace  ant
 Namespace for all functionality provided since v3.0.
 
namespace  catwo
 Namespace for all functionality provided since v3.2.
 
namespace  hollow
 Namespace for all functionality provided since v3.7.
 
namespace  kiwi
 Namespace for all functionality provided since v3.10.
 
namespace  nitro
 Namespace for all functionality provided since v3.13.
 
namespace  penguin
 Namespace for all functionality provided since v3.15.
 
namespace  spider
 Namespace for all functionality provided since v3.18.
 
namespace  testing
 Namespace for all provided testing functionality helper.
 

Classes

class  cClassInfo
 The Helper Storage Class for a IClassInfo. More...
 
class  cEventSource
 The class cEventSource provides a basic implementation of IEventSource and wraps code to manage lists of pointers to IEventSink interfaces. More...
 
class  class_factory
 The class class_factory provides a template based implementation of the IClassFactory interface, that can create exactly one kind of object for the class. More...
 
class  cLockedObject
 The IStream interface provides defines methods for streaming data. More...
 
class  cPlugin
 
class  cPooledClassFactory
 Always bringing the latest version of cPooledClassFactory into scope. More...
 
class  cService
 
class  cSharedLockedObject
 The IStream interface provides defines methods for streaming data. More...
 
class  cStream
 The cStream Class provides a basic, simple implementation for IStream interface. More...
 
class  function_wrapper
 Implements iucom_function for the given signature. More...
 
class  IEventSink
 The class IEventSink provides a generic event listener interface for Internal Events. More...
 
class  IEventSource
 The class IEventSource provides a generic event provider interface. More...
 
class  ifunction
 Interface for functions that can be passed via IObject interfaces. More...
 
class  IInputStream
 An interface for reading data from a stream. More...
 
class  ILockedObject
 The ILockedObject interface defines exclusive locking of an object. More...
 
class  ILogger
 Interface for a logger. More...
 
class  iobject_enum
 Interface definition for a container of objects. More...
 
class  iobject_ptr_locked
 Interfaces for a guarded exclusive lock. More...
 
class  iobject_ptr_shared_locked
 Interfaces for a guarded shared lock. More...
 
class  IOutputStream
 An interface for writing data to a stream. More...
 
class  IPlugin
 Plugin interface. More...
 
class  IPluginLogging
 Interface for logging. More...
 
class  IRuntime
 The IRuntime interface controls global system startup and shutdown. More...
 
class  IRuntimeHook
 The IRuntimeHook interface provides a hook callback interface. More...
 
class  IRuntimeStartup
 
class  ISharedLockedObject
 The ISharedLockedObject interface defines shared locking of an object. More...
 
class  IStream
 The IStream interface provides defines methods for streaming data. More...
 
class  level_machine
 Generator template to create a Basic Level Machine implmentation. More...
 
class  object
 Use this template if you want to implement an ucom::ant::IObject based Interface and/or subclass an existing class that implements ucom::ant::IObject. More...
 
class  object_enum
 container type template for a set of object_ptr This template will provide a container for object_ptr with type T and implements a filtered interface for iobject_enum wtih type INTERFACE_TYPE More...
 
class  object_ptr
 Alias always bringing the latest version of object_ptr into scope. More...
 
class  object_ptr_locked
 Implementation for a exclusive lock guard. More...
 
class  object_ptr_shared_locked
 Implementation for a shared lock guard. More...
 
struct  plugin_initializer
 
class  plugin_template
 
struct  plugin_version_default
 
class  runtime
 
struct  ucom_type_streamer
 Helper template for writing and reading types. More...
 

Typedefs

template<typename ... Interfaces>
using interface_expose = ant::interface_expose<Interfaces...>
 Alias bringing the latest version of meta struct template interface_expose into scope.
 
template<typename ... ParentTypes>
using inherit_from = ant::inherit_from<ParentTypes...>
 Alias bringing the latest version of meta struct template inherit_from into scope.
 
template<typename ... InterfaceTypes>
using expose_interfaces = ant::expose_interfaces<InterfaceTypes...>
 Alias bringing the latest version of meta struct template expose_interfaces into scope.
 
template<typename ... Types>
using default_object = ant::default_object<Types...>
 Alias bringing the latest version of meta struct template default_object into scope.
 
template<typename BASE_CLASS, typename EXTEND_INTERFACE, typename Child>
using extend_object = ant::extend_object<BASE_CLASS, EXTEND_INTERFACE, Child>
 Alias bringing the latest version of meta struct template extend_object into scope.
 
using IClassFactory = ant::IClassFactory
 Alias always bringing the latest version of IClassFactory into scope.
 
using IClassInfo = ant::IClassInfo
 Alias always bringing the latest version of ant::IClassInfo into scope.
 
using tNamedVersion = ant::tNamedVersion
 Alias alwas bringing the latest version of ant::tNamedVersion into scope.
 
using tDependencyDescription = ant::tDependencyDescription
 Alias alwas bringing the latest version of ant::tDependencyDescription into scope.
 
using IDevice = ant::IDevice
 Alias always bringing the latest version of IDevice into scope.
 
template<typename T>
using IForwardIterator = ant::IForwardIterator<T>
 Alias always bringing the latest version of IForwardIterator into scope.
 
template<typename T>
using IBidirectionalIterator = ant::IBidirectionalIterator<T>
 Alias always bringing the latest version of IBidirectionalIterator into scope.
 
template<typename T>
using IRandomAccessIterator = ant::IRandomAccessIterator<T>
 Alias always bringing the latest version of IRandomAccessIterator into scope.
 
template<typename T, template< typename > class IteratorType = ant::forward_iterator>
using iterator_adapter = ant::iterator_adapter<T, IteratorType>
 Alias always bringing the latest version of ant::iterator_adapter into scope.
 
template<typename T>
using pointer_iterator = ant::pointer_iterator<T>
 Alias always bringing the latest version of ant::pointer_iterator into scope.
 
template<typename T>
using forward_iterator = ant::forward_iterator<T>
 Alias always bringing the latest version of ant::forward_iterator into scope.
 
using IObjectCompatibility = ant::IObjectCompatibility
 Alias always bringing the latest version of IObjectCompatibility into scope.
 
using IObjectInfo = ant::IObjectInfo
 Alias always bringing the latest version of IObjectInfo into scope.
 
using IObject = ant::IObject
 Alias always bringing the latest version of ant::IObject into scope.
 
using IObjectPool = ant::IObjectPool
 Alias always bringing the latest version of IObjectPool into scope.
 
using IPluginInfo = ant::IPluginInfo
 Alias always bringing the latest version of IPlugin into scope.
 
using IScriptable = ant::IScriptable
 Alias always bringing the latest version of IScriptable into scope.
 
using ISerializable = ant::ISerializable
 Alias always bringing the latest version of ISerializable into scope.
 
using IService = ant::IService
 Alias always bringing the latest version of IService into scope.
 
template<class T>
using iobject_ptr = ant::iobject_ptr<T>
 Alias always bringing the latest version of ant::iobject_ptr into scope.
 
template<class T>
using enable_object_ptr_from_this = ant::enable_object_ptr_from_this<T>
 Alias always bringing the latest version of ant::enable_object_ptr_from_this into scope.
 
template<class T>
using weak_object_ptr = ant::weak_object_ptr<T>
 Alias always bringing the latest version of ant::weak_object_ptr into scope.
 
using cPluginInfo = ant::cPluginInfo
 Alias always bringing the latest version of IPlugin into scope.
 
template<typename Signature>
using ifunction_ptr
 Interface for shared pointers to iucom_function.
 
template<typename T>
using iobject_list
 alias type for iobject_enum.
 
template<typename T>
using iobject_vector
 alias type for iobject_enum.
 
template<typename T, typename INTERFACE_TYPE = T>
using object_list
 Implementation of an iobject_list<INTERFACE_TYPE> interface by using a std::list as container type.
 
template<typename T, typename INTERFACE_TYPE = T>
using object_vector
 Implementation of an iobject_vector<INTERFACE_TYPE> interface by using a std::vector as container type.
 

Functions

template<typename Interface>
const char * get_iid ()
 Alias bringing the latest version of get_iid() into scope.
 
template<typename classT>
constexpr iterator_adapter< const tDependencyDescription, pointer_iteratorget_class_dependencies ()
 Alias always bringing the latest version of ant::get_class_dependencies into scope.
 
template<typename classT>
constexpr const char * get_class_id ()
 Alias always bringing the latest version of ant::get_class_id into scope.
 
template<typename classT>
constexpr const char * get_class_label ()
 Alias always bringing the latest version of ant::get_class_label into scope.
 
template<typename classT>
object_ptr< const adtf::ucom::ant::IClassInfoget_class_info ()
 Alias always bringing the latest version of ant::get_class_info() into scope.
 
template<typename classT>
constexpr const cClassInfoget_class_info_reference ()
 Alias always bringing the latest version of ant::get_class_info_reference() into scope.
 
template<typename ... Args>
constexpr tNamedVersion add_version (const char *i_strProduct, Args... args)
 Alias always bringing the latest version of ant::add_version() into scope.
 
template<typename classT>
constexpr iterator_adapter< const tNamedVersion, pointer_iteratorget_class_versions ()
 Alias always bringing the latest version of ant::get_class_versions() into scope.
 
std::string nested_exceptions_to_string (const std::exception &error)
 Formats nested std::exceptions into a string, line by line.
 
std::string current_exception_to_string ()
 Trys to format the current exception into a string.
 
tResult current_exception_to_result ()
 Converts the current exception object into a tResult.
 
template<typename Callable, typename Signature = detail::signature_t<Callable>>
function_wrapper< Signature > make_function (Callable &&fnCallback)
 creates a ucom_function object for the given callable.
 
template<typename Callable, typename Signature = detail::signature_t<Callable>>
ant::object_ptr< ifunction< Signature > > make_function_ptr (Callable &&fnCallback)
 creates an object_ptr shared pointer to an ucom_function pointing to the given callable.
 
template<typename Signature>
std::function< Signature > to_std_function (const ifunction< Signature > &fnFunction)
 Helper conversion to a std::function object.
 
template<typename T>
object_ptr< T > ucom_object_ptr_cast (object_ptr< T > oCasted)
 Alias always bringing the latest version of ant::ucom_object_ptr_cast() into scope.
 
template<typename Implementation, typename... Args>
object_ptr< Implementation > make_object_ptr (Args &&... args)
 Alias always bringing the latest version of ant::make_object_ptr() into scope.
 
template<typename T, typename U>
tResult reset_object_ptr (iobject_ptr< const T > &o_oDest, const iobject_ptr< U > &i_oSrc)
 Alias always bringing the latest version of ant::reset_object_ptr() into scope.
 
template<typename T>
ant::object_ptr< T > ucom_object_ptr_const_cast (const ant::iobject_ptr< const T > &i_oOther)
 Alias always bringing the latest version of penguin::ucom_object_ptr_const_cast() into scope.
 
template<typename Implementation, bool Fuse, typename Allocator, typename... Args>
object_ptr< Implementation > allocate_object_ptr (Allocator &&allocator, Args &&... args)
 Alias always bringing the latest version of vision::allocate_object_ptr() into scope.
 
tResult get_plugin (iobject_ptr< IPlugin > &pPlugin)
 Returns a reference to the plugin instance of the current module.
 
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)
 
tResult ucom_write_to_stream_buffer (IOutputStream &oOutStream, const void *pBuffer, size_t szBuffer, size_t &szCount)
 
tResult ucom_read_from_stream_buffer (const IInputStream &oInStream, 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_string (const IInputStream &oInStream, adtf_util::cString &strValue, size_t &szReadCount)
 
template<typename InterfacePointerType, typename ObjectPointerType>
InterfacePointerType ucom_cast (ObjectPointerType i_pObject)
 Alias always bringing the latest version of ucom_cast() into scope.
 

Detailed Description

Namespace for the ADTF uCOM3 SDK.

Within this namespace all interfaces, classes and functions always refer to their last revised implementation. When using types defined within this namespace it is guaranteed to always use the latest version of the types.

Typedef Documentation

◆ cPluginInfo

Alias always bringing the latest version of IPlugin into scope.

Definition at line 57 of file plugin_info.h.

◆ default_object

template<typename ... Types>
using default_object = ant::default_object<Types...>

Alias bringing the latest version of meta struct template default_object into scope.

Definition at line 837 of file adtf_iid.h.

◆ enable_object_ptr_from_this

Alias always bringing the latest version of ant::enable_object_ptr_from_this into scope.

Definition at line 251 of file object_ptr_utilities.h.

◆ expose_interfaces

template<typename ... InterfaceTypes>
using expose_interfaces = ant::expose_interfaces<InterfaceTypes...>

Alias bringing the latest version of meta struct template expose_interfaces into scope.

Definition at line 833 of file adtf_iid.h.

◆ extend_object

template<typename BASE_CLASS, typename EXTEND_INTERFACE, typename Child>
using extend_object = ant::extend_object<BASE_CLASS, EXTEND_INTERFACE, Child>

Alias bringing the latest version of meta struct template extend_object into scope.

Definition at line 841 of file adtf_iid.h.

◆ forward_iterator

template<typename T>
using forward_iterator = ant::forward_iterator<T>

Alias always bringing the latest version of ant::forward_iterator into scope.

Definition at line 400 of file iterator_intf.h.

◆ IBidirectionalIterator

template<typename T>
using IBidirectionalIterator = ant::IBidirectionalIterator<T>

Alias always bringing the latest version of IBidirectionalIterator into scope.

Definition at line 384 of file iterator_intf.h.

◆ IClassFactory

Alias always bringing the latest version of IClassFactory into scope.

Definition at line 70 of file class_factory_intf.h.

◆ IClassInfo

Alias always bringing the latest version of ant::IClassInfo into scope.

Definition at line 78 of file class_info_intf.h.

◆ IDevice

Alias always bringing the latest version of IDevice into scope.

Definition at line 194 of file device_intf.h.

◆ IForwardIterator

template<typename T>
using IForwardIterator = ant::IForwardIterator<T>

Alias always bringing the latest version of IForwardIterator into scope.

Definition at line 380 of file iterator_intf.h.

◆ ifunction_ptr

template<typename Signature>
using ifunction_ptr

Interface for shared pointers to iucom_function.

Definition at line 47 of file function_ptr.h.

◆ inherit_from

template<typename ... ParentTypes>
using inherit_from = ant::inherit_from<ParentTypes...>

Alias bringing the latest version of meta struct template inherit_from into scope.

Definition at line 829 of file adtf_iid.h.

◆ interface_expose

template<typename ... Interfaces>
using interface_expose = ant::interface_expose<Interfaces...>

Alias bringing the latest version of meta struct template interface_expose into scope.

Definition at line 825 of file adtf_iid.h.

◆ IObject

Alias always bringing the latest version of ant::IObject into scope.

Definition at line 109 of file object_intf.h.

◆ iobject_list

template<typename T>
using iobject_list

alias type for iobject_enum.

Template Parameters
Tinterface object type to represent (this value type must derived from IObject)

Definition at line 387 of file object_list.h.

◆ iobject_ptr

template<class T>
using iobject_ptr = ant::iobject_ptr<T>

Alias always bringing the latest version of ant::iobject_ptr into scope.

Definition at line 428 of file object_ptr_intf.h.

◆ iobject_vector

template<typename T>
using iobject_vector

alias type for iobject_enum.

Template Parameters
Tinterface object type to represent (this value type must derived from IObject)

Definition at line 394 of file object_list.h.

◆ IObjectCompatibility

Alias always bringing the latest version of IObjectCompatibility into scope.

Definition at line 49 of file object_compatibility_intf.h.

◆ IObjectInfo

Alias always bringing the latest version of IObjectInfo into scope.

Definition at line 62 of file object_info_intf.h.

◆ IObjectPool

Alias always bringing the latest version of IObjectPool into scope.

Definition at line 79 of file object_pool_intf.h.

◆ IPluginInfo

Alias always bringing the latest version of IPlugin into scope.

Definition at line 69 of file plugin_info_intf.h.

◆ IRandomAccessIterator

template<typename T>
using IRandomAccessIterator = ant::IRandomAccessIterator<T>

Alias always bringing the latest version of IRandomAccessIterator into scope.

Definition at line 388 of file iterator_intf.h.

◆ IScriptable

Alias always bringing the latest version of IScriptable into scope.

Definition at line 97 of file scriptable_intf.h.

◆ ISerializable

Alias always bringing the latest version of ISerializable into scope.

Definition at line 84 of file serializable_intf.h.

◆ IService

Alias always bringing the latest version of IService into scope.

Definition at line 238 of file service_intf.h.

◆ iterator_adapter

template<typename T, template< typename > class IteratorType = ant::forward_iterator>
using iterator_adapter = ant::iterator_adapter<T, IteratorType>

Alias always bringing the latest version of ant::iterator_adapter into scope.

Definition at line 392 of file iterator_intf.h.

◆ object_list

template<typename T, typename INTERFACE_TYPE = T>
using object_list

Implementation of an iobject_list<INTERFACE_TYPE> interface by using a std::list as container type.

Template Parameters
Tobject type to store (this value type must derived from IObject)
INTERFACE_TYPEinterface type the implementation represents. (iobject_list<INTERFACE_TYPE>)

Definition at line 402 of file object_list.h.

◆ object_vector

template<typename T, typename INTERFACE_TYPE = T>
using object_vector

Implementation of an iobject_vector<INTERFACE_TYPE> interface by using a std::vector as container type.

Template Parameters
Tobject type to store (this value type must derived from IObject)
INTERFACE_TYPEinterface type the implementation represents. (iobject_vector<INTERFACE_TYPE>)

Definition at line 410 of file object_list.h.

◆ pointer_iterator

template<typename T>
using pointer_iterator = ant::pointer_iterator<T>

Alias always bringing the latest version of ant::pointer_iterator into scope.

Definition at line 396 of file iterator_intf.h.

◆ tDependencyDescription

Alias alwas bringing the latest version of ant::tDependencyDescription into scope.

Definition at line 84 of file class_info_intf.h.

◆ tNamedVersion

Alias alwas bringing the latest version of ant::tNamedVersion into scope.

Definition at line 81 of file class_info_intf.h.

◆ weak_object_ptr

template<class T>
using weak_object_ptr = ant::weak_object_ptr<T>

Alias always bringing the latest version of ant::weak_object_ptr into scope.

Definition at line 233 of file weak_object_ptr.h.

Function Documentation

◆ add_version()

template<typename ... Args>
tNamedVersion add_version ( const char * i_strProduct,
Args... args )
constexpr

Alias always bringing the latest version of ant::add_version() into scope.

Definition at line 61 of file class_versions.h.

◆ allocate_object_ptr()

template<typename Implementation, bool Fuse, typename Allocator, typename... Args>
object_ptr< Implementation > allocate_object_ptr ( Allocator && allocator,
Args &&... args )
inline

Alias always bringing the latest version of vision::allocate_object_ptr() into scope.

Definition at line 227 of file object_ptr_utilities.h.

◆ current_exception_to_result()

tResult current_exception_to_result ( )
inline

Converts the current exception object into a tResult.

Works for both tResult and std::exceptions.

Returns
The result containing the exception information.

Definition at line 154 of file ucom3/include/adtfucom3/exception_handling.h.

Referenced by adtf::base::elasto::current_exception_to_result().

◆ current_exception_to_string()

std::string current_exception_to_string ( )
inline

Trys to format the current exception into a string.

This works for std::exception and tResult exception objects.

Returns
The formatted string.

Definition at line 123 of file ucom3/include/adtfucom3/exception_handling.h.

Referenced by adtf::base::elasto::current_exception_to_string().

◆ get_class_dependencies()

template<typename classT>
iterator_adapter< const tDependencyDescription, pointer_iterator > get_class_dependencies ( )
constexpr

Alias always bringing the latest version of ant::get_class_dependencies into scope.

Definition at line 96 of file class_dependencies.h.

◆ get_class_id()

template<typename classT>
const char * get_class_id ( )
constexpr

Alias always bringing the latest version of ant::get_class_id into scope.

Definition at line 110 of file class_id.h.

◆ get_class_info()

template<typename classT>
object_ptr< const adtf::ucom::ant::IClassInfo > get_class_info ( )

Alias always bringing the latest version of ant::get_class_info() into scope.

Definition at line 109 of file class_info.h.

◆ get_class_info_reference()

template<typename classT>
const cClassInfo & get_class_info_reference ( )
constexpr

Alias always bringing the latest version of ant::get_class_info_reference() into scope.

Definition at line 69 of file class_info.h.

◆ get_class_label()

template<typename classT>
const char * get_class_label ( )
constexpr

Alias always bringing the latest version of ant::get_class_label into scope.

Definition at line 143 of file class_id.h.

◆ get_class_versions()

template<typename classT>
iterator_adapter< const tNamedVersion, pointer_iterator > get_class_versions ( )
constexpr

Alias always bringing the latest version of ant::get_class_versions() into scope.

Definition at line 78 of file class_versions.h.

◆ get_iid()

template<typename Interface>
const char * get_iid ( )

Alias bringing the latest version of get_iid() into scope.

Definition at line 434 of file adtf_iid.h.

Referenced by interface_client< Interface >::Get().

◆ get_plugin()

tResult get_plugin ( iobject_ptr< IPlugin > & pPlugin)

Returns a reference to the plugin instance of the current module.

Parameters
[out]pPluginThe plugin.
Returns
Standard result.

◆ make_function()

template<typename Callable, typename Signature = detail::signature_t<Callable>>
function_wrapper< Signature > make_function ( Callable && fnCallback)
inline

creates a ucom_function object for the given callable.

Template Parameters
CallableThe callable type that should be exposed via the function object.
Parameters
fnCallbackThe callable that should be exposed via the function object.
Returns
a function object wrapping the given callable.

Definition at line 159 of file function_ptr.h.

Referenced by adtf::streaming::riddler::has_trigger_parent().

◆ make_function_ptr()

template<typename Callable, typename Signature = detail::signature_t<Callable>>
ant::object_ptr< ifunction< Signature > > make_function_ptr ( Callable && fnCallback)
inline

creates an object_ptr shared pointer to an ucom_function pointing to the given callable.

Template Parameters
CallableThe callable type that should be exposed via the shared pointer.
Parameters
fnCallbackThe callable that should be exposed via the shared pointer.
Returns
an object_ptr to an ucom_function pointing to the given callable.

Definition at line 171 of file function_ptr.h.

◆ make_object_ptr()

template<typename Implementation, typename... Args>
object_ptr< Implementation > make_object_ptr ( Args &&... args)
inline

Alias always bringing the latest version of ant::make_object_ptr() into scope.

Definition at line 129 of file object_ptr_utilities.h.

Referenced by binding_proxy< INTERFACE, INTERFACE_CHECK >::binding_proxy(), configuration< Interface >::configuration(), cStreamType::cStreamType(), adtf::streaming::devil::add_binding_proxy(), adtf::streaming::devil::add_data_in_port(), adtf::streaming::devil::add_data_out_port(), adtf::streaming::devil::add_sample_stream_in_port(), adtf::streaming::devil::add_sample_stream_out_port(), writer_with_request_broker< BaseWriter >::BeginStreaming(), adtf::streaming::ant::create_client(), adtf::streaming::catwo::create_client(), adtf::streaming::catwo::create_client(), adtf::streaming::flash::create_client(), adtf::streaming::ant::create_inner_pipe(), adtf::streaming::ant::create_pin(), adtf::streaming::ant::create_pin(), adtf::streaming::ant::create_server(), adtf::streaming::catwo::create_server(), adtf::streaming::catwo::create_server(), adtf::streaming::flash::create_server(), adtf::streaming::elasto::create_weak_binding_server(), adtf::mediadescription::ant::make_sample_reader(), adtf::mediadescription::flash::make_sample_reader(), adtf::mediadescription::osborn::make_sample_reader(), adtf::mediadescription::osborn::make_sample_reader(), adtf::mediadescription::ant::make_sample_writer(), adtf::mediadescription::flash::make_sample_writer(), adtf::mediadescription::osborn::make_sample_writer(), adtf::mediadescription::osborn::make_sample_writer(), binding_proxy< INTERFACE, INTERFACE_CHECK >::SetBindingType(), and sample_streamer< ISampleReader, cInPin >::SetType().

◆ nested_exceptions_to_string()

std::string nested_exceptions_to_string ( const std::exception & error)
inline

Formats nested std::exceptions into a string, line by line.

Parameters
[in]errorthe exception
Returns
The formatted string.

Definition at line 111 of file ucom3/include/adtfucom3/exception_handling.h.

Referenced by adtf::base::elasto::nested_exceptions_to_string().

◆ reset_object_ptr()

template<typename T, typename U>
tResult reset_object_ptr ( iobject_ptr< const T > & o_oDest,
const iobject_ptr< U > & i_oSrc )

Alias always bringing the latest version of ant::reset_object_ptr() into scope.

Definition at line 148 of file object_ptr_utilities.h.

◆ to_std_function()

template<typename Signature>
std::function< Signature > to_std_function ( const ifunction< Signature > & fnFunction)
inline

Helper conversion to a std::function object.

Use this to forward an ifunction to STL alrorithms etc.

Parameters
[in]fnFunctionthe function object.

Definition at line 182 of file function_ptr.h.

◆ ucom_cast()

template<typename InterfacePointerType, typename ObjectPointerType>
InterfacePointerType ucom_cast ( ObjectPointerType i_pObject)

◆ ucom_object_ptr_cast()

◆ ucom_object_ptr_const_cast()

template<typename T>
ant::object_ptr< T > ucom_object_ptr_const_cast ( const ant::iobject_ptr< const T > & i_oOther)

Alias always bringing the latest version of penguin::ucom_object_ptr_const_cast() into scope.

Definition at line 196 of file object_ptr_utilities.h.

◆ ucom_read_from_stream()

template<typename T>
tResult ucom_read_from_stream ( const IInputStream & oInStream,
T & oValue,
size_t & szCount )

Definition at line 312 of file stream.h.

◆ ucom_write_to_stream()

template<typename T>
tResult ucom_write_to_stream ( IOutputStream & oOutStream,
const T & oValue,
size_t & szCount )

Definition at line 306 of file stream.h.