Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages
ACE_Svc_Conf_Param Class Reference
An instance of this object will be passed down to the yyparse() and yylex() functions.
More...
#include <Svc_Conf.h>
Collaboration diagram for ACE_Svc_Conf_Param:
[legend]List of all members.
Detailed Description
An instance of this object will be passed down to the yyparse() and yylex() functions.
This class retains the state for a given parse/scan. It primarily makes it possible to hold the static object lock in the scanner for as short a period of time as possible. The resulting finer grained locking prevents deadlocks from occuring when scanning a `svc.conf' file and activating an ACE_Task, for example, as a result of processing the directives in that file.
Member Enumeration Documentation
enum ACE_Svc_Conf_Param::SVC_CONF_PARAM_TYPE
|
|
|
- Enumeration values:
-
SVC_CONF_FILE |
The lexer will scan a file containing one or more directives. |
SVC_CONF_DIRECTIVE |
The lexer will scan a string containing a directive. |
|
Constructor & Destructor Documentation
ACE_Svc_Conf_Param::ACE_Svc_Conf_Param |
( |
FILE * |
file |
) |
[inline] |
|
ACE_Svc_Conf_Param::ACE_Svc_Conf_Param |
( |
const ACE_TCHAR * |
directive |
) |
[inline] |
|
ACE_Svc_Conf_Param::~ACE_Svc_Conf_Param |
( |
void |
|
) |
[inline] |
|
Member Data Documentation
ace_yy_buffer_state* ACE_Svc_Conf_Param::buffer
|
|
|
Lexer buffer that corresponds to the current Service Configurator file/direct scan. |
const ACE_TCHAR* ACE_Svc_Conf_Param::directive
|
|
|
String containing directive that will be scanned and parsed.
|
FILE* ACE_Svc_Conf_Param::file
|
|
|
FILE stream from which directives will be scanned and parsed.
|
|
Obstack used for efficient memory allocation when parsing/scanning a service configurator directive. |
union { ... } ACE_Svc_Conf_Param::source
|
|
|
Discriminant use to determine which union member to use.
|
int ACE_Svc_Conf_Param::yyerrno
|
|
|
Keeps track of the number of errors encountered so far.
|
int ACE_Svc_Conf_Param::yylineno
|
|
|
Keeps track of the current line number for error-handling routine.
|
The documentation for this class was generated from the following file:
- /export2/deucetmp/bala/release_try/ACE_wrappers/ace/Svc_Conf.h
Generated on Wed Jan 14 22:48:33 2004 for ACE by
1.2.18