Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

PolicyFactory.cc File Reference


Detailed Description

The shared library interface for libpolicies.

Definition in file PolicyFactory.cc.

Include dependency graph for PolicyFactory.cc:

Include dependency graph

Go to the source code of this file.

Functions

int pfHey (CORBA::ORB_ptr orb, PortableServer::POA_ptr poa, HeyParser &hp, ostream &out, ostream &err)
 Handle 'hey's directed at the library.

int pfStrictPolicyHey (CORBA::ORB_ptr orb, HeyParser &hp)
 Handle 'hey's directed at a StrictPolicy object.

int pfWeightedPolicyHey (CORBA::ORB_ptr orb, HeyParser &hp)
 Handle 'hey's directed at a WeightedPolicy object.

int pfPartitionPolicyHey (CORBA::ORB_ptr orb, HeyParser &hp)
 Handle 'hey's directed at a PartitionPolicy object.

int FACTORY_METHOD_SYMBOL (factory_library_op_t op, int tag, va_list args)
 The primary library function.


Function Documentation

int FACTORY_METHOD_SYMBOL factory_library_op_t  op,
int  tag,
va_list  args
 

The primary library function.

This function provides a generic interface to the capabilities of a shared library.

Parameters:
op The sub-operation to execute.
tag The first tag in the tag list.
args The remaining tags in the tag list.
Returns:
Zero if the operation succeeded, an errno value otherwise.

Definition at line 832 of file PolicyFactory.cc.

References FLO_HEY, FLO_QUERY, FMA_HeyParser, FMA_HeyServerHint, FMA_ORB, FMA_POA, FMA_StandardError, FMA_StandardOut, FMA_TAG_DONE, pfHey(), pfPartitionPolicyHey(), pfStrictPolicyHey(), and pfWeightedPolicyHey().

Here is the call graph for this function:

int pfHey CORBA::ORB_ptr  orb,
PortableServer::POA_ptr  poa,
HeyParser hp,
ostream &  out,
ostream &  err
[static]
 

Handle 'hey's directed at the library.

Parameters:
orb Pointer to the ORB.
poa The POA to use when activating objects.
hp The HeyParser that describes the action to take.
out Standard out.
err Standard error.
Returns:
Zero on success, an errno value otherwise.

Definition at line 47 of file PolicyFactory.cc.

References HeyParser::popProperty(), require, HeyParser::what(), and HeyParser::withValue().

Referenced by FACTORY_METHOD_SYMBOL().

Here is the call graph for this function:

int pfPartitionPolicyHey CORBA::ORB_ptr  orb,
HeyParser hp
[static]
 

Handle 'hey's directed at a PartitionPolicy object.

Parameters:
orb Pointer to the ORB.
hp The HeyParser that describes the action to take.
Returns:
Zero on success, an errno value otherwise.

Definition at line 599 of file PolicyFactory.cc.

References HeyParser::popProperty(), ManagerImpl::ResolveTask(), HeyParser::to(), HeyParser::what(), and HeyParser::who().

Referenced by FACTORY_METHOD_SYMBOL().

Here is the call graph for this function:

int pfStrictPolicyHey CORBA::ORB_ptr  orb,
HeyParser hp
[static]
 

Handle 'hey's directed at a StrictPolicy object.

Parameters:
orb Pointer to the ORB.
hp The HeyParser that describes the action to take.
Returns:
Zero on success, an errno value otherwise.

Definition at line 177 of file PolicyFactory.cc.

References HeyParser::popProperty(), ManagerImpl::ResolveTask(), HeyParser::to(), HeyParser::what(), and HeyParser::who().

Referenced by FACTORY_METHOD_SYMBOL().

Here is the call graph for this function:

int pfWeightedPolicyHey CORBA::ORB_ptr  orb,
HeyParser hp
[static]
 

Handle 'hey's directed at a WeightedPolicy object.

Parameters:
orb Pointer to the ORB.
hp The HeyParser that describes the action to take.
Returns:
Zero on success, an errno value otherwise.

Definition at line 388 of file PolicyFactory.cc.

References HeyParser::popProperty(), ManagerImpl::ResolveTask(), HeyParser::to(), HeyParser::what(), and HeyParser::who().

Referenced by FACTORY_METHOD_SYMBOL().

Here is the call graph for this function:


Generated on Tue Jun 22 14:50:51 2004 for CPU Broker by doxygen 1.3.6