CppUnit project page FAQ CppUnit home page

ProtectorChain Class Reference

Protector chain (Implementation). Implementation detail. More...

#include <ProtectorChain.h>

Inheritance diagram for ProtectorChain:

Inheritance graph
Collaboration diagram for ProtectorChain:

Collaboration graph

List of all members.


class  ProtectFunctor

Public Member Functions

 ~ProtectorChain ()
void push (Protector *protector)
void pop ()
int count () const
bool protect (const Functor &functor, const ProtectorContext &context)

Private Types

typedef CppUnitDeque< Protector * > Protectors
typedef CppUnitDeque< Functor * > Functors

Private Attributes

Protectors m_protectors

Detailed Description

Protector chain (Implementation). Implementation detail.

Member Typedef Documentation

typedef CppUnitDeque<Functor *> ProtectorChain::Functors [private]

typedef CppUnitDeque<Protector *> ProtectorChain::Protectors [private]

Constructor & Destructor Documentation

ProtectorChain::~ProtectorChain (  ) 

Member Function Documentation

int ProtectorChain::count (  )  const

void ProtectorChain::pop (  ) 

bool ProtectorChain::protect ( const Functor functor,
const ProtectorContext context 
) [virtual]

Implements Protector.

void ProtectorChain::push ( Protector protector  ) 

Member Data Documentation

The documentation for this class was generated from the following files:

SourceForge Logo hosts this site. Send comments to:
CppUnit Developers