class axl::io::SharedMemoryWriter

#include <axl_io_SharedMemoryTransport.h>

class SharedMemoryWriter: public axl::io::SharedMemoryTransportBase
{
public:
    // construction

    SharedMemoryWriter();

    // methods

    bool
    open(
        const sl::StringRef& fileName,
        const sl::StringRef& readEventName,
        const sl::StringRef& writeEventName,
        uint_t flags,
        size_t sizeLimitHint = SharedMemoryTransportConst_DefSizeLimitHint
        );

    bool
    attach(
        File::Handle fileHandle,
        const sl::StringRef& readEventName,
        const sl::StringRef& writeEventName,
        uint_t flags,
        size_t sizeLimitHint = SharedMemoryTransportConst_DefSizeLimitHint
        );

    size_t
    write(
        const void* p,
        size_t size
        );

    size_t
    write(
        const void*const* blockArray,
        const size_t* sizeArray,
        size_t count
        );
};

Inherited Members

public:
    // methods

    uint_t
    getFlags();

    const File*
    getFile() const;

    bool
    isOpen();

    void
    close();

    bool
    open(
        const sl::StringRef& fileName,
        const sl::StringRef& readSemaphoreName,
        const sl::StringRef& writeSemaphoreName,
        uint_t flags
        );

    bool
    attach(
        File::Handle fileHandle,
        const sl::StringRef& readSemaphoreName,
        const sl::StringRef& writeSemaphoreName,
        uint_t flags
        );

    void
    disconnect();