FeeServer::ServiceBase Class Reference
[Services]

#include <feeserver/fee_serv.hh>

Inheritance diagram for FeeServer::ServiceBase:

Inheritance graph
[legend]

List of all members.


Detailed Description

Base class for services.

Public Member Functions

 ServiceBase (const std::string &name)
virtual ~ServiceBase ()
const std::string & Name () const
virtual const char * Format () const
virtual size_t Size () const
virtual void * Address ()
virtual void Clear ()
virtual bool Updated () const
virtual void SetDeadband (float v)
virtual float GetDeadband () const
virtual bool Consistency ()

Protected Attributes

std::string _name
bool _updated
float _threshold

Constructor & Destructor Documentation

FeeServer::ServiceBase::ServiceBase ( const std::string &  name  )  [inline]

Constructor

Parameters:
name Name of the service

virtual FeeServer::ServiceBase::~ServiceBase (  )  [inline, virtual]

Destructor


Member Function Documentation

const std::string& FeeServer::ServiceBase::Name (  )  const [inline]

Get the name

virtual const char* FeeServer::ServiceBase::Format (  )  const [inline, virtual]

Return the format to use when declaring the DIM service

Reimplemented in FeeServer::ServiceT< T, Trait >.

virtual size_t FeeServer::ServiceBase::Size (  )  const [inline, virtual]

Return the size (in bytes) of the service

Reimplemented in FeeServer::ServiceT< T, Trait >.

virtual void* FeeServer::ServiceBase::Address (  )  [inline, virtual]

Return the address of the data

Reimplemented in FeeServer::ServiceT< T, Trait >.

virtual void FeeServer::ServiceBase::Clear (  )  [inline, virtual]

Clear update mark

Reimplemented in FeeServer::ServiceT< T, Trait >.

virtual bool FeeServer::ServiceBase::Updated (  )  const [inline, virtual]

Whether the service has been updated

virtual void FeeServer::ServiceBase::SetDeadband ( float  v  )  [inline, virtual]

Set the dead-band

virtual float FeeServer::ServiceBase::GetDeadband (  )  const [inline, virtual]

get the dead-band

virtual bool FeeServer::ServiceBase::Consistency (  )  [inline, virtual]

Consistency check

Reimplemented in FeeServer::ServiceT< T, Trait >.


Member Data Documentation

std::string FeeServer::ServiceBase::_name [protected]

Name of service

Whether we've been updated

Threshold


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

Generated on Thu Jun 26 17:02:42 2008 for FeeServer++ 0.9 by  doxygen 1.5.6