Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

DC_DummyTracer Class Reference

#include <DC_DummyTracer.h>

Inheritance diagram for DC_DummyTracer:

Tracer CC_RootObject List of all members.

Detailed Description

Implementation of a dummy tracer that does not forward trace signals to any external test set up.

The dummy tracer can be useful either in a test context or in an application where trace signals are not used. Note that the CC_RootObject class requires a tracer component as one of its plug-in components. This dummy tracer can be used where no physical tracer component is available.

See also:
CC_RootObject
Author:
Alessandro Pasetti (P&P Software GmbH)
Version:
1.0

Definition at line 26 of file DC_DummyTracer.h.

Public Member Functions

 DC_DummyTracer (void)
 Instantiate a dummy tracer object.


Protected Member Functions

virtual void sendRawTrace (TD_TraceItem traceItem) const
 This is a dummy method that returns without taking any action.


Constructor & Destructor Documentation

DC_DummyTracer::DC_DummyTracer void   ) 
 

Instantiate a dummy tracer object.

The enabled status of the tracer is set to "disabled". This minimizes the overheads associated to the presence of the tracer in an application where no trace signals need be generated.

See also:
Tracer::setEnabled

Definition at line 15 of file DC_DummyTracer.cpp.


Member Function Documentation

void DC_DummyTracer::sendRawTrace TD_TraceItem  traceItem  )  const [protected, virtual]
 

This is a dummy method that returns without taking any action.

See also:
Tracer::sendRawTrace
Parameters:
traceItem the trace item to be sent to the test set-up

Implements Tracer.

Definition at line 20 of file DC_DummyTracer.cpp.


The documentation for this class was generated from the following files:
Copyright 2003 P&P Software GmbH - All Rights Reserved