| 
    Jpp
    18.0.0-rc.4
    
   the software that should make you happy 
   | 
 
Function adaptor. More...
#include <JFunctionAdaptor.hh>
  
 Public Types | |
| typedef JReturn_t(* | pF )(JFirst_t, JSecond_t) | 
| Type definition of method.  More... | |
Public Member Functions | |
| JFunctionAdaptor () | |
| Default constructor.  More... | |
| JFunctionAdaptor (pF pf) | |
| Constructor.  More... | |
| JFunctionAdaptor (const std::string &file_name, const std::string &symbol) | |
| Constructor.  More... | |
| JReturn_t | operator() (JFirst_t first, JSecond_t second) const | 
| Function operation.  More... | |
| bool | is_valid () const | 
| Check validity of function.  More... | |
| void | reset () | 
| Reset function adaptor helper.  More... | |
| void | set (JReturn_t(*)(JFirst_t, JSecond_t)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 Attributes | |
| void * | handle | 
| JReturn_t(*)(JFirst_t, JSecond_t) | function | 
| int * | counter | 
Function adaptor.
Function adaptor for function with two arguments.
Definition at line 292 of file JFunctionAdaptor.hh.
| typedef JReturn_t(* JEEP::JFunctionAdaptor< JReturn_t, JFirst_t, JSecond_t >::pF)(JFirst_t, JSecond_t) | 
Type definition of method.
Definition at line 361 of file JFunctionAdaptor.hh.
      
  | 
  inline | 
Default constructor.
Definition at line 367 of file JFunctionAdaptor.hh.
      
  | 
  inline | 
Constructor.
| pf | pointer to function | 
Definition at line 377 of file JFunctionAdaptor.hh.
      
  | 
  inline | 
Constructor.
| file_name | file name | 
| symbol | function name | 
Definition at line 388 of file JFunctionAdaptor.hh.
      
  | 
  inline | 
Function operation.
| first | first argument | 
| second | second argument | 
Definition at line 401 of file JFunctionAdaptor.hh.
      
  | 
  inlineinherited | 
Check validity of function.
Definition at line 56 of file JFunctionAdaptor.hh.
      
  | 
  inlineinherited | 
Reset function adaptor helper.
Definition at line 65 of file JFunctionAdaptor.hh.
      
  | 
  inlineinherited | 
Set function.
| pf | pointer to function | 
Definition at line 80 of file JFunctionAdaptor.hh.
      
  | 
  inlineinherited | 
Get function with given name according to specific protocol.
| symbol | function name | 
Definition at line 93 of file JFunctionAdaptor.hh.
      
  | 
  inlineinherited | 
Check if shared library file is open.
Definition at line 121 of file JFunctionAdaptor.hh.
      
  | 
  inlineinherited | 
Open file.
| file_name | file name | 
Definition at line 132 of file JFunctionAdaptor.hh.
      
  | 
  inlineinherited | 
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.
      
  | 
  inlineinherited | 
Load function from shared library.
| file_name | file name | 
| symbol | function name | 
Definition at line 168 of file JFunctionAdaptor.hh.
      
  | 
  inlineinherited | 
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 | 
      
  | 
  staticinherited | 
Separation character between library file name and function name.
Definition at line 39 of file JFunctionAdaptor.hh.
      
  | 
  protectedinherited | 
Definition at line 283 of file JFunctionAdaptor.hh.
      
  | 
  protectedinherited | 
Definition at line 284 of file JFunctionAdaptor.hh.
      
  | 
  protectedinherited | 
Definition at line 94 of file JSharedCounter.hh.
 1.8.5