ttg 1.0.0
Template Task Graph (TTG): flowgraph-based programming model for high-performance distributed-memory algorithms
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ttg::base::World< WorldImplT > Class Template Reference

#include <world.h>

Public Member Functions

 World (void)
 
 World (std::shared_ptr< ttg::base::WorldImplBase > world_impl)
 
 World (const World &other)=default
 
 World (World &&other)=default
 
 ~World ()
 
Worldoperator= (const World &other)=default
 
Worldoperator= (World &&other)=default
 
int size () const
 
int rank () const
 
bool is_valid (void) const
 
virtual void final_task ()
 
WorldImplT & impl (void)
 
const WorldImplT & impl (void) const
 
void profile_on ()
 
void profile_off ()
 
bool profiling ()
 
void dag_on (const std::string &filename)
 
void dag_off ()
 
bool dag_profiling ()
 

Detailed Description

template<typename WorldImplT>
class ttg::base::World< WorldImplT >

Slim wrapper around World implementation objects This wrapper should be passed by value, not by reference, to avoid lifetime issues of the world object.

Definition at line 175 of file world.h.

Constructor & Destructor Documentation

◆ World() [1/4]

template<typename WorldImplT >
ttg::base::World< WorldImplT >::World ( void  )
inline

Definition at line 180 of file world.h.

◆ World() [2/4]

template<typename WorldImplT >
ttg::base::World< WorldImplT >::World ( std::shared_ptr< ttg::base::WorldImplBase world_impl)
inline

Definition at line 182 of file world.h.

◆ World() [3/4]

template<typename WorldImplT >
ttg::base::World< WorldImplT >::World ( const World< WorldImplT > &  other)
default

◆ World() [4/4]

template<typename WorldImplT >
ttg::base::World< WorldImplT >::World ( World< WorldImplT > &&  other)
default

◆ ~World()

template<typename WorldImplT >
ttg::base::World< WorldImplT >::~World ( )
inline

Definition at line 190 of file world.h.

Member Function Documentation

◆ dag_off()

template<typename WorldImplT >
void ttg::base::World< WorldImplT >::dag_off ( )
inline

Definition at line 232 of file world.h.

◆ dag_on()

template<typename WorldImplT >
void ttg::base::World< WorldImplT >::dag_on ( const std::string &  filename)
inline

Definition at line 231 of file world.h.

◆ dag_profiling()

template<typename WorldImplT >
bool ttg::base::World< WorldImplT >::dag_profiling ( )
inline

Definition at line 233 of file world.h.

◆ final_task()

template<typename WorldImplT >
virtual void ttg::base::World< WorldImplT >::final_task ( )
inlinevirtual

Definition at line 214 of file world.h.

◆ impl() [1/2]

template<typename WorldImplT >
WorldImplT & ttg::base::World< WorldImplT >::impl ( void  )
inline

Definition at line 217 of file world.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ impl() [2/2]

template<typename WorldImplT >
const WorldImplT & ttg::base::World< WorldImplT >::impl ( void  ) const
inline

Definition at line 222 of file world.h.

Here is the call graph for this function:

◆ is_valid()

template<typename WorldImplT >
bool ttg::base::World< WorldImplT >::is_valid ( void  ) const
inline

Definition at line 212 of file world.h.

Here is the caller graph for this function:

◆ operator=() [1/2]

template<typename WorldImplT >
World & ttg::base::World< WorldImplT >::operator= ( const World< WorldImplT > &  other)
default

◆ operator=() [2/2]

template<typename WorldImplT >
World & ttg::base::World< WorldImplT >::operator= ( World< WorldImplT > &&  other)
default

◆ profile_off()

template<typename WorldImplT >
void ttg::base::World< WorldImplT >::profile_off ( )
inline

Definition at line 228 of file world.h.

◆ profile_on()

template<typename WorldImplT >
void ttg::base::World< WorldImplT >::profile_on ( )
inline

Definition at line 227 of file world.h.

◆ profiling()

template<typename WorldImplT >
bool ttg::base::World< WorldImplT >::profiling ( )
inline

Definition at line 229 of file world.h.

◆ rank()

template<typename WorldImplT >
int ttg::base::World< WorldImplT >::rank ( ) const
inline

Definition at line 205 of file world.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ size()

template<typename WorldImplT >
int ttg::base::World< WorldImplT >::size ( ) const
inline

Definition at line 199 of file world.h.

Here is the call graph for this function:

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