.TH "FBB::SharedBlock" "3bobcat" "2005\-2020" "libbobcat\-dev_5\&.07\&.00" "Shared Memory Block" .PP .SH "NAME" FBB::SharedBlock \- Shared memory data block info .PP .SH "SYNOPSIS" \fB#include \fP .br Linking option: \fI\-lpthread, \-lbobcat \fP .PP .SH "DESCRIPTION" \fBFBB::SharedBlock\fP objects are used by \fIFBB::SharedSegment\fP to access the IDs and shared memory locks of shared memory data segments\&. .PP .SH "NAMESPACE" \fBFBB\fP .br All constructors, members, operators and manipulators, mentioned in this man\-page, are defined in the namespace \fBFBB\fP\&. .PP .SH "INHERITS FROM" \- .PP .SH "CONSTRUCTORS" .PP Only the default constructor is available\&. Copy and move assignment operators are not available\&. .PP .SH "MEMBER FUNCTIONS" .IP o \fBsize_t id() const\fP: .br The object\(cq\&s stored ID value is returned\&. .IP .IP o \fBvoid lock() const\fP: .br When returning from this member, the current process has obtained the \fBFBB::SharedBlock\fP\(cq\&s shared memory mutex lock\&. .IP .IP o \fBvoid setID(size_t id)\fP: .br The object\(cq\&s stored ID value is set to \fIid\fP\&. .IP .IP o \fBvoid unlock() const\fP: .br The shared memory segment\(cq\&s mutex lock is released\&. .PP .SH "EXAMPLE" See the \fBsharedstream\fP(3bobcat) man page\&. .PP .SH "FILES" \fIbobcat/sharedblock\fP \- defines the class interface .PP .SH "SEE ALSO" \fBbobcat\fP(7) \fBisharedstream\fP(3bobcat), \fBosharedstream\fP(3bobcat), \fBsharedcondition\fP(3bobcat), \fBsharedmemory\fP(3bobcat), \fBsharedmutex\fP(3bobcat), \fBsharedpos\fP(3bobcat), \fBsharedreadme\fP(7bobcat), \fBsharedsegment\fP(3bobcat), \fBsharedstream\fP(3bobcat), \fBsharedbuf\fP(3bobcat) .PP .SH "BUGS" None Reported\&. .PP .SH "BOBCAT PROJECT FILES" .PP .IP o \fIhttps://fbb\-git\&.gitlab\&.io/bobcat/\fP: gitlab project page; .IP o \fIbobcat_5\&.07\&.00\-x\&.dsc\fP: detached signature; .IP o \fIbobcat_5\&.07\&.00\-x\&.tar\&.gz\fP: source archive; .IP o \fIbobcat_5\&.07\&.00\-x_i386\&.changes\fP: change log; .IP o \fIlibbobcat1_5\&.07\&.00\-x_*\&.deb\fP: debian package containing the libraries; .IP o \fIlibbobcat1\-dev_5\&.07\&.00\-x_*\&.deb\fP: debian package containing the libraries, headers and manual pages; .PP .SH "BOBCAT" Bobcat is an acronym of `Brokken\(cq\&s Own Base Classes And Templates\(cq\&\&. .PP .SH "COPYRIGHT" This is free software, distributed under the terms of the GNU General Public License (GPL)\&. .PP .SH "AUTHOR" Frank B\&. Brokken (\fBf\&.b\&.brokken@rug\&.nl\fP)\&. .PP