User Manual, Developers Guide and API Documentation

wns::probe::bus::PDUContextProvider< T > Class Template Reference

A contextprovider template to be specialized for specific PDUs.

#include <probe/bus/ContextProvider.hpp>

Inheritance diagram for wns::probe::bus::PDUContextProvider< T >:

Inheritance graph
[legend]
Collaboration diagram for wns::probe::bus::PDUContextProvider< T >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual void visit (IContext &c, const wns::osi::PDUPtr &pdu) const
 Check if we have a PDU of corresponding type and dispatch to specialized method of derived class.
virtual void visit (IContext &) const
 This method does nothing and just returns.

Private Member Functions

virtual void doVisit (IContext &, const SmartPtr< T > &) const =0


Detailed Description

template<typename T>
class wns::probe::bus::PDUContextProvider< T >

Definition at line 71 of file ContextProvider.hpp.


Member Function Documentation

template<typename T>
virtual void wns::probe::bus::PDUContextProvider< T >::doVisit ( IContext ,
const SmartPtr< T > &   
) const [private, pure virtual]

template<typename T>
virtual void wns::probe::bus::PDUContextProvider< T >::visit ( IContext c,
const wns::osi::PDUPtr pdu 
) const [inline, virtual]

Implements wns::probe::bus::IContextProvider.

Definition at line 88 of file ContextProvider.hpp.

template<typename T>
virtual void wns::probe::bus::PDUContextProvider< T >::visit ( IContext  )  const [inline, virtual]

Implements wns::probe::bus::IContextProvider.

Definition at line 80 of file ContextProvider.hpp.


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

Generated on Sun May 27 03:33:01 2012 for openWNS by  doxygen 1.5.5