ivutils
Loading...
Searching...
No Matches
apComponent Class Reference

class that controls general behaviour of all components of the library. More...

#include <component.h>

Inheritance diagram for apComponent:
Collaboration diagram for apComponent:

Public Member Functions

void InitComponent (const apComponent &other, const std::vector< int > &p_id=std::vector< int >())
 borrow settings from other component
 
virtual void DumpOther (const apComponent *comp, bool lim=false)
 dump some component using dumper
 
virtual void DumpOther (int flags, const apComponent *comp, bool lim=false)
 dump some component using dumper and checking bit flags
 
virtual void Dump (bool lim=false)
 dump itself using dumper
 

Protected Types

typedef std::set< apComponent * > registry_t
 name used in dump and runlog files
 

Protected Member Functions

virtual void AddDefaultTimers (const std::vector< int > &p_id)
 connect internal timers hierarchy from log to external timers p_id
 
void start (int id)
 start timers
 
void stop (int id, int force=0)
 stop timers
 

Protected Attributes

int ut
 if information about this object will be dumped
 
std::string name
 if timers will be used
 

Detailed Description

class that controls general behaviour of all components of the library.

it has pointers to global objects of classes apConfig (to use some global settings), apDump (to dump information about itself), apRunLog (to measure its working time using timers), apMPIComm (to use MPI commutator)


The documentation for this class was generated from the following file: