senf::SocketPolicyBase Struct Reference
[The Policy Framework]

Baseclass of all SocketPolicies. More...

#include <senf/Socket/SocketPolicy.hh>

List of all members.


Detailed Description

Baseclass of all SocketPolicies.

For internal use only.

This class provides the baseclass of all socket policies (bundles). It serves two purposes:

  • It allows us to easily identify a socket policy bundle by checking a classes baseclass.
  • It provides an abstract (virtual) interface to access the policy axes
See also:
The Policy Framework

Definition at line 453 of file SocketPolicy.hh.


Public Member Functions

AddressingPolicyBase const &  theAddressingPolicy () const =0
  Polymorphic access to policy axes.
virtual  ~SocketPolicyBase ()

Constructor & Destructor Documentation

senf::SocketPolicyBase::
~SocketPolicyBase ()

Definition at line 50 of file SocketPolicy.cc.


Member Function Documentation

AddressingPolicyBase const& senf::SocketPolicyBase::
theAddressingPolicy ()

Polymorphic access to policy axes.

This is an example of a policy axes accessor. It returns a reference to the policy axes used by the concrete protocol bundle. This reference can then be checked using RTTI information.


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