Blue Brain BioExplorer
|
#include <AddModelFromBlobTask.h>
Public Member Functions | |
AddModelFromBlobTask (const BinaryParam ¶m, Engine &engine) | |
void | appendBlob (const std::string &blob) |
Public Member Functions inherited from core::Task< ModelDescriptorPtr > | |
Task ()=default | |
Task (F &&functor) | |
void | schedule () override |
ModelDescriptorPtr | result () |
auto & | get () |
Public Member Functions inherited from core::AbstractTask | |
virtual | ~AbstractTask ()=default |
void | cancel (std::function< void()> done={}) |
void | finishCancel () |
bool | canceled () const |
Additional Inherited Members | |
Public Types inherited from core::Task< ModelDescriptorPtr > | |
using | Type = async::task< ModelDescriptorPtr > |
Public Attributes inherited from core::AbstractTask | |
Progress | progress {"Scheduling task ..."} |
Protected Member Functions inherited from core::Task< ModelDescriptorPtr > | |
auto && | _setupFunctor (F &&functor) |
Protected Attributes inherited from core::Task< ModelDescriptorPtr > | |
Type | _task |
Protected Attributes inherited from core::AbstractTask | |
async::cancellation_token | _cancelToken |
std::function< void()> | _cancelDone |
std::atomic_bool | _cancelled {false} |
A task which receives a file blob, triggers loading of the received blob and adds the loaded model to the engines' scene.
Definition at line 53 of file AddModelFromBlobTask.h.
core::AddModelFromBlobTask::AddModelFromBlobTask | ( | const BinaryParam & | param, |
Engine & | engine | ||
) |
Definition at line 34 of file AddModelFromBlobTask.cpp.
void core::AddModelFromBlobTask::appendBlob | ( | const std::string & | blob | ) |
Definition at line 58 of file AddModelFromBlobTask.cpp.