ACF $AcfVersion:0$
Namespaces | Classes | Typedefs
Main concepts and implementations

If you want to learn how to use ACF, you should begin with elements defined in this module. More...

Namespaces

namespace  icomp
 Package with interfaces and class used for components concept.
 
namespace  imod
 This namespace containes basic implementation of Model/Observer design pattern This package is system independent.
 
namespace  iser
 Contains general persistence mechanism with basic archives implementations.
 
namespace  istd
 Standard library.
 

Classes

class  ibase::IApplication
 Interface for the main entry point of a component-based application. More...
 
class  ibase::IApplicationInfo
 This interface provides some information about the application. More...
 
class  icomp::CComponentBase
 Base class for component implementation. More...
 
class  ilog::IMessageConsumer
 Common interface for a message container consuming information objects (messages). More...
 
class  iser::IArchive
 Represents an input/output persistence archive for object serialization. More...
 
class  iser::ISerializable
 Common class for all classes which objects can be archived or restored from archive. More...
 
class  istd::CChangeGroup
 Help class which provides the group of changes for update mechanism of the model. More...
 
class  istd::CChangeNotifier
 Help class which provides the automatic update mechanism of the model. More...
 
class  istd::IFactoryInfo
 Base interface providing information about factory-producible objects. More...
 
class  istd::IPolymorphic
 Base interface for all used interfaces and implementations. More...
 
class  istd::TDelPtr< Type, Accessor >
 Pointer wrapper providing automatic deleting pointed object during destruction. More...
 
class  istd::TInterfacePtr< InterfaceType, PolymorphicPointerImpl >
 Base template for polymorphic interface pointers. More...
 
class  istd::TUniqueInterfacePtr< InterfaceType, RootIntefaceType >
 Unique ownership smart pointer for interface types. More...
 
class  istd::TSharedInterfacePtr< InterfaceType, RootIntefaceType >
 Shared ownership smart pointer for interface types. More...
 
class  istd::TOptDelPtr< Type, DelArray >
 Pointer wrapper providing activatable deleting pointed object during destruction. More...
 
class  istd::TOptInterfacePtr< InterfaceType >
 A wrapper for managed and unmanaged interface pointers. More...
 
class  istd::TSmartPtr< Type >
 

Typedefs

typedef TLoggerCompWrap< icomp::CComponentBaseilog::CLoggerComponentBase
 Convenience typedef for simple components with logging.
 

Detailed Description

If you want to learn how to use ACF, you should begin with elements defined in this module.

Typedef Documentation

◆ CLoggerComponentBase

Convenience typedef for simple components with logging.

CLoggerComponentBase is the most commonly used base class for ACF components that need logging functionality. It combines icomp::CComponentBase with TLoggerCompWrap to provide a complete component with integrated logging.

Use this as a base class for most components that need to output log messages.

Usage Example
class MyComponent : public ilog::CLoggerComponentBase
{
public:
typedef ilog::CLoggerComponentBase BaseClass;
I_BEGIN_COMPONENT(MyComponent);
// ... component definition ...
I_END_COMPONENT;
void DoWork() {
SendInfoMessage(1, "Work started", "DoWork");
// ... do work ...
SendInfoMessage(2, "Work completed", "DoWork");
}
};
Template wrapper adding comprehensive logging functionality to components.
See also
ilog::TLoggerCompWrap, icomp::CComponentBase

Definition at line 381 of file TLoggerCompWrap.h.