

Additional Inherited Members | |
Public Types inherited from Roccom_base | |
| typedef Window::Pointer_descriptor | Pointer_descriptor |
| enum | { FPTR_NONE =0, FPTR_INSERT =1, FPTR_APPEND =2 } |
Public Member Functions inherited from Roccom_base | |
| void | load_module (const std::string &lname, const std::string &wname) throw (int) |
| Load a module. More... | |
| void | unload_module (const std::string &lname, const std::string &wname, int dodl=1) throw (int) |
| Unload a module. More... | |
| void | new_window (const std::string &wname, MPI_Comm comm) throw (int) |
| Creates a window with given name. More... | |
| void | delete_window (const std::string &wname) throw (int) |
| Deletes a window with given name. More... | |
| void | window_init_done (const std::string &wname, bool panechanged=true) throw (int) |
| Marks the end of the registration of a window. More... | |
| void | delete_pane (const std::string &wname, const int pid) throw (int) |
| Deletes a pane and its associated data. More... | |
| void | new_attribute (const std::string &wa, const char loc, const int data_type, int size, const std::string &unit) throw (int) |
| Creates a new attribute for a window. More... | |
| void | delete_attribute (const std::string &wa) throw (int) |
| Delete an existing attribute from a window. More... | |
| void | set_size (const std::string &wa_str, int pane_id, int nitems, int ng=0) throw (int) |
| Set the sizes of an attribute. More... | |
| void | set_object (const std::string &wa, const int pane_id, void *obj_addr, void *casted_obj) throw (int) |
| Associates an object with a specific window. More... | |
| void | get_object (const std::string &wa, const int pane_id, void **ptr) throw (int) |
| Associates an object with a specific window. More... | |
| void | set_array (const std::string &wa, const int pane_id, void *addr, int strd=0, int cap=0, bool is_const=false) throw (int) |
| Associates an array with an attribute for a specific pane. More... | |
| template<class T > | |
| void | set_bounds (const std::string &wa, const int pane_id, T lbnd, T ubnd) throw (int) |
| template<class T > | |
| void | set_bounds (const std::string &wa, const int pane_id, const T *lbnd, const T *ubnd) throw (int) |
| void | set_bounds (const std::string &wa, const int pane_id, const void *lbnd, const void *ubnd) throw (int) |
| void | get_bounds (const std::string &wa, const int pane_id, void *lbnd, void *ubnd) throw (int) |
| int | check_bounds (const std::string &wa, int pane_id) throw (int) |
| void | allocate_array (const std::string &wa, const int pane_id=0, void **addr=NULL, int strd=0, int cap=0) throw (int) |
| Allocate space for an attribute on a specific pane and return the address by setting addr. More... | |
| void | resize_array (const std::string &wa, const int pane_id=0, void **addr=NULL, int strd=-1, int cap=0) throw (int) |
| Resize an attribute on a specific pane and return the address by setting addr. More... | |
| void | append_array (const std::string &wa, const int pane_id, const void *val, int v_strd, int v_size) throw (int) |
| Append an array to the end of the attribute on a specific pane and return the new address by setting addr. More... | |
| void | use_attribute (const std::string &wname, const std::string &pwname, int withghost=1, const char *cndname=NULL, int val=0) throw (int) |
| Use the subset of panes of another window of which the given pane attribute has value val. More... | |
| void | clone_attribute (const std::string &wname, const std::string &pwname, int withghost=1, const char *cndname=NULL, int val=0) throw (int) |
| Clone the subset of panes of another window of which the given pane attribute has value val. More... | |
| void | copy_attribute (const std::string &wname, const std::string &pwname, int withghost=1, const char *cndname=NULL, int val=0) throw (int) |
| Copy an attribute onto another. More... | |
| void | copy_attribute (int trg_hdl, int src_hdl, int withghost=1, int ptn_hdl=0, int val=0) throw (int) |
| Copy an attribute onto another. More... | |
| void | deallocate_array (const std::string &wa, const int pid=0) throw (int) |
| Deallocate space for an attribute in a pane, asuming the memory was allocated allocate_mesh or allocate_attribute. More... | |
| void | get_attribute (const std::string &wa_str, char *loc, int *type, int *size, std::string *unit) throw (int) |
| Information retrieval Get the information about an attribute. More... | |
| void | get_size (const std::string &wa_str, int pane_id, int *size, int *ng=0) throw (int) |
| Get the sizes of an attribute. The opposite of set_size. More... | |
| int | get_status (const std::string &wa_str, int pane_id) throw (int) |
| Get the status of an attribute. More... | |
| void | get_array (const std::string &wa, const int pane_id, void **addr, int *strd=NULL, int *cap=0, bool is_const=false) throw (int) |
| Get the address for an attribute on a specific pane. More... | |
| void | get_array (const std::string &wa, const int pane_id, Pointer_descriptor &addr, int *strd=NULL, int *cap=0, bool is_const=false) throw (int) |
| Get the address for an attribute on a specific pane. More... | |
| void | copy_array (const std::string &wa, const int pane_id, void *val, int v_strd=0, int v_size=0, int offset=0) throw (int) |
| Copy an array from an attribute on a specific pane into a given buffer. More... | |
| void | set_f90pointer (const std::string &waname, void *ptr, Func_ptr f, long int l) throw (int) |
| void | get_f90pointer (const std::string &waname, void *ptr, Func_ptr f, long int l) throw (int) |
| MPI_Comm | get_communicator (const std::string &wname) throw (int) |
| void | get_windows (std::vector< std::string > &) throw (int) |
| Obtain a list of all window names. More... | |
| void | get_modules (std::vector< std::string > &) throw (int) |
| Obtain a list of all module names. More... | |
| void | get_panes (const std::string &wname, std::vector< int > &paneids_vec, int rank=-2, int **pane_ids=NULL) throw (int) |
| Obtain the panes of a given window on a specific process. More... | |
| void | get_attributes (const std::string &wname, int *na, std::string &str, char **names=NULL) throw (int) |
| Obtain the user-defined attributes of the given window. More... | |
| void | get_connectivities (const std::string &wname, int pane_id, int *nc, std::string &str, char **names=NULL) throw (int) |
| Obtain the connectivity tables of a pane of the given window. More... | |
| void | get_parent (const std::string &waname, int pane_id, std::string &str, char **name=NULL) throw (int) |
| Obtain the parent attribute's name of a given attribute on a given pane. More... | |
| void | free_buffer (int **buf) |
| void | free_buffer (char **buf) |
| int | get_window_handle (const std::string &wname) throw (int) |
| Window * | get_window_object (int hdl) throw (int) |
| const Window * | get_window_object (int hdl) const throw (int) |
| Window * | get_window_object (const std::string &wname) throw (int) |
| const Window * | get_window_object (const std::string &wname) const throw (int) |
| int | get_attribute_handle (const std::string &waname) throw (int) |
| int | get_attribute_handle_const (const std::string &waname) throw (int) |
| int | get_function_handle (const std::string &wfname) throw (int) |
| void | set_function (const std::string &wf, Func_ptr ptr, const std::string &intents, const COM_Type *types, bool ff=false) throw (int) |
| Registers a function to the window. More... | |
| void | set_member_function (const std::string &wf, Func_ptr ptr, const std::string &wa, const std::string &intents, const COM_Type *types, bool ff=false) throw (int) |
| void | set_member_function (const std::string &wf, Member_func_ptr ptr, const std::string &wa, const std::string &intents, const COM_Type *types, bool ff=false) throw (int) |
| int | get_num_arguments (const std::string &wf) throw (COM_exception) |
| Get the number of arguments of a given function "window.function". More... | |
| int | get_num_arguments (const int wf) throw (COM_exception) |
| Get the number of arguments of a given function from its handle. More... | |
| void | call_function (int wf, int count, void **args, const int *lens=NULL, bool from_c=true) throw (int) |
| Invoke a function with given arguments. More... | |
| void | icall_function (int wf, int count, void *args[], int *reqid, const int *lens=NULL) throw (int) |
| Nonblockingly invoke a function with given arguments. More... | |
| void | wait (int) |
| Wait for the completion of a nonblocking call. More... | |
| int | test (int) |
| Test whether a nonblocking call has finished. More... | |
| int | get_verbose () const |
| Determines whether verbose is on. More... | |
| int | get_debug () const |
| Determines whether verbose is on. More... | |
| void | set_verbose (int v) |
| Changes the verbose setting. More... | |
| void | set_debug (bool debug) |
| Turns on debuging messages. More... | |
| void | set_function_verbose (int i, int level) throw (int) |
| void | set_profiling (int i) |
| This subroutine turns on (or off) profiling if i==1 (or ==0). More... | |
| void | set_profiling_barrier (int hdl, MPI_Comm comm) |
| void | print_profile (const std::string &fname, const std::string &header) |
| Roccom_base (int *argc, char ***argv) throw ( COM_exception, int) | |
| Constructor. More... | |
| ~Roccom_base () | |
| Destructor. More... | |
| int | get_error_code () const |
| Get the error code. More... | |
| void | turn_on_exception () |
| void | turn_off_exception () |
| int | f90ptr_treat () const |
Static Public Member Functions inherited from Roccom_base | |
| static void | init (int *argc, char ***argv) throw (int) |
| static void | finalize () throw (int) |
| static void | abort (int ierr) |
| static void | set_default_communicator (MPI_Comm comm) |
| Set the default communicator of Roccom. More... | |
| static MPI_Comm | get_default_communicator () |
| Get the default communicator of Roccom. More... | |
| static void | set_roccom (Roccom_base *) |
| Set the Roccom pointer to the given object. More... | |
| static Roccom_base * | get_roccom () |
| Get a pointer to the Roccom object. More... | |
| static bool | initialized () |
| Checks whether Roccom has been initialized. More... | |
| static int | get_sizeof (COM_Type type, int count=1) |
| Gets the size of the data type given by its index. More... | |
Protected Member Functions inherited from Roccom_base | |
| template<class T > | |
| void | set_member_function_helper (const std::string &wf, T ptr, const std::string &wa, const std::string &intents, const COM_Type *types, bool ff=false) throw (int) |
| std::pair< int, int > | get_f90pntoffsets (const Attribute *a) |
| Roccom_base () | |
| Window & | get_window (const std::string &wname) throw (COM_exception) |
| Obtains a reference to the Window object from its name. More... | |
| const Window & | get_window (const std::string &wname) const throw (COM_exception) |
| Obtains a constant reference to the Window object from its name. More... | |
| Attribute & | get_attribute (const int) throw (COM_exception) |
| Obtains a reference to an attribute from its handle. More... | |
| const Attribute & | get_attribute (const int) const throw (COM_exception) |
| Obtains a const reference to an attribute from its handle. More... | |
| Function & | get_function (const int) throw (COM_exception) |
| Obtains a reference to an attribute from its handle. More... | |
| const Function & | get_function (const int) const throw (COM_exception) |
| Obtains a const reference to an attribute from its handle. More... | |
| int | split_name (const std::string &wa, std::string &wname, std::string &aname, bool tothrow=true) throw (COM_exception) |
| Extracts the window and attribute names from "window.attribute". More... | |
| void | proc_exception (const COM_exception &, const std::string &) throw ( int) |
Protected Attributes inherited from Roccom_base | |
| Module_map | _module_map |
| Window_map | _window_map |
| Attribute_map | _attr_map |
| Function_map | _func_map |
| std::string | _libdir |
| Library directory. More... | |
| std::vector< double > | _timer |
| Timers for function calls. More... | |
| int | _depth |
| Depth of procedure calls. More... | |
| int | _verbose |
| Indicates whether verbose is on. More... | |
| int | _verb1 |
| Indicates whether to print detailed information. More... | |
| bool | _debug |
| Indicated whether debug mode is on. More... | |
| MPI_Comm | _comm |
| Default communicator of Roccom. More... | |
| bool | _mpi_initialized |
| Indicates whether MPI was initialized by Roccom. More... | |
| int | _errorcode |
| Error code. More... | |
| bool | _exception_on |
| Indicates whether Roccom should throw exception. More... | |
| bool | _profile_on |
| Indicates whether should profile. More... | |
| int | _f90_mangling |
| Encoding name mangling. More... | |
| int | _f90ptr_treat |
| Treatement of F90 pointers. More... | |
| int | _cppobj_casting |
| Treatement of C++ objects. More... | |
Static Protected Attributes inherited from Roccom_base | |
| static Roccom_base * | roccom_base =NULL |
Definition at line 114 of file roccom_f.C.