Changeset 252 in flair-src for trunk/lib/FlairCore/src/Matrix.cpp


Ignore:
Timestamp:
Jul 5, 2018, 5:57:08 PM (3 years ago)
Author:
Sanahuja Guillaume
Message:

change io_data CopyDate? to RawRead?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairCore/src/Matrix.cpp

    r214 r252  
    188188}
    189189
    190 void Matrix::CopyDatas(char *dst) const {
     190void Matrix::RawRead(char *dst) const {
    191191  GetMutex();
    192192  memcpy(dst, pimpl_->datas, dataType.GetSize());
     
    194194}
    195195
     196void Matrix::RawWrite(char *src) {
     197  GetMutex();
     198  memcpy(pimpl_->datas, src,dataType.GetSize());
     199  ReleaseMutex();
     200}
     201
    196202uint32_t Matrix::Rows(void) const { return pimpl_->descriptor->Rows(); }
    197203
Note: See TracChangeset for help on using the changeset viewer.