Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Header ¶
type Header struct { FileType string FileVersion string ReferenceTime time.Time InitialTimeFrame TimeFrame }
Header describes a ACMI file header
type Object ¶
Object describes an ACMI object
type Reader ¶
type Reader struct { Header Header // contains filtered or unexported fields }
Reader provides an interface for reading an ACMI file
func (*Reader) ProcessTimeFrames ¶
ProcessTimeFrames concurrently processes time frames from within the ACMI file,
producing them to an output channel. If your use case requires strong ordering and you do not wish to implement this guarantee on the consumer side, you must set the concurrency to 1.
type TimeFrame ¶
TimeFrame represents a single time frame from an ACMI file
func (*TimeFrame) Delete ¶ added in v0.0.3
Delete removes an object (if one exists) for a given object id
type Writer ¶
type Writer struct {
// contains filtered or unexported fields
}
Writer provides an interface for writing an ACMI file
func NewWriter ¶
func NewWriter(writer io.WriteCloser, header *Header) (*Writer, error)
NewWriter creates a new ACMI writer
func (*Writer) WriteTimeFrame ¶
WriteTimeFrame writes a time frame
Click to show internal directories.
Click to hide internal directories.