torc::common::DeviceFamilyHelper Class Reference

Helper class to initialize device map and list information. More...

List of all members.

Protected Types

typedef std::string string
 Imported name.

Protected Member Functions

 DeviceFamilyHelper (DeviceNameMap &inDeviceMap, DeviceVector &inDeviceVector, DeviceVector &inCombinedDeviceVector)
 Protected constructor.
DeviceFamilyHelperoperator<< (const string &rhs)
 Convenience operator to retain the last device name inserted.
DeviceFamilyHelperoperator<< (enum EDevice rhs)
 Operator to propagate an enumeration and the previously inserted device name to the device map and lists.

Protected Attributes

DeviceNameMap & mDeviceMap
 The map from device name to device enumeration.
DeviceVector & mDeviceVector
 The list of devices for a particular family.
DeviceVector & mCombinedDeviceVector
 The list of devices for all families.

Static Protected Attributes

static string sDevice
 Convenience storage for the last inserted device name.

Friends

class Devices
 Only the Devices class has access to our internals.


Detailed Description

Helper class to initialize device map and list information.

Definition at line 48 of file Devices.cpp.


Member Typedef Documentation

typedef std::string torc::common::DeviceFamilyHelper::string [protected]

Imported name.

Definition at line 55 of file Devices.cpp.


Constructor & Destructor Documentation

torc::common::DeviceFamilyHelper::DeviceFamilyHelper ( DeviceNameMap &  inDeviceMap,
DeviceVector &  inDeviceVector,
DeviceVector &  inCombinedDeviceVector 
) [inline, protected]

Protected constructor.

Definition at line 67 of file Devices.cpp.


Member Function Documentation

DeviceFamilyHelper& torc::common::DeviceFamilyHelper::operator<< ( const string rhs  )  [inline, protected]

Convenience operator to retain the last device name inserted.

Definition at line 72 of file Devices.cpp.

DeviceFamilyHelper& torc::common::DeviceFamilyHelper::operator<< ( enum EDevice  rhs  )  [inline, protected]

Operator to propagate an enumeration and the previously inserted device name to the device map and lists.

Definition at line 75 of file Devices.cpp.


Friends And Related Function Documentation

friend class Devices [friend]

Only the Devices class has access to our internals.

Definition at line 52 of file Devices.cpp.


Member Data Documentation

The map from device name to device enumeration.

Definition at line 58 of file Devices.cpp.

The list of devices for a particular family.

Definition at line 60 of file Devices.cpp.

The list of devices for all families.

Definition at line 62 of file Devices.cpp.

std::string torc::common::DeviceFamilyHelper::sDevice [static, protected]

Convenience storage for the last inserted device name.

Definition at line 64 of file Devices.cpp.


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

Generated on Thu Oct 13 16:49:53 2011 for TORC by  doxygen 1.5.6