FBB::Sharedpos(3bobcat)

Shared Memory Offsets
(libbobcat-dev_6.02.02)

2005-2022

NAME

FBB::Sharedpos - Shared Memory offset controller

SYNOPSIS

#include <bobcat/sharedpos>
Linking option: -lbobcat

DESCRIPTION

The class SharedPos is a support class for Bobcat's shared memory handling classes. It controls the shared memory read/write ofset and ensures that shared memory operations never exceed the shared memory's maximum offset.

The class SharedPos has several public members, but they are primarily useful for other Shared* classes offered by Bobcat. There is probably little use for a stand-alone SharedPos object.

In the descriptions of the class's member functions offset refers to the read/write offset within a FBB::SharedSegment(3bobcat) object for which SharedPos performs the offset-administration.

NAMESPACE

FBB
All constructors, members, operators and manipulators, mentioned in this man-page, are defined in the namespace FBB.

INHERITS FROM

-

TYPEDEFS AND ENUMS

CONSTRUCTORS

Default, copy and move constructors as well as the copy and move assignment operators are available. The default constructor does not yet monitor the offset of an FBB::SharedSegment object. The member reset is used to start monitoring offsets.

OVERLOADED OPERATORS

MEMBER FUNCTIONS

Note: the behavior of member functions returning values which refer to information of an FBB::SharedSegment is undefined until the member reset has been called.

EXAMPLE

See the sharedstream(3bobcat) man page.

FILES

bobcat/sharedpos - defines the class interface

SEE ALSO

bobcat(7), isharedstream(3bobcat), osharedstream(3bobcat), sharedblock(3bobcat), sharedcondition(3bobcat), sharedmemory(3bobcat), sharedmutex(3bobcat), sharedreadme(7bobcat), sharedsegment(3bobcat), sharedstream(3bobcat), sharedbuf(3bobcat)

BUGS

None Reported.

BOBCAT PROJECT FILES

BOBCAT

Bobcat is an acronym of `Brokken's Own Base Classes And Templates'.

COPYRIGHT

This is free software, distributed under the terms of the GNU General Public License (GPL).

AUTHOR

Frank B. Brokken (f.b.brokken@rug.nl).