DUECA/DUSIME
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Functions | Variables
ChannelDef.hxx File Reference

Definitions for specifying channel properties. More...

Include dependency graph for ChannelDef.hxx:
This graph shows which files directly or indirectly include this file:

Classes

struct  dueca::Channel
 Collection of definitions for modifying channel behaviour. More...
 

Namespaces

namespace  std
 print the IncoRole to a stream
 

Typedefs

typedef uint16_t dueca::entryid_type
 Definition of the entry id type; distinguishes between different entries in a channel.
 

Functions

bool dueca::isTimeAspectEvent (const Channel::EntryTimeAspect &t)
 Convenience function, returns true if an event is acceptable or requested.
 
bool dueca::isReadingModeReservation (const Channel::ReadingMode &m)
 Convenience function, returns true if a events need to be saved up while there is no reader.
 
bool dueca::isSequentialRead (const Channel::ReadingMode &m, bool eventtype)
 Convenience function, returns true if sequential read specified.
 
bool dueca::areClientAndEntryTimingCompatible (const Channel::EntryTimeAspect &m, bool entryisevent)
 Determine if client reading mode is compatible with the entry nature.
 
bool dueca::isValidReadTokenOption (const Channel::EntryArity &a)
 Convenience function, returns true if the arity option is valid for read tokens.
 
bool dueca::isValidWriteTokenOption (const Channel::EntryArity &a)
 Convenience function, returns true if the arity option is valid for write tokens.
 
bool dueca::isSingleEntryOption (const Channel::EntryArity &a)
 Convenience function, returns true if the arity option indicates a single entry.
 
bool dueca::isZeroEntriesAcceptable (const Channel::EntryArity &a)
 Convenience function, returns true if the arity option indicates no entries is acceptable for validity.
 
bool dueca::isFullPacking (const Channel::PackingMode &p)
 Convenience function, returns true if the packing method is full.
 
template<typename T >
const chardueca::getclassname ()
 classname function, should exist for DCO objects
 
template<>
const chardueca::getclassname< dueca::Channel::EntryTimeAspect > ()
 classname function, needed in case the enum must be sent over
 
template<>
const chardueca::getclassname< dueca::Channel::EntryArity > ()
 classname function, needed in case the enum must be sent over
 
template<>
const chardueca::getclassname< dueca::Channel::PackingMode > ()
 classname function, needed in case the enum must be sent over
 
template<>
const chardueca::getclassname< dueca::Channel::TransportClass > ()
 classname function, needed in case the enum must be sent over
 
std::ostream & std::operator<< (std::ostream &os, const dueca ::Channel::EntryTimeAspect &tc)
 Printing of the EntryTimeAspect.
 
std::ostream & std::operator<< (std::ostream &os, const dueca ::Channel::EntryArity &tc)
 Printing of the EntryArity.
 
std::ostream & std::operator<< (std::ostream &os, const dueca ::Channel::ReadingMode &tc)
 Printing of the ReadingMode.
 
std::ostream & std::operator<< (std::ostream &os, const dueca ::Channel::PackingMode &tc)
 Printing of the PackingMode.
 
std::ostream & std::operator<< (std::ostream &os, const dueca ::Channel::TransportClass &tc)
 Printing of the TransportClass.
 

Variables

const entryid_type dueca::entry_end = 0xffff
 Constant indicating last entry found.
 
const entryid_type dueca::entry_any = 0xffff
 Constant indicating any entry match is acceptable.
 
const entryid_type dueca::entry_bylabel = 0xfffe
 Constant indicating that entry should be selected by label.
 

Detailed Description

Definitions for specifying channel properties.

Function Documentation

◆ getclassname()

template<typename T >
const char * dueca::getclassname ( )

classname function, should exist for DCO objects

classname function, default for DCO objects