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

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, 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 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 307 of file PolicyFactory.cc.

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

Here is the call graph for this function:

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

Handle 'hey's directed at the library.

Parameters:
orb Pointer to the ORB.
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 44 of file PolicyFactory.cc.

References HeyParser::CREATE_PROPERTY, HeyParser::GET_SUITES, HeyPropertyInfo::HPI_NULL, HeyParser::LIST_PROPERTIES, orb, HeyParser::popProperty(), require, HeyParser::what(), and HeyParser::withValue().

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 104 of file PolicyFactory.cc.

References BrokerPolicies::StrictPolicy::CPU_ALLOCATION_MAX, BrokerPolicies::StrictPolicy::CPU_ALLOCATION_MIN, HeyParser::GET_PROPERTY, HeyParser::GET_SUITES, HeyPropertyInfo::HPI_NULL, HeyParser::LIST_PROPERTIES, orb, HeyParser::popProperty(), ManagerImpl::ResolveTask(), HeyParser::SET_PROPERTY, HeyParser::to(), HeyParser::what(), and HeyParser::who().

Referenced by FACTORY_METHOD_SYMBOL().

Here is the call graph for this function:


Generated on Mon Dec 1 16:29:45 2003 for CPU Broker by doxygen 1.3.4