DUECA/DUSIME
Loading...
Searching...
No Matches
Protected Member Functions | Protected Attributes | List of all members
dueca::DataWriterBase Class Reference

Common base class for DataWriter instantiations. More...

#include <DataWriter.hxx>

Inheritance diagram for dueca::DataWriterBase:
Inheritance graph
[legend]
Collaboration diagram for dueca::DataWriterBase:
Collaboration graph
[legend]

Protected Member Functions

 DataWriterBase (ChannelWriteToken &token, const DataTimeSpec &ts)
 Constructor.
 
void releaseAccess (void *data_ptr)
 Releasing the read access means that the data will be made accessible for reading.
 
void baseCheckAccess (uint32_t magic)
 Verify the magic number and validity for access.
 

Protected Attributes

ChannelWriteTokentoken
 Access to the channel.
 
DataTimeSpec ts
 Time specification to be used.
 

Detailed Description

Common base class for DataWriter instantiations.

Constructor & Destructor Documentation

◆ DataWriterBase()

dueca::DataWriterBase::DataWriterBase ( ChannelWriteToken & token,
const DataTimeSpec & ts )
inlineprotected

Constructor.

Parameters
tokenToken of the channel to be written to
tsTime for writing

Member Function Documentation

◆ releaseAccess()

void dueca::DataWriterBase::releaseAccess ( void * data_ptr)
inlineprotected

Releasing the read access means that the data will be made accessible for reading.

Parameters
data_ptrPointer for passing the data

◆ baseCheckAccess()

void dueca::DataWriterBase::baseCheckAccess ( uint32_t magic)
inlineprotected

Verify the magic number and validity for access.

Parameters
magicmagic number, must match the data type magic number
Exceptions
InvalidChannelAccessReturn,ifthe magic is not correct or the token is not valid.

The documentation for this class was generated from the following file: