Ignore:
Timestamp:
03/06/18 12:12:58 (4 years ago)
Author:
Sanahuja Guillaume
Message:

maj for armv5te

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairSensorActuator/src/SimuCamera.cpp

    r206 r224  
    3030namespace sensor {
    3131
    32 //control part
    3332SimuCamera::SimuCamera(string name,
    3433                       uint16_t width, uint16_t height, uint8_t channels,
     
    4948}
    5049
    51 //simulation part
    52 SimuCamera::SimuCamera(const IODevice *parent, string name, uint16_t width,
    53                        uint16_t height, uint8_t channels, uint32_t modelId,uint32_t deviceId)
    54     : Thread(parent, name, 0), Camera(parent,name) {
    55 
    56   buf_size = width * height * channels+sizeof(Time);
    57  
    58   shmem = new SharedMem((Thread *)this,ShMemName(modelId, deviceId),
    59                         buf_size, SharedMem::Type::producerConsumer);
    60   shmemReadBuf=NULL;
    61  
    62   SetIsReady(true);
    63 }
    6450
    6551SimuCamera::~SimuCamera() {
Note: See TracChangeset for help on using the changeset viewer.