Add remus::proto::SMTKMeshResult
We should provide aremus::proto::SMTKMeshResult
class that inherits from JobResult
but provides
a simpler to use interface for smtk mesh workers.
The interface would do the following:
-
ability to have the worker state which model ids the result matches too
-
ability to have the client easily fetch these model ids
-
easy way to specify a json smtk stream as the result
-
easy to parse said json stream on the client
Read https://gitlab.kitware.com/cmb/smtk/blob/master/smtk/extension/remus/MeshOperator.cxx to see how SMTK parse a JobResult.
Challenges:
-
This class needs to be modeled like SMTKMeshSubmission, which means that if a worker sends a SMTKMeshResult, the client can still use
JobResult
to receive the data. -
Job Result only supports a single blob of data, and we really want to support multiple blobs ( I expect we will need to compact down to 1 blob, and have a pre-amble of offsets to certain sections of data)