TAO_Link_Attributes_i Class Reference

This class stores, allows access to and modification of trader's link attributes. More...

#include <Trader.h>

Collaboration diagram for TAO_Link_Attributes_i:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TAO_Link_Attributes_i (TAO_Lockable &locker)
 ~TAO_Link_Attributes_i ()
CosTrading::FollowOption max_link_follow_policy (void) const
void max_link_follow_policy (CosTrading::FollowOption)

Private Attributes

TAO_Lockablelocker_
 A reference to the trader (needed for obtaining the lock.).

CosTrading::FollowOption max_link_follow_policy_

Detailed Description

This class stores, allows access to and modification of trader's link attributes.

Contains a reference to the trader from which it is used so it can use trader's lock.

Definition at line 205 of file Trader.h.


Constructor & Destructor Documentation

TAO_Link_Attributes_i::TAO_Link_Attributes_i TAO_Lockable locker  ) 
 

Definition at line 567 of file Trader.cpp.

00568   :locker_ (locker),
00569    max_link_follow_policy_ (CosTrading::local_only)
00570 {
00571 }

TAO_Link_Attributes_i::~TAO_Link_Attributes_i  ) 
 

Definition at line 573 of file Trader.cpp.

00574 {
00575 }


Member Function Documentation

void TAO_Link_Attributes_i::max_link_follow_policy CosTrading::FollowOption   ) 
 

Definition at line 586 of file Trader.cpp.

References ACE_WRITE_GUARD, and max_link_follow_policy_.

00587 {
00588   ACE_WRITE_GUARD (ACE_Lock, ace_mon, this->locker_.lock ());
00589   this->max_link_follow_policy_ = new_value;
00590 }

CosTrading::FollowOption TAO_Link_Attributes_i::max_link_follow_policy void   )  const
 

Definition at line 578 of file Trader.cpp.

References ACE_READ_GUARD_RETURN, and max_link_follow_policy_.

00579 {
00580   ACE_READ_GUARD_RETURN (ACE_Lock, ace_mon, this->locker_.lock (),
00581                          CosTrading::local_only);
00582   return this->max_link_follow_policy_;
00583 }


Member Data Documentation

TAO_Lockable& TAO_Link_Attributes_i::locker_ [private]
 

A reference to the trader (needed for obtaining the lock.).

Definition at line 221 of file Trader.h.

CosTrading::FollowOption TAO_Link_Attributes_i::max_link_follow_policy_ [private]
 

Definition at line 224 of file Trader.h.

Referenced by max_link_follow_policy().


The documentation for this class was generated from the following files:
Generated on Thu Nov 9 14:00:54 2006 for TAO_CosTrader by doxygen 1.3.6