ThrowOnNomen Class Reference

Enforce connections for nomens. More...

#include <ConnectionStrategy.hh>

Inheritance diagram for ThrowOnNomen:

ConnStrat List of all members.

Public Member Functions

 ThrowOnNomen (const std::vector< string > nomens)
virtual void checkConns (const std::vector< DeviceDescriptor > &dds, const std::vector< int > &idxs) const throw (AccDevException)

Classes

struct  TestNomen

Detailed Description

Enforce connections for nomens.

Enforce connections for devices of DeviceAccess::Subscription::Description::SubscriptionDescriptor::devDesc with nomenclatures given in ctor-argument.


Member Function Documentation

virtual void checkConns ( const std::vector< DeviceDescriptor > &  dds,
const std::vector< int > &  idxs 
) const throw (AccDevException) [inline, virtual]

Implements the connection test rule. This method is provided with DeviceAccess::Subscription::Description::SubscriptionDescriptor::devDesc and a list of its indices of successfully connected devices.

Parameters:
dds 
idxs 
Returns:
On successful test.
Exceptions:
NOTCONNECTED on unsuccessful test.

Implements ConnStrat.


The documentation for this class was generated from the following file:
Generated on Wed Mar 28 11:50:07 2012 for Subscription Service by  doxygen 1.4.7