View on GitHub

Vistle

Distributed Data-parallel Scientific Visualization in VR

Public Types | Public Member Functions | List of all members
vistle::StateObserver Class Referenceabstract

#include <core/statetracker.h>

Public Types

enum  ModuleStateBits {
  Unknown = 0 , Known = 1 , Initialized = 2 , Killed = 4 ,
  Quit = 8 , Busy = 16
}
 

Public Member Functions

 StateObserver ()
 
virtual ~StateObserver ()
 
virtual void newHub (int hub, const std::string &name, int nranks, const std::string &address, const std::string &logname, const std::string &realname)=0
 
virtual void deleteHub (int hub)=0
 
virtual void moduleAvailable (const AvailableModule &mod)=0
 
virtual void newModule (int moduleId, const boost::uuids::uuid &spawnUuid, const std::string &moduleName)=0
 
virtual void deleteModule (int moduleId)=0
 
virtual void moduleStateChanged (int moduleId, int stateBits)=0
 
virtual void newParameter (int moduleId, const std::string &parameterName)=0
 
virtual void parameterValueChanged (int moduleId, const std::string &parameterName)=0
 
virtual void parameterChoicesChanged (int moduleId, const std::string &parameterName)=0
 
virtual void deleteParameter (int moduleId, const std::string &parameterName)=0
 
virtual void newPort (int moduleId, const std::string &portName)=0
 
virtual void deletePort (int moduleId, const std::string &portName)=0
 
virtual void newConnection (int fromId, const std::string &fromName, int toId, const std::string &toName)=0
 
virtual void deleteConnection (int fromId, const std::string &fromName, int toId, const std::string &toName)=0
 
virtual void info (const std::string &text, message::SendText::TextType textType, int senderId, int senderRank, message::Type refType, const message::uuid_t &refUuid)=0
 
virtual void status (int id, const std::string &text, message::UpdateStatus::Importance importance)=0
 a module sends at status update More...
 
virtual void updateStatus (int id, const std::string &text, message::UpdateStatus::Importance importance)=0
 the overall status has changed More...
 
virtual void quitRequested ()
 
virtual void resetModificationCount ()
 
virtual void incModificationCount ()
 
long modificationCount () const
 
virtual void loadedWorkflowChanged (const std::string &filename)
 
virtual void sessionUrlChanged (const std::string &url)
 

Member Enumeration Documentation

◆ ModuleStateBits

Enumerator
Unknown 
Known 
Initialized 
Killed 
Quit 
Busy 

Constructor & Destructor Documentation

◆ StateObserver()

vistle::StateObserver::StateObserver ( )
inline

◆ ~StateObserver()

virtual vistle::StateObserver::~StateObserver ( )
inlinevirtual

Member Function Documentation

◆ deleteConnection()

virtual void vistle::StateObserver::deleteConnection ( int  fromId,
const std::string &  fromName,
int  toId,
const std::string &  toName 
)
pure virtual

◆ deleteHub()

virtual void vistle::StateObserver::deleteHub ( int  hub)
pure virtual

◆ deleteModule()

virtual void vistle::StateObserver::deleteModule ( int  moduleId)
pure virtual

◆ deleteParameter()

virtual void vistle::StateObserver::deleteParameter ( int  moduleId,
const std::string &  parameterName 
)
pure virtual

◆ deletePort()

virtual void vistle::StateObserver::deletePort ( int  moduleId,
const std::string &  portName 
)
pure virtual

◆ incModificationCount()

void vistle::StateObserver::incModificationCount ( )
virtual

◆ info()

virtual void vistle::StateObserver::info ( const std::string &  text,
message::SendText::TextType  textType,
int  senderId,
int  senderRank,
message::Type  refType,
const message::uuid_t refUuid 
)
pure virtual

◆ loadedWorkflowChanged()

void vistle::StateObserver::loadedWorkflowChanged ( const std::string &  filename)
virtual

◆ modificationCount()

long vistle::StateObserver::modificationCount ( ) const

◆ moduleAvailable()

virtual void vistle::StateObserver::moduleAvailable ( const AvailableModule mod)
pure virtual

◆ moduleStateChanged()

virtual void vistle::StateObserver::moduleStateChanged ( int  moduleId,
int  stateBits 
)
pure virtual

◆ newConnection()

virtual void vistle::StateObserver::newConnection ( int  fromId,
const std::string &  fromName,
int  toId,
const std::string &  toName 
)
pure virtual

◆ newHub()

virtual void vistle::StateObserver::newHub ( int  hub,
const std::string &  name,
int  nranks,
const std::string &  address,
const std::string &  logname,
const std::string &  realname 
)
pure virtual

◆ newModule()

virtual void vistle::StateObserver::newModule ( int  moduleId,
const boost::uuids::uuid &  spawnUuid,
const std::string &  moduleName 
)
pure virtual

◆ newParameter()

virtual void vistle::StateObserver::newParameter ( int  moduleId,
const std::string &  parameterName 
)
pure virtual

◆ newPort()

virtual void vistle::StateObserver::newPort ( int  moduleId,
const std::string &  portName 
)
pure virtual

◆ parameterChoicesChanged()

virtual void vistle::StateObserver::parameterChoicesChanged ( int  moduleId,
const std::string &  parameterName 
)
pure virtual

◆ parameterValueChanged()

virtual void vistle::StateObserver::parameterValueChanged ( int  moduleId,
const std::string &  parameterName 
)
pure virtual

◆ quitRequested()

void vistle::StateObserver::quitRequested ( )
virtual

◆ resetModificationCount()

void vistle::StateObserver::resetModificationCount ( )
virtual

◆ sessionUrlChanged()

void vistle::StateObserver::sessionUrlChanged ( const std::string &  url)
virtual

◆ status()

virtual void vistle::StateObserver::status ( int  id,
const std::string &  text,
message::UpdateStatus::Importance  importance 
)
pure virtual

a module sends at status update

◆ updateStatus()

virtual void vistle::StateObserver::updateStatus ( int  id,
const std::string &  text,
message::UpdateStatus::Importance  importance 
)
pure virtual

the overall status has changed


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