Changeset 312 in pacpusframework for trunk/include/Pacpus/PacpusTools/SharedMemory.h


Ignore:
Timestamp:
07/28/14 16:11:30 (10 years ago)
Author:
Marek Kurdej
Message:

ComponentBase: added addParameter.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/Pacpus/PacpusTools/SharedMemory.h

    r300 r312  
    5757    /// Dtor of shared memory class.
    5858    virtual ~SharedMemory();
    59    
     59
    6060    /// Returns pointer to shared memory
    6161    virtual void* read();
    6262    /// Copies a chunk of shared memory to dst buffer
    6363    virtual void read(void* dst, int size);
    64    
     64
    6565    /// Use this method to write data in shared memory. Offset is given in bytes
    6666    virtual void write(void* data, int size, unsigned long offset = 0);
    67    
     67
    6868    /// Use this method to wait the incoming of new data
    6969    /// you can specify a timeout in ms to avoid infinite blocking or 0 (infinite)
    7070    /// @returns @b true if new data available before the timeout, @b false otherwise
    7171    virtual bool wait(unsigned long timeout = 0);
    72    
     72
    7373    /// Function that locks access to the shared memory
    7474    virtual void lockMemory();
    7575    /// Function that unlocks access to the shared memory
    7676    virtual void unlockMemory();
    77    
     77
    7878    /// Returns event handle on Windows and NULL on Unix.
    7979    virtual void* getEventIdentifier();
Note: See TracChangeset for help on using the changeset viewer.