Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Examples

PkgModuleFunctions::CallbackHandler::YCPCallbacks::Send Class Reference

Convenience base class for YCPCallback sender. More...

#include <PkgModuleCallbacks.YCP.h>

List of all members.

Public Member Functions

 Send (const YCPCallbacks &ycpcb_r)
virtual ~Send ()
const YCPCallbacksycpcb () const
CB ycpcb (CBid func) const

Private Attributes

const YCPCallbacks_ycpcb


Detailed Description

Convenience base class for YCPCallback sender.

A functional interface for sending YCPCallbacks with well known arguments and return values is desirable. Esp. for YCPcallbacks triggered from multiple recipients. Currently each recipient has to implememt correct number and type of arguments, as well as the returned type. That's bad if something changes. As soon as YCPCallbacks provides them (as const methods), Y2PMRecipients::Recipient should no longer inherit Send, but provide an easy access to RecipientCtl::_ycpcb.


Constructor & Destructor Documentation

PkgModuleFunctions::CallbackHandler::YCPCallbacks::Send::Send const YCPCallbacks ycpcb_r  )  [inline]
 

virtual PkgModuleFunctions::CallbackHandler::YCPCallbacks::Send::~Send  )  [inline, virtual]
 


Member Function Documentation

CB PkgModuleFunctions::CallbackHandler::YCPCallbacks::Send::ycpcb CBid  func  )  const [inline]
 

const YCPCallbacks& PkgModuleFunctions::CallbackHandler::YCPCallbacks::Send::ycpcb  )  const [inline]
 


Member Data Documentation

const YCPCallbacks& PkgModuleFunctions::CallbackHandler::YCPCallbacks::Send::_ycpcb [private]
 


The documentation for this class was generated from the following file:
Generated on Fri Nov 9 18:15:24 2007 for yast2-core by doxygen 1.3.6