|
ACF $AcfVersion:0$
|
Component wrapper for standard stream bridging. More...
#include <CStandardStreamBridgeComp.h>
Public Types | |
| typedef icomp::CComponentBase | BaseClass |
| Base class typedef. | |
Protected Member Functions | |
| virtual void | OnComponentCreated () override |
| virtual void | OnComponentDestroyed () override |
Protected Member Functions inherited from icomp::CComponentBase | |
| bool | IsComponentActive () const |
| Check if component is active. | |
| virtual const icomp::IRealComponentStaticInfo & | GetComponentStaticInfo () const =0 |
| Get access to static info of this component. | |
Additional Inherited Members | |
Public Member Functions inherited from icomp::CComponentBase | |
| CComponentBase () | |
| Create component and assign it to specific context. | |
| virtual const icomp::IComponent * | GetParentComponent (bool ownerOnly=false) const override |
| Get parent of this component. | |
| virtual void * | GetInterface (const istd::CClassInfo &interfaceType, const QByteArray &subId="") override |
| Get access to specified component interface. | |
| virtual IComponentContextSharedPtr | GetComponentContext () const override |
| Get access to component context describing all application-specified component information loaded from components registry. | |
| virtual void | SetComponentContext (const IComponentContextSharedPtr &contextPtr, const icomp::IComponent *parentPtr, bool isParentOwner) override |
| Set component context of this component. | |
Public Member Functions inherited from istd::IPolymorphic | |
| virtual | ~IPolymorphic () |
Static Protected Member Functions inherited from icomp::CComponentBase | |
| static const icomp::IRealComponentStaticInfo & | InitStaticInfo (IComponent *componentPtr) |
| static QByteArray | GetComponentId (const icomp::IComponentContext *componentContextPtr, const QByteArray &contextId=QByteArray()) |
Component wrapper for standard stream bridging.
CStandardStreamBridgeComp provides a component-based interface for redirecting std::cout and std::cerr to the logging system. It creates and manages CStandardStreamBridge instances for both streams, automatically handling their lifecycle.
This is the recommended way to use stream bridging in ACF applications, as it integrates with the component system and handles initialization/cleanup properly.
Definition at line 73 of file CStandardStreamBridgeComp.h.
Base class typedef.
Definition at line 77 of file CStandardStreamBridgeComp.h.
|
overrideprotectedvirtual |
Reimplemented from icomp::CComponentBase.
|
overrideprotectedvirtual |
Reimplemented from icomp::CComponentBase.