Data Structures | Namespaces

ucommon/protocols.h File Reference

Abstract interfaces and support. More...

#include <ucommon/platform.h>
Include dependency graph for protocols.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  ucc::BufferProtocol
 Common buffer protocol class. More...
class  ucc::CharacterProtocol
 Common character processing protocol. More...
class  ucc::LockingProtocol
 Common locking protocol. More...
class  ucc::MemoryRedirect
 A redirection base class for the memory protocol. More...

Namespaces

namespace  ucc
 

Common namespace for all ucommon objects.



Detailed Description

Abstract interfaces and support.

This is a set of "protocols", a concept borrowed from other object oriented languages, to define interfaces for low level services. By using a protocol base class which offers both virtuals and support methods only, one can easily stack and share these as common base classes without having to consider when the final derived object implements them. Core protocol methods always are tagged with a _ prefix to make it easier to track their derivation.

Author:
David Sugar <dyfet@gnutelephony.org>

Definition in file protocols.h.