79 virtual bool isReady()
const {
return true; }
The AbstractSimulationHandler class handles simulation frames for the current circuit.
uint32_t getCurrentFrame() const
virtual AbstractSimulationHandlerPtr clone() const =0
virtual void * getFrameData(uint32_t frame)
returns a void pointer to the simulation data for the given frame or nullptr if the frame is not load...
virtual void waitReady() const
uint32_t getNbFrames() const
getNbFrames returns the number of frame for the current simulation
void setNbFrames(const uint32_t nbFrames)
setNbFrames sets the number of frame for the current simulation
virtual bool isReady() const
virtual ~AbstractSimulationHandler()
const std::string & getUnit() const
AbstractSimulationHandler & operator=(const AbstractSimulationHandler &rhs)
virtual PLATFORM_API void unbind(const MaterialPtr &)
void setFrameSize(const uint64_t frameSize)
setFrameSize Sets the size of the current simulation frame
uint64_t getFrameSize() const
getFrameSize return the size of the current simulation frame
virtual PLATFORM_API void bind(const MaterialPtr &)
uint32_t _getBoundedFrame(const uint32_t frame) const
std::shared_ptr< AbstractSimulationHandler > AbstractSimulationHandlerPtr
std::shared_ptr< Material > MaterialPtr