Public Member Functions
|virtual void||doLog (const TaskId logTaskId, const uint16 event, Msg *pMsg)|
Static Public Member Functions
|static ActivityLog *||Create ()|
|static ActivityLog *||Default ()|
|static bool||IsCreated ()|
Protected Member Functions
|ActivityLog (const ActivityLog &lValue)|
|ActivityLog &||operator= (const ActivityLog &lvalue)|
|virtual void||runBody ()|
ActivityLog This class implements the logging of the activities in the system. Therefore it is an active class.
constructors, destructors Default constructor. Constructs a new object of this class.
|ApparatusFramework::ActivityLog::ActivityLog||(||const ActivityLog &||lValue||)||
Copy constructor. Memberwise copy of one object into the other object.
|lValue||Reference of the object to copied.|
Default destructor. Destroys the object and releases all used resources.
|static ActivityLog* ApparatusFramework::ActivityLog::Create||(||)||
singleton methods Creates an instance of the singleton if none exists yet. The object is created in static memory.
|static ActivityLog* ApparatusFramework::ActivityLog::Default||(||)||
References an instance that has been previously created.
|virtual void ApparatusFramework::ActivityLog::doLog||(||const TaskId||logTaskId,|
deferred logging Traces the event generated by the task with the given task identifier. This method is only called if the filter configuration allows it.
|logTaskId||identifier of the task.|
|event||event on which the logger did react.|
|pMsg||message used when the event was generated.|
factory startup Initializes the scheduler system according to the factory startup pattern. Registers this task with the logger.
|static bool ApparatusFramework::ActivityLog::IsCreated||(||)||
States whether an instance of this singleton has been created.
operators Assignment operator.
|lvalue||reference to the object to be copied|
|virtual void ApparatusFramework::ActivityLog::runBody||(||)||
task services Contains the main loop of the task. Our object retrieves the next received message, processes it, releases it and waits again on the next message.
Reimplemented from ApparatusFramework::Task.
Starts up the ActivityLog system according to the factory startup pattern.
© 2004-2010 bbv Software Services AG / Apparatus Services