|
| Reader (const std::string &name, const int moduleID, mpi::communicator comm) |
| construct a read module, parameters correspond to Module constructor More...
|
|
| ~Reader () override |
|
virtual bool | examine (const Parameter *param=nullptr) |
| called whenever an observed parameter (cf. Reader::observeParameter) has been changed More...
|
|
virtual bool | read (Token &token, int timestep=-1, int block=-1)=0 |
| called for every unit of work to be read More...
|
|
virtual bool | prepareRead () |
| called once on every rank after execution of the module has been initiated before read is called More...
|
|
virtual bool | finishRead () |
| called once on every rank after all read calls have been made and before execution finishes More...
|
|
int | timeIncrement () const |
| return number of timesteps to advance More...
|
|
virtual int | rankForTimestepAndPartition (int t, int p) const |
| compute rank on which partition p of timestep t should be read More...
|
|
int | numPartitions () const |
| query into how many parts the data should be split More...
|
|
| Module (const std::string &name, const int moduleID, mpi::communicator comm) |
|
virtual | ~Module () |
|
virtual void | eventLoop () |
|
void | initDone () |
|
virtual bool | dispatch (bool block=true, bool *messageReceived=nullptr) |
|
Parameter * | addParameterGeneric (const std::string &name, std::shared_ptr< Parameter > parameter) override |
|
bool | removeParameter (Parameter *param) override |
|
const std::string & | name () const |
|
const mpi::communicator & | comm () const |
|
const mpi::communicator & | commShmGroup () const |
|
int | rank () const |
|
int | size () const |
|
int | shmLeader (int rank=-1) const |
|
int | id () const |
|
unsigned | hardware_concurrency () const |
|
ObjectCache::CacheMode | setCacheMode (ObjectCache::CacheMode mode, bool update=true) |
|
ObjectCache::CacheMode | cacheMode () const |
|
Port * | createInputPort (const std::string &name, const std::string &description="", const int flags=0) |
|
Port * | createOutputPort (const std::string &name, const std::string &description="", const int flags=0) |
|
bool | destroyPort (const std::string &portName) |
|
bool | destroyPort (const Port *port) |
|
bool | sendObject (const mpi::communicator &comm, vistle::Object::const_ptr object, int destRank) const |
|
bool | sendObject (vistle::Object::const_ptr object, int destRank) const |
|
vistle::Object::const_ptr | receiveObject (const mpi::communicator &comm, int destRank) const |
|
vistle::Object::const_ptr | receiveObject (int destRank) const |
|
bool | broadcastObject (const mpi::communicator &comm, vistle::Object::const_ptr &object, int root) const |
|
bool | broadcastObject (vistle::Object::const_ptr &object, int root) const |
|
bool | broadcastObjectViaShm (vistle::Object::const_ptr &object, const std::string &objName, int root) const |
|
bool | addObject (Port *port, vistle::Object::ptr object) |
|
bool | addObject (const std::string &portName, vistle::Object::ptr object) |
|
bool | passThroughObject (Port *port, vistle::Object::const_ptr object) |
|
bool | passThroughObject (const std::string &portName, vistle::Object::const_ptr object) |
|
ObjectList | getObjects (const std::string &portName) |
|
bool | hasObject (const Port *port) const |
|
bool | hasObject (const std::string &portName) const |
|
vistle::Object::const_ptr | takeFirstObject (Port *port) |
|
vistle::Object::const_ptr | takeFirstObject (const std::string &portName) |
|
template<class Type > |
Type::const_ptr | accept (Port *port) |
|
template<class Type > |
Type::const_ptr | accept (const std::string &port) |
|
template<class Interface > |
const Interface * | acceptInterface (Port *port) |
|
template<class Interface > |
const Interface * | acceptInterface (const std::string &port) |
|
template<class Type > |
Type::const_ptr | expect (Port *port) |
|
template<class Type > |
Type::const_ptr | expect (const std::string &port) |
|
void | requestPortMapping (unsigned short forwardPort, unsigned short localPort) |
| request hub to forward incoming connections on forwardPort to be forwarded to localPort More...
|
|
void | removePortMapping (unsigned short forwardPort) |
| remove port forwarding requested by requestPortMapping More...
|
|
void | sendParameterMessage (const message::Message &message, const buffer *payload) const override |
|
bool | sendMessage (const message::Message &message, const buffer *payload=nullptr) const override |
|
bool | sendMessage (const message::Message &message, const MessagePayload &payload) const override |
|
template<class Payload > |
bool | sendMessageWithPayload (message::Message &message, Payload &payload) const |
|
void | sendText (int type, const std::string &msg) const |
| type should be a message::SendText::TextType More...
|
|
void | sendInfo (const char *fmt,...) const |
| send info message to UI - printf style More...
|
|
void | sendWarning (const char *fmt,...) const |
| send warning message to UI - printf style More...
|
|
void | sendError (const char *fmt,...) const |
| send error message to UI - printf style More...
|
|
void | sendError (const message::Message &msg, const char *fmt,...) const |
| send response message to UI - printf style More...
|
|
void | sendInfo (const std::string &text) const |
| send info message to UI - string style More...
|
|
void | sendWarning (const std::string &text) const |
| send warning message to UI - string style More...
|
|
void | sendError (const std::string &text) const |
| send error message to UI - string style More...
|
|
void | sendError (const message::Message &msg, const std::string &text) const |
| send response message to UI - string style More...
|
|
int | schedulingPolicy () const |
|
void | setSchedulingPolicy (int schedulingPolicy) |
|
int | reducePolicy () const |
|
void | setReducePolicy (int reduceRequirement) |
|
const HubData & | getHub () const |
|
bool | isConnected (const Port &port) const |
|
bool | isConnected (const std::string &portname) const |
|
std::string | getModuleName (int id) const |
|
int | mirrorId () const |
|
std::set< int > | getMirrors () const |
|
template<> |
V_MODULEEXPORT Object::const_ptr | expect (Port *port) |
|
template<> |
Object::const_ptr | expect (Port *port) |
|
| ParameterManager (const std::string &name, int id) |
|
virtual | ~ParameterManager () |
|
void | setCurrentParameterGroup (const std::string &group=std::string()) |
| set group for all subsequently added parameters, reset with empty group More...
|
|
const std::string & | currentParameterGroup () const |
|
bool | updateParameter (const std::string &name, const Parameter *parameter, const message::SetParameter *inResponseTo, Parameter::RangeType rt=Parameter::Value) |
|
template<class T > |
Parameter * | addParameter (const std::string &name, const std::string &description, const T &value, Parameter::Presentation presentation=Parameter::Generic) |
|
template<class T > |
bool | setParameter (const std::string &name, const T &value, const message::SetParameter *inResponseTo=nullptr) |
|
template<class T > |
bool | setParameter (ParameterBase< T > *param, const T &value, const message::SetParameter *inResponseTo=nullptr) |
|
template<class T > |
bool | setParameterMinimum (ParameterBase< T > *param, const T &minimum) |
|
template<class T > |
bool | setParameterMaximum (ParameterBase< T > *param, const T &maximum) |
|
template<class T > |
bool | setParameterRange (const std::string &name, const T &minimum, const T &maximum) |
|
template<class T > |
bool | setParameterRange (ParameterBase< T > *param, const T &minimum, const T &maximum) |
|
template<class T > |
bool | getParameter (const std::string &name, T &value) const |
|
void | setParameterChoices (const std::string &name, const std::vector< std::string > &choices) |
|
void | setParameterChoices (Parameter *param, const std::vector< std::string > &choices) |
|
void | setParameterFilters (const std::string &name, const std::string &filters) |
|
void | setParameterFilters (StringParameter *param, const std::string &filters) |
|
StringParameter * | addStringParameter (const std::string &name, const std::string &description, const std::string &value, Parameter::Presentation p=Parameter::Generic) |
|
bool | setStringParameter (const std::string &name, const std::string &value, const message::SetParameter *inResponseTo=NULL) |
|
std::string | getStringParameter (const std::string &name) const |
|
FloatParameter * | addFloatParameter (const std::string &name, const std::string &description, const Float value) |
|
bool | setFloatParameter (const std::string &name, const Float value, const message::SetParameter *inResponseTo=NULL) |
|
Float | getFloatParameter (const std::string &name) const |
|
IntParameter * | addIntParameter (const std::string &name, const std::string &description, const Integer value, Parameter::Presentation p=Parameter::Generic) |
|
bool | setIntParameter (const std::string &name, const Integer value, const message::SetParameter *inResponseTo=NULL) |
|
Integer | getIntParameter (const std::string &name) const |
|
VectorParameter * | addVectorParameter (const std::string &name, const std::string &description, const ParamVector &value) |
|
bool | setVectorParameter (const std::string &name, const ParamVector &value, const message::SetParameter *inResponseTo=NULL) |
|
ParamVector | getVectorParameter (const std::string &name) const |
|
IntVectorParameter * | addIntVectorParameter (const std::string &name, const std::string &description, const IntParamVector &value) |
|
bool | setIntVectorParameter (const std::string &name, const IntParamVector &value, const message::SetParameter *inResponseTo=NULL) |
|
IntParamVector | getIntVectorParameter (const std::string &name) const |
|
bool | removeParameter (const std::string &name) |
|
std::shared_ptr< Parameter > | findParameter (const std::string &name) const |
|
void | init () |
|
void | quit () |
|
bool | handleMessage (const message::SetParameter &message) |
|
template<class Payload > |
void | sendParameterMessageWithPayload (message::Message &message, Payload &payload) |
|
void | setId (int id) |
|
int | id () const |
|
void | setName (const std::string &name) |
|
void | applyDelayedChanges () |
|
virtual | ~MessageSender () |
|
|
void | setParallelizationMode (ParallelizationMode mode) |
| control whether and how read invocations are called in parallel More...
|
|
void | setHandlePartitions (bool enable) |
| whether partitions should be handled by the Reader class More...
|
|
void | setAllowTimestepDistribution (bool allow) |
| whether timesteps may be distributed to different ranks More...
|
|
void | observeParameter (const Parameter *param) |
| whenever an observed parameter changes, data set should be rescanned More...
|
|
void | setTimesteps (int number) |
| call during examine to inform module how many timesteps are present within dataset More...
|
|
void | setPartitions (int number) |
| call during examine to inform module nto how many the dataset will be split More...
|
|
bool | changeParameters (std::set< const Parameter * > params) override |
|
bool | changeParameter (const Parameter *param) override |
|
void | prepareQuit () override |
|
bool | checkConvexity () const |
|
void | setObjectReceivePolicy (int pol) |
|
int | objectReceivePolicy () const |
|
void | startIteration () |
|
void | setDefaultCacheMode (ObjectCache::CacheMode mode) |
|
void | updateMeta (vistle::Object::ptr object) const |
|
virtual bool | handleMessage (const message::Message *message, const vistle::MessagePayload &payload) |
|
virtual bool | handleExecute (const message::Execute *exec) |
|
bool | cancelRequested (bool collective=false) |
|
bool | wasCancelRequested () const |
|
virtual void | cancelExecuteMessageReceived (const message::Message *msg) |
|
virtual bool | addInputObject (int sender, const std::string &senderPort, const std::string &portName, Object::const_ptr object) |
|
virtual bool | objectAdded (int sender, const std::string &senderPort, const Port *port) |
|
bool | syncMessageProcessing () const |
|
void | setSyncMessageProcessing (bool sync) |
|
virtual void | connectionAdded (const Port *from, const Port *to) |
|
virtual void | connectionRemoved (const Port *from, const Port *to) |
|
int | openmpThreads () const |
|
void | setOpenmpThreads (int, bool updateParam=true) |
|
void | enableBenchmark (bool benchmark, bool updateParam=true) |
|
virtual bool | reduce (int timestep) |
|
virtual bool | cancelExecute () |
|
int | numTimesteps () const |
|
void | setStatus (const std::string &text, message::UpdateStatus::Importance prio=message::UpdateStatus::Low) |
|
void | clearStatus () |
|
bool | getNextMessage (message::Buffer &buf, bool block=true) |
|
bool | reduceWrapper (const message::Execute *exec, bool reordered=false) |
|
bool | prepareWrapper (const message::Execute *exec) |
|