a group of services that must be used one after another More...

#include <ServiceGroups.h>

Inheritance diagram for Adaptation::ServiceChain:
Collaboration diagram for Adaptation::ServiceChain:

Public Types

typedef RefCount< ServiceGroupPointer
typedef std::vector< StringStore
typedef String Id
typedef unsigned int Pos

Public Member Functions

 ServiceChain ()
virtual void parse ()
virtual void finalize ()
bool wants (const ServiceFilter &filter) const

Public Attributes

String kind
Id id
Store services
Store removedServices
 the disabled services in the case ecap or icap is disabled More...
Method method
VectPoint point
 based on the first added service More...
const bool allServicesSame
 based on the first added service More...

Protected Member Functions

virtual bool replace (Pos &) const
virtual bool advance (Pos &pos) const
bool has (const Pos pos) const
 < whether this group has a service at the specified pos More...
bool findReplacement (const ServiceFilter &filter, Pos &pos) const
 these methods control group iteration; used by ServicePlan More...
bool findLink (const ServiceFilter &filter, Pos &pos) const
 find next to link after success, starting with pos More...

Detailed Description

Definition at line 99 of file ServiceGroups.h.

Member Typedef Documentation

◆ Id

Definition at line 30 of file ServiceGroups.h.

◆ Pointer

Definition at line 27 of file ServiceGroups.h.

◆ Pos

typedef unsigned int Adaptation::ServiceGroup::Pos

Definition at line 31 of file ServiceGroups.h.

◆ Store

Definition at line 29 of file ServiceGroups.h.

Constructor & Destructor Documentation

◆ ServiceChain()

Adaptation::ServiceChain::ServiceChain ( )

Definition at line 222 of file ServiceGroups.cc.

Member Function Documentation

◆ advance()

virtual bool Adaptation::ServiceChain::advance ( Pos pos) const

Definition at line 106 of file ServiceGroups.h.

References Adaptation::ServiceGroup::has().

◆ finalize()

◆ findLink()

bool Adaptation::ServiceGroup::findLink ( const ServiceFilter filter,
Pos pos 
) const

◆ findReplacement()

bool Adaptation::ServiceGroup::findReplacement ( const ServiceFilter filter,
Pos pos 
) const

find next to try after failure, starting with pos

Definition at line 194 of file ServiceGroups.cc.

References Adaptation::ServiceGroup::allServicesSame, and Adaptation::ServiceGroup::findService().

Referenced by Adaptation::ServiceGroup::has().

◆ has()

◆ parse()

void Adaptation::ServiceGroup::parse ( )

◆ replace()

virtual bool Adaptation::ServiceChain::replace ( Pos ) const

Definition at line 105 of file ServiceGroups.h.

◆ wants()

bool Adaptation::ServiceGroup::wants ( const ServiceFilter filter) const
: optimize to cut search short instead of looking for the best svc

Definition at line 134 of file ServiceGroups.cc.

References Adaptation::ServiceGroup::findService().

Member Data Documentation

◆ allServicesSame

const bool Adaptation::ServiceGroup::allServicesSame

◆ id

Id Adaptation::ServiceGroup::id

Definition at line 66 of file ServiceGroups.h.

Referenced by Adaptation::DynamicServiceChain::Split().

◆ kind

◆ method

◆ point

◆ removedServices

Store Adaptation::ServiceGroup::removedServices

Definition at line 68 of file ServiceGroups.h.

Referenced by Adaptation::ServiceGroup::finalize().

◆ services

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






Web Site Translations