Changeset 419 for trunk/nv/interface/data_channel.hh
- Timestamp:
- 07/14/15 20:19:52 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/nv/interface/data_channel.hh
r418 r419 68 68 friend class data_channel_creator; 69 69 friend class data_channel_set; 70 friend class key_channel_set_creator;71 70 72 71 raw_data_channel() : m_data( nullptr ), m_size( 0 ) {} … … 168 167 } 169 168 169 data_descriptor get_interpolation_key() const 170 { 171 data_descriptor result; 172 for ( uint32 c = 0; c < m_size; ++c ) 173 { 174 for ( const auto& cslot : m_channels[c].descriptor() ) 175 if ( cslot.vslot != slot::TIME ) 176 result.push_slot( cslot.etype, cslot.vslot ); 177 } 178 return result; 179 } 180 170 181 const_iterator begin() const { return &m_channels[0]; } 171 182 const_iterator end() const { return &m_channels[ m_size ]; }
Note: See TracChangeset
for help on using the changeset viewer.