TAO_Service_Offer_Iterator< LOCK_TYPE > Class Template ReferenceTAO_Service_Offer_Iterator iterates over the set of exported offers for a given type. Handily, it takes care of all the necessary locking, acquiring them in the constructor, and releasing them in the destructor. More...
Collaboration diagram for TAO_Service_Offer_Iterator< LOCK_TYPE >:
Detailed Descriptiontemplate<class LOCK_TYPE>
TAO_Service_Offer_Iterator iterates over the set of exported offers for a given type. Handily, it takes care of all the necessary locking, acquiring them in the constructor, and releasing them in the destructor. |
typedef TAO_Offer_Database<LOCK_TYPE> TAO_Service_Offer_Iterator< LOCK_TYPE >::Offer_Database |
TAO_Service_Offer_Iterator< LOCK_TYPE >::TAO_Service_Offer_Iterator | ( | const char * | type, | |
TAO_Offer_Database< LOCK_TYPE > & | offer_database | |||
) | [inline] |
TAO_Service_Offer_Iterator< LOCK_TYPE >::~TAO_Service_Offer_Iterator | ( | void | ) | [inline] |
Release all the locks acquired.
int TAO_Service_Offer_Iterator< LOCK_TYPE >::has_more_offers | ( | void | ) | [inline] |
Returns 1 if there are more offers, 0 otherwise.
CosTrading::OfferId TAO_Service_Offer_Iterator< LOCK_TYPE >::get_id | ( | void | ) | [inline] |
Get the id for the current offer.
CosTrading::Offer * TAO_Service_Offer_Iterator< LOCK_TYPE >::get_offer | ( | void | ) | [inline] |
Returns the next offer in the series.
void TAO_Service_Offer_Iterator< LOCK_TYPE >::next_offer | ( | void | ) | [inline] |
Advances the iterator 1.
TAO_Offer_Database<LOCK_TYPE>& TAO_Service_Offer_Iterator< LOCK_TYPE >::stm_ [private] |
Lock the top_level map.
LOCK_TYPE* TAO_Service_Offer_Iterator< LOCK_TYPE >::lock_ [private] |
Lock for the internal map.
TAO_Offer_Map::iterator* TAO_Service_Offer_Iterator< LOCK_TYPE >::offer_iter_ [private] |
Iterator over the actual offer map.
const char* TAO_Service_Offer_Iterator< LOCK_TYPE >::type_ [private] |
The name of the type. Used for constructing offer ids.