Class HipoFrameWriter
java.lang.Object
org.jlab.clara.std.services.AbstractService
org.jlab.clara.std.services.AbstractEventWriterService<org.jlab.jnp.hipo4.io.HipoWriterStream>
org.jlab.io.clara.HipoFrameWriter
- All Implemented Interfaces:
org.jlab.clara.engine.Engine
public class HipoFrameWriter
extends org.jlab.clara.std.services.AbstractEventWriterService<org.jlab.jnp.hipo4.io.HipoWriterStream>
- Author:
- gavalian
-
Field Summary
Fields inherited from class org.jlab.clara.std.services.AbstractEventWriterService
writer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected org.jlab.jnp.hipo4.io.HipoWriterStreamcreateWriter(Path file, org.json.JSONObject opts) protected org.jlab.clara.engine.EngineDataTypeprotected voidwriteEvent(Object event) Methods inherited from class org.jlab.clara.std.services.AbstractEventWriterService
configure, destroy, execute, executeGroup, getInputDataTypes, getOutputDataTypes, resetMethods inherited from class org.jlab.clara.std.services.AbstractService
getAuthor, getDescription, getName, getStates, getVersion
-
Constructor Details
-
HipoFrameWriter
public HipoFrameWriter()
-
-
Method Details
-
createWriter
protected org.jlab.jnp.hipo4.io.HipoWriterStream createWriter(Path file, org.json.JSONObject opts) throws org.jlab.clara.std.services.EventWriterException - Specified by:
createWriterin classorg.jlab.clara.std.services.AbstractEventWriterService<org.jlab.jnp.hipo4.io.HipoWriterStream>- Throws:
org.jlab.clara.std.services.EventWriterException
-
closeWriter
protected void closeWriter()- Specified by:
closeWriterin classorg.jlab.clara.std.services.AbstractEventWriterService<org.jlab.jnp.hipo4.io.HipoWriterStream>
-
writeEvent
- Specified by:
writeEventin classorg.jlab.clara.std.services.AbstractEventWriterService<org.jlab.jnp.hipo4.io.HipoWriterStream>- Throws:
org.jlab.clara.std.services.EventWriterException
-
getDataType
protected org.jlab.clara.engine.EngineDataType getDataType()- Specified by:
getDataTypein classorg.jlab.clara.std.services.AbstractEventWriterService<org.jlab.jnp.hipo4.io.HipoWriterStream>
-