ApparatusFramework::StubInterface Class Reference
[Unit-Test Services]

#include <UnitTestServices/current/include/Stub.h>

Inheritance diagram for ApparatusFramework::StubInterface:
ApparatusFramework::Stub< maxLogSize >

List of all members.

Public Member Functions

 StubInterface ()
virtual ~StubInterface ()
virtual const char * getNextLog (const unsigned long timeout)=0
virtual void clearLog ()=0

Detailed Description

This is an abstract class that is used as a common interface to the different instantiations of the stub template. For more information on the purpose of this interface please refer to the Stub class.

Definition at line 56 of file Stub.h.

Constructor & Destructor Documentation

ApparatusFramework::StubInterface::StubInterface (  )  [inline]

constructors, destructors Constructs a new StubInterface object.

Definition at line 51 of file Stub.h.

References clearLog(), getNextLog(), and ~StubInterface().

virtual ApparatusFramework::StubInterface::~StubInterface (  )  [inline, virtual]

Destroys the object.

Definition at line 55 of file Stub.h.

Referenced by StubInterface().

Member Function Documentation

virtual void ApparatusFramework::StubInterface::clearLog (  )  [pure virtual]

modifiers Clears the log buffer.

Implemented in ApparatusFramework::Stub< maxLogSize >.

Referenced by StubInterface().

virtual const char* ApparatusFramework::StubInterface::getNextLog ( const unsigned long  timeout  )  [pure virtual]

queries Returns a pointer to the current log string.

timeout timeout in miliseconds to wait if the log is currently empty. This value will be rounded to the next timer tick.
const char* pointer to the log string.

Implemented in ApparatusFramework::Stub< maxLogSize >.

Referenced by StubInterface().

© 2004-2010 bbv Software Services AG / Apparatus Services