#include <Parse_Node.h>
Inheritance diagram for ACE_Location_Node:


Public Methods | |
| ACE_Location_Node (void) | |
| virtual void * | symbol (int &yyerrno, ACE_Service_Object_Exterminator *=0)=0 |
| virtual void | set_symbol (void *h) |
| const ACE_DLL & | dll (void) |
| const ACE_TCHAR * | pathname (void) const |
| void | pathname (const ACE_TCHAR *h) |
| int | dispose (void) const |
| virtual | ~ACE_Location_Node (void) |
| void | dump (void) const |
| Dump the state of an object. More... | |
Public Attributes | |
| ACE_ALLOC_HOOK_DECLARE | |
| Declare the dynamic allocation hooks. More... | |
Protected Methods | |
| int | open_dll (int &yyerrno) |
Protected Attributes | |
| const ACE_TCHAR * | pathname_ |
| Pathname to the shared library we are working on. More... | |
| int | must_delete_ |
| ACE_DLL | dll_ |
| The open shared library. More... | |
| void * | symbol_ |
| Symbol that we've obtained from the shared library. More... | |
Definition at line 223 of file Parse_Node.h.
|
|
Definition at line 336 of file Parse_Node.cpp. References ACE_TRACE.
|
|
|
Definition at line 343 of file Parse_Node.cpp. References ACE_TRACE.
00344 {
00345 ACE_TRACE ("ACE_Location_Node::~ACE_Location_Node");
00346 }
|
|
|
Definition at line 376 of file Parse_Node.cpp. References ACE_TRACE, and must_delete_. Referenced by ace_yyparse.
00377 {
00378 ACE_TRACE ("ACE_Location_Node::dispose");
00379 return this->must_delete_;
00380 }
|
|
|
Definition at line 349 of file Parse_Node.cpp. References dll_.
00350 {
00351 return this->dll_;
00352 }
|
|
|
Dump the state of an object.
Reimplemented in ACE_Object_Node. Definition at line 331 of file Parse_Node.cpp. References ACE_TRACE.
00332 {
00333 ACE_TRACE ("ACE_Location_Node::dump");
00334 }
|
|
|
Definition at line 383 of file Parse_Node.cpp. References ACE_ERROR, ACE_LIB_TEXT, ACE_TCHAR, ACE_TRACE, dll_, ACE_DLL::error, LM_ERROR, and ACE_DLL::open. Referenced by ACE_Function_Node::symbol, and ACE_Object_Node::symbol.
00384 {
00385 ACE_TRACE ("ACE_Location_Node::open_dll");
00386
00387 if (-1 == this->dll_.open (this->pathname ()))
00388 {
00389 yyerrno++;
00390
00391 ACE_TCHAR *errmsg = this->dll_.error ();
00392 ACE_ERROR ((LM_ERROR,
00393 ACE_LIB_TEXT ("ACE_DLL::open failed for %s: %s\n"),
00394 this->pathname (),
00395 errmsg ? errmsg : ACE_LIB_TEXT ("no error reported")));
00396 return -1;
00397 }
00398
00399 return 0;
00400
00401 }
|
|
|
Definition at line 362 of file Parse_Node.cpp. References ACE_TCHAR, ACE_TRACE, and pathname_.
|
|
|
Definition at line 355 of file Parse_Node.cpp. References ACE_TRACE, and pathname_. Referenced by ACE_Function_Node::ACE_Function_Node, and ACE_Object_Node::ACE_Object_Node.
|
|
|
Definition at line 369 of file Parse_Node.cpp. References ACE_TRACE, and symbol_.
|
|
||||||||||||
|
Implemented in ACE_Object_Node. Referenced by ace_yyparse. |
|
|
Declare the dynamic allocation hooks.
Reimplemented in ACE_Object_Node. Definition at line 241 of file Parse_Node.h. |
|
|
The open shared library.
Definition at line 257 of file Parse_Node.h. Referenced by dll, open_dll, ACE_Function_Node::symbol, and ACE_Object_Node::symbol. |
|
|
Flag indicating whether the Service_Object generated by this Location Node should be deleted or not (ACE_Service_Type::DELETE_OBJ.) Definition at line 254 of file Parse_Node.h. Referenced by ACE_Function_Node::ACE_Function_Node, ACE_Object_Node::ACE_Object_Node, ACE_Static_Function_Node::ACE_Static_Function_Node, and dispose. |
|
|
Pathname to the shared library we are working on.
Definition at line 247 of file Parse_Node.h. Referenced by pathname, and ACE_Function_Node::~ACE_Function_Node. |
|
|
Symbol that we've obtained from the shared library.
Definition at line 260 of file Parse_Node.h. Referenced by set_symbol, ACE_Static_Function_Node::symbol, ACE_Function_Node::symbol, and ACE_Object_Node::symbol. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002