Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends

LibGeoDecomp::HpxWriterSink< CELL_TYPE, CONVERTER > Class Template Reference

#include <hpxwritersink.h>

Collaboration diagram for LibGeoDecomp::HpxWriterSink< CELL_TYPE, CONVERTER >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef HpxWriterSinkServer
< CELL_TYPE, CONVERTER > 
ComponentType
typedef CONVERTER::CellType CellType
typedef
APITraits::SelectTopology
< CELL_TYPE >::Value 
Topology
typedef DistributedSimulator
< CellType >::GridType 
GridType
typedef Region< Topology::DIMRegionType
typedef Coord< Topology::DIMCoordType
typedef std::vector< CellTypeBufferType
typedef hpx::lcos::local::spinlock MutexType
typedef
hpx::components::server::create_component_action1
< ComponentType, std::size_t > 
ComponentCreateActionType
typedef
hpx::components::server::create_component_action2
< ComponentType,
boost::shared_ptr< Writer
< CellType > >, std::size_t > 
ComponentWriterCreateActionType
typedef
hpx::components::server::create_component_action2
< ComponentType,
boost::shared_ptr
< ParallelWriter< CellType >
>, std::size_t > 
ComponentParallelWriterCreateActionType

Public Member Functions

 HpxWriterSink ()
 HpxWriterSink (const std::string &name)
 HpxWriterSink (unsigned period, std::size_t numUpdateGroups, const std::string &name)
 HpxWriterSink (ParallelWriter< CellType > *parallelWriter, std::size_t numUpdateGroups, const std::string &name="")
 HpxWriterSink (Writer< CellType > *serialWriter, std::size_t numUpdateGroups, const std::string &name="")
 HpxWriterSink (const HpxWriterSink &sink)
void stepFinished (const typename DistributedSimulator< CELL_TYPE >::GridType &grid, const Region< Topology::DIM > &validRegion, const Coord< Topology::DIM > &globalDimensions, unsigned step, WriterEvent event, std::size_t rank, bool lastCall)
hpx::future< std::size_t > connectWriter (ParallelWriter< CellType > *parallelWriter)
hpx::future< std::size_t > connectWriter (Writer< CellType > *serialWriter)
void disconnectWriter (std::size_t id)
std::size_t getPeriod () const
std::size_t numUpdateGroups () const

Private Member Functions

template<typename ARCHIVE >
void load (ARCHIVE &ar, unsigned)
template<typename ARCHIVE >
void save (ARCHIVE &ar, unsigned) const

Private Attributes

hpx::naming::id_type thisId
std::size_t period
std::vector< hpx::future< void > > stepFinishedFutures

Friends

class boost::serialization::access

template<typename CELL_TYPE, typename CONVERTER = IdentityConverter<CELL_TYPE>>
class LibGeoDecomp::HpxWriterSink< CELL_TYPE, CONVERTER >


Member Typedef Documentation

template<typename CELL_TYPE , typename CONVERTER = IdentityConverter<CELL_TYPE>>
typedef std::vector<CellType> LibGeoDecomp::HpxWriterSink< CELL_TYPE, CONVERTER >::BufferType
template<typename CELL_TYPE , typename CONVERTER = IdentityConverter<CELL_TYPE>>
typedef CONVERTER::CellType LibGeoDecomp::HpxWriterSink< CELL_TYPE, CONVERTER >::CellType
template<typename CELL_TYPE , typename CONVERTER = IdentityConverter<CELL_TYPE>>
typedef hpx::components::server::create_component_action1< ComponentType, std::size_t > LibGeoDecomp::HpxWriterSink< CELL_TYPE, CONVERTER >::ComponentCreateActionType
template<typename CELL_TYPE , typename CONVERTER = IdentityConverter<CELL_TYPE>>
typedef hpx::components::server::create_component_action2< ComponentType, boost::shared_ptr<ParallelWriter<CellType> >, std::size_t > LibGeoDecomp::HpxWriterSink< CELL_TYPE, CONVERTER >::ComponentParallelWriterCreateActionType
template<typename CELL_TYPE , typename CONVERTER = IdentityConverter<CELL_TYPE>>
typedef HpxWriterSinkServer<CELL_TYPE, CONVERTER> LibGeoDecomp::HpxWriterSink< CELL_TYPE, CONVERTER >::ComponentType
template<typename CELL_TYPE , typename CONVERTER = IdentityConverter<CELL_TYPE>>
typedef hpx::components::server::create_component_action2< ComponentType, boost::shared_ptr<Writer<CellType> >, std::size_t > LibGeoDecomp::HpxWriterSink< CELL_TYPE, CONVERTER >::ComponentWriterCreateActionType
template<typename CELL_TYPE , typename CONVERTER = IdentityConverter<CELL_TYPE>>
typedef Coord<Topology::DIM> LibGeoDecomp::HpxWriterSink< CELL_TYPE, CONVERTER >::CoordType
template<typename CELL_TYPE , typename CONVERTER = IdentityConverter<CELL_TYPE>>
typedef DistributedSimulator<CellType>::GridType LibGeoDecomp::HpxWriterSink< CELL_TYPE, CONVERTER >::GridType
template<typename CELL_TYPE , typename CONVERTER = IdentityConverter<CELL_TYPE>>
typedef hpx::lcos::local::spinlock LibGeoDecomp::HpxWriterSink< CELL_TYPE, CONVERTER >::MutexType
template<typename CELL_TYPE , typename CONVERTER = IdentityConverter<CELL_TYPE>>
typedef Region<Topology::DIM> LibGeoDecomp::HpxWriterSink< CELL_TYPE, CONVERTER >::RegionType
template<typename CELL_TYPE , typename CONVERTER = IdentityConverter<CELL_TYPE>>
typedef APITraits::SelectTopology<CELL_TYPE>::Value LibGeoDecomp::HpxWriterSink< CELL_TYPE, CONVERTER >::Topology

Constructor & Destructor Documentation

template<typename CELL_TYPE , typename CONVERTER = IdentityConverter<CELL_TYPE>>
LibGeoDecomp::HpxWriterSink< CELL_TYPE, CONVERTER >::HpxWriterSink (  )  [inline]
template<typename CELL_TYPE , typename CONVERTER = IdentityConverter<CELL_TYPE>>
LibGeoDecomp::HpxWriterSink< CELL_TYPE, CONVERTER >::HpxWriterSink ( const std::string &  name  )  [inline]
template<typename CELL_TYPE , typename CONVERTER = IdentityConverter<CELL_TYPE>>
LibGeoDecomp::HpxWriterSink< CELL_TYPE, CONVERTER >::HpxWriterSink ( unsigned  period,
std::size_t  numUpdateGroups,
const std::string &  name 
) [inline]
template<typename CELL_TYPE , typename CONVERTER = IdentityConverter<CELL_TYPE>>
LibGeoDecomp::HpxWriterSink< CELL_TYPE, CONVERTER >::HpxWriterSink ( ParallelWriter< CellType > *  parallelWriter,
std::size_t  numUpdateGroups,
const std::string &  name = "" 
) [inline]
template<typename CELL_TYPE , typename CONVERTER = IdentityConverter<CELL_TYPE>>
LibGeoDecomp::HpxWriterSink< CELL_TYPE, CONVERTER >::HpxWriterSink ( Writer< CellType > *  serialWriter,
std::size_t  numUpdateGroups,
const std::string &  name = "" 
) [inline]
template<typename CELL_TYPE , typename CONVERTER = IdentityConverter<CELL_TYPE>>
LibGeoDecomp::HpxWriterSink< CELL_TYPE, CONVERTER >::HpxWriterSink ( const HpxWriterSink< CELL_TYPE, CONVERTER > &  sink  )  [inline]

Member Function Documentation

template<typename CELL_TYPE , typename CONVERTER = IdentityConverter<CELL_TYPE>>
hpx::future<std::size_t> LibGeoDecomp::HpxWriterSink< CELL_TYPE, CONVERTER >::connectWriter ( ParallelWriter< CellType > *  parallelWriter  )  [inline]
template<typename CELL_TYPE , typename CONVERTER = IdentityConverter<CELL_TYPE>>
hpx::future<std::size_t> LibGeoDecomp::HpxWriterSink< CELL_TYPE, CONVERTER >::connectWriter ( Writer< CellType > *  serialWriter  )  [inline]
template<typename CELL_TYPE , typename CONVERTER = IdentityConverter<CELL_TYPE>>
void LibGeoDecomp::HpxWriterSink< CELL_TYPE, CONVERTER >::disconnectWriter ( std::size_t  id  )  [inline]
template<typename CELL_TYPE , typename CONVERTER = IdentityConverter<CELL_TYPE>>
std::size_t LibGeoDecomp::HpxWriterSink< CELL_TYPE, CONVERTER >::getPeriod (  )  const [inline]
template<typename CELL_TYPE , typename CONVERTER = IdentityConverter<CELL_TYPE>>
template<typename ARCHIVE >
void LibGeoDecomp::HpxWriterSink< CELL_TYPE, CONVERTER >::load ( ARCHIVE &  ar,
unsigned   
) [inline, private]
template<typename CELL_TYPE , typename CONVERTER = IdentityConverter<CELL_TYPE>>
std::size_t LibGeoDecomp::HpxWriterSink< CELL_TYPE, CONVERTER >::numUpdateGroups (  )  const [inline]
template<typename CELL_TYPE , typename CONVERTER = IdentityConverter<CELL_TYPE>>
template<typename ARCHIVE >
void LibGeoDecomp::HpxWriterSink< CELL_TYPE, CONVERTER >::save ( ARCHIVE &  ar,
unsigned   
) const [inline, private]
template<typename CELL_TYPE , typename CONVERTER = IdentityConverter<CELL_TYPE>>
void LibGeoDecomp::HpxWriterSink< CELL_TYPE, CONVERTER >::stepFinished ( const typename DistributedSimulator< CELL_TYPE >::GridType grid,
const Region< Topology::DIM > &  validRegion,
const Coord< Topology::DIM > &  globalDimensions,
unsigned  step,
WriterEvent  event,
std::size_t  rank,
bool  lastCall 
) [inline]

Friends And Related Function Documentation

template<typename CELL_TYPE , typename CONVERTER = IdentityConverter<CELL_TYPE>>
friend class boost::serialization::access [friend]

Member Data Documentation

template<typename CELL_TYPE , typename CONVERTER = IdentityConverter<CELL_TYPE>>
std::size_t LibGeoDecomp::HpxWriterSink< CELL_TYPE, CONVERTER >::period [private]
template<typename CELL_TYPE , typename CONVERTER = IdentityConverter<CELL_TYPE>>
std::vector<hpx::future<void> > LibGeoDecomp::HpxWriterSink< CELL_TYPE, CONVERTER >::stepFinishedFutures [private]
template<typename CELL_TYPE , typename CONVERTER = IdentityConverter<CELL_TYPE>>
hpx::naming::id_type LibGeoDecomp::HpxWriterSink< CELL_TYPE, CONVERTER >::thisId [private]

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