Width – the number of pixels wide this data extends for. XMin – the starting x coordinate in the channel relative to the channel’s origin The default constructor will create a DataMessage belonging to the specified channel with all values set to 0 and an empty data buffer.Ĭhannel – an existing NewChannel object Public Functions DataMessage ( const NewChannelMessage & channel, uint32_t xMin = 0, uint32_t width = 0, uint32_t yMin = 0, uint32_t height = 0, uint32_t byteSkip = 0 ) ¶Ĭreate a new instance of a DataMessage message using an existing NewChannel object to obtain the unique frame ID and channel ID. you can send the entire channel’s data in on DataMessage.Īny chunks of data passed to the DataMessage will be copied by the instance and sent asynchronously on an I/O thread. The region may be as small as 1 pixel or as large as the whole channel. The DataMessage message should be sent down the KatanaPipe after a NewFrame & NewChannel messages have been sent.Ī DataMessage represents a region of pixel data within a particular channel. The DataMessage class encapsulates the message sent to the Katana Catalog Server (KCS) which actually contains image data for a given channel. ParametersĬhannel – the channel object that will be closed explicit CloseMessage ( const uint8_t * frameID, uint16_t channelID = 0 ) ¶įrameID – a pointer to a 16 byte array containing a unique frameIDĬhannelID – the channel ID for the channel that should be closed.Ĭlass Foundry :: Katana :: DataMessage : public Foundry :: Katana :: Message ¶ Public Functions explicit CloseMessage ( const NewChannelMessage & channel ) ¶Ĭreate a new instance of a CloseMessage message that, when sent to Katana will let the Catalog Server know that there is no more data to be sent through for this specified channel. Designing Node Graphs for Optimal Performance.Profiling and Optimization Guide: Start Here.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |