ttg::base::World< WorldImplT > Class Template Reference

Documentation

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 174 of file 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 ()
 

Constructor & Destructor Documentation

◆ World() [1/4]

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

Definition at line 179 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 181 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 189 of file world.h.

Member Function Documentation

◆ dag_off()

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

Definition at line 231 of file world.h.

◆ dag_on()

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

Definition at line 230 of file world.h.

◆ dag_profiling()

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

Definition at line 232 of file world.h.

◆ final_task()

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

Definition at line 213 of file world.h.

◆ impl() [1/2]

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

Definition at line 216 of file world.h.

◆ impl() [2/2]

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

Definition at line 221 of file world.h.

◆ is_valid()

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

Definition at line 211 of file world.h.

◆ 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 227 of file world.h.

◆ profile_on()

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

Definition at line 226 of file world.h.

◆ profiling()

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

Definition at line 228 of file world.h.

◆ rank()

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

Definition at line 204 of file world.h.

◆ size()

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

Definition at line 198 of file world.h.


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