| 
    Jpp
    test_elongated_shower_pde
    
   the software that should make you happy 
   | 
 
Auxiliary base class for function adaptor. More...
#include <JFunctionAdaptor.hh>
  
 Public Member Functions | |
| virtual | ~JFunctionAdaptorHelper () | 
| Virtual destructor.  More... | |
| bool | is_valid () const | 
| Check validity of function.  More... | |
| void | reset () | 
| Reset function adaptor helper.  More... | |
| void | set (__pF__ pf) | 
| Set function.  More... | |
| void | get (const char *symbol) | 
| Get function with given name according to specific protocol.  More... | |
| bool | is_open () const | 
| Check if shared library file is open.  More... | |
| void | open (const char *file_name) | 
| Open file.  More... | |
| void | close () | 
| Close file.  More... | |
| void | load (const std::string &file_name, const std::string &symbol) | 
| Load function from shared library.  More... | |
| void | load (const std::string &buffer) | 
| Load function from shared library.  More... | |
| void | initialise () | 
| Initialise counter.  More... | |
| void | attach (const JSharedCounter &object) | 
| Attach this counter to given shared counter object.  More... | |
| bool | detach () | 
| Detach.  More... | |
| const int | getCount () | 
| Get count.  More... | |
Static Public Attributes | |
| static const char | SEPARATOR = ':' | 
| Separation character between library file name and function name.  More... | |
Protected Member Functions | |
| JFunctionAdaptorHelper () | |
| Default constructor.  More... | |
| JFunctionAdaptorHelper (__pF__ pf) | |
| Constructor.  More... | |
| JFunctionAdaptorHelper (const std::string &file_name, const std::string &symbol) | |
| Constructor.  More... | |
| JFunctionAdaptorHelper (const JFunctionAdaptorHelper &helper) | |
| Copy constructor.  More... | |
Protected Attributes | |
| void * | handle | 
| __pF__ | function | 
| int * | counter | 
Friends | |
| std::istream & | operator>> (std::istream &in, JFunctionAdaptorHelper &object) | 
| Read function adaptor helper from input stream.  More... | |
| std::ostream & | operator<< (std::ostream &out, const JFunctionAdaptorHelper &object) | 
| Write function adaptor helper to output stream.  More... | |
Auxiliary base class for function adaptor.
Note that the dynamic load library internally maintains link counts for the file handles.
Definition at line 33 of file JFunctionAdaptor.hh.
      
  | 
  inlinevirtual | 
Virtual destructor.
Definition at line 45 of file JFunctionAdaptor.hh.
      
  | 
  inlineprotected | 
      
  | 
  inlineprotected | 
      
  | 
  inlineprotected | 
Constructor.
| file_name | file name | 
| symbol | function name | 
Definition at line 260 of file JFunctionAdaptor.hh.
      
  | 
  inlineprotected | 
Copy constructor.
| helper | helper | 
Definition at line 274 of file JFunctionAdaptor.hh.
      
  | 
  inline | 
Check validity of function.
Definition at line 56 of file JFunctionAdaptor.hh.
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
Get function with given name according to specific protocol.
| symbol | function name | 
Definition at line 93 of file JFunctionAdaptor.hh.
      
  | 
  inline | 
Check if shared library file is open.
Definition at line 121 of file JFunctionAdaptor.hh.
      
  | 
  inline | 
Open file.
| file_name | file name | 
Definition at line 132 of file JFunctionAdaptor.hh.
      
  | 
  inline | 
Close file.
Note that the file should remain open as long as the library function is used.
Definition at line 151 of file JFunctionAdaptor.hh.
      
  | 
  inline | 
Load function from shared library.
| file_name | file name | 
| symbol | function name | 
Definition at line 168 of file JFunctionAdaptor.hh.
      
  | 
  inline | 
Load function from shared library.
The input buffer should consist of <file name>SEPARATOR<symbol>.
| buffer | input | 
Definition at line 183 of file JFunctionAdaptor.hh.
      
  | 
  inlineinherited | 
Initialise counter.
Definition at line 33 of file JSharedCounter.hh.
      
  | 
  inlineinherited | 
Attach this counter to given shared counter object.
| object | shared counter | 
Definition at line 46 of file JSharedCounter.hh.
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
      
  | 
  friend | 
Read function adaptor helper from input stream.
| in | input stream | 
| object | function adaptor helper | 
Definition at line 207 of file JFunctionAdaptor.hh.
      
  | 
  friend | 
Write function adaptor helper to output stream.
| out | output stream | 
| object | function adaptor helper | 
Definition at line 228 of file JFunctionAdaptor.hh.
      
  | 
  static | 
Separation character between library file name and function name.
Definition at line 39 of file JFunctionAdaptor.hh.
      
  | 
  protected | 
Definition at line 283 of file JFunctionAdaptor.hh.
      
  | 
  protected | 
Definition at line 284 of file JFunctionAdaptor.hh.
      
  | 
  protectedinherited | 
Definition at line 94 of file JSharedCounter.hh.
 1.8.5