TwiceAsNice  2019-02-18
Public Member Functions | Public Attributes | Private Types | Private Attributes | List of all members
lffts::CFDEChannel< T > Class Template Reference

#include <lffde1N.h>

Collaboration diagram for lffts::CFDEChannel< T >:
Collaboration graph

Public Member Functions

 CFDEChannel ()
 
 ~CFDEChannel ()
 
long getSlotSize ()
 
bool create (const char *infoName, const char *dataName, const long nSlots, const long slotSize, const char *queuePrefix, const long queueSize)
 
bool open (const char *infoName, const time_t timeout)
 
void close ()
 
T * getFreeSlot (long &slot)
 
bool send (const long slot, const long imgNr)
 
T * receive (long &slot, long &imgNr)
 
void freeSlot (const long slot)
 
 CFDEChannel ()
 
 ~CFDEChannel ()
 
long getSlotSize ()
 
bool create (const char *infoName, const char *dataName, const long nSlots, const long slotSize, const char *queuePrefix, const long queueSize)
 
bool open (const char *infoName, const time_t timeout)
 
void close ()
 
T * getFreeSlot (long &slot)
 
bool send (const long slot, const long imgNr)
 
T * receive (long &slot, long &imgNr)
 
void freeSlot (const long slot)
 
 CFDEChannel ()
 
 ~CFDEChannel ()
 
long getSlotSize ()
 
bool create (const char *infoName, const char *dataName, const long nSlots, const long slotSize, const char *queuePrefix, const long queueSize)
 
bool open (const char *infoName, const time_t timeout)
 
void close ()
 
T * getFreeSlot (long &slot)
 
bool send (const long slot, const long imgNr)
 
T * receive (long &slot, long &imgNr)
 
void freeSlot (const long slot)
 

Public Attributes

long delays [NDELAYS]
 
long delays2 [NDELAYS2]
 
long delayMax
 

Private Types

enum  TMODE {
  UNDEFINED, OUTPUT, INPUT, UNDEFINED,
  OUTPUT, INPUT, UNDEFINED, OUTPUT,
  INPUT
}
 
enum  TMODE {
  UNDEFINED, OUTPUT, INPUT, UNDEFINED,
  OUTPUT, INPUT, UNDEFINED, OUTPUT,
  INPUT
}
 
enum  TMODE {
  UNDEFINED, OUTPUT, INPUT, UNDEFINED,
  OUTPUT, INPUT, UNDEFINED, OUTPUT,
  INPUT
}
 

Private Attributes

TMODE mode
 
char infoName [MAX_NAME_LEN]
 
int infoId
 
TFDE_INFOinfo
 
int dataId
 
T * data
 
mqd_t outQueues [MAX_CLIENTS]
 
long inQueueNr
 
mqd_t inQueue
 
timespec timeout
 

Member Enumeration Documentation

◆ TMODE [1/3]

template<class T>
enum lffts::CFDEChannel::TMODE
private
Enumerator
UNDEFINED 
OUTPUT 
INPUT 
UNDEFINED 
OUTPUT 
INPUT 
UNDEFINED 
OUTPUT 
INPUT 

◆ TMODE [2/3]

template<class T>
enum lffts::CFDEChannel::TMODE
private
Enumerator
UNDEFINED 
OUTPUT 
INPUT 
UNDEFINED 
OUTPUT 
INPUT 
UNDEFINED 
OUTPUT 
INPUT 

◆ TMODE [3/3]

template<class T>
enum lffts::CFDEChannel::TMODE
private
Enumerator
UNDEFINED 
OUTPUT 
INPUT 
UNDEFINED 
OUTPUT 
INPUT 
UNDEFINED 
OUTPUT 
INPUT 

Constructor & Destructor Documentation

◆ CFDEChannel() [1/3]

template<class T>
lffts::CFDEChannel< T >::CFDEChannel ( )
inline

◆ ~CFDEChannel() [1/3]

template<class T>
lffts::CFDEChannel< T >::~CFDEChannel ( )
inline

◆ CFDEChannel() [2/3]

template<class T>
lffts::CFDEChannel< T >::CFDEChannel ( )
inline

◆ ~CFDEChannel() [2/3]

template<class T>
lffts::CFDEChannel< T >::~CFDEChannel ( )
inline

◆ CFDEChannel() [3/3]

template<class T>
lffts::CFDEChannel< T >::CFDEChannel ( )
inline

◆ ~CFDEChannel() [3/3]

template<class T>
lffts::CFDEChannel< T >::~CFDEChannel ( )
inline

Member Function Documentation

◆ close() [1/3]

template<class T>
void lffts::CFDEChannel< T >::close ( )
inline

◆ close() [2/3]

template<class T>
void lffts::CFDEChannel< T >::close ( )
inline

◆ close() [3/3]

template<class T>
void lffts::CFDEChannel< T >::close ( )
inline

◆ create() [1/3]

template<class T>
bool lffts::CFDEChannel< T >::create ( const char *  infoName,
const char *  dataName,
const long  nSlots,
const long  slotSize,
const char *  queuePrefix,
const long  queueSize 
)
inline

◆ create() [2/3]

template<class T>
bool lffts::CFDEChannel< T >::create ( const char *  infoName,
const char *  dataName,
const long  nSlots,
const long  slotSize,
const char *  queuePrefix,
const long  queueSize 
)
inline

◆ create() [3/3]

template<class T>
bool lffts::CFDEChannel< T >::create ( const char *  infoName,
const char *  dataName,
const long  nSlots,
const long  slotSize,
const char *  queuePrefix,
const long  queueSize 
)
inline

◆ freeSlot() [1/3]

template<class T>
void lffts::CFDEChannel< T >::freeSlot ( const long  slot)
inline

◆ freeSlot() [2/3]

template<class T>
void lffts::CFDEChannel< T >::freeSlot ( const long  slot)
inline

◆ freeSlot() [3/3]

template<class T>
void lffts::CFDEChannel< T >::freeSlot ( const long  slot)
inline

◆ getFreeSlot() [1/3]

template<class T>
T* lffts::CFDEChannel< T >::getFreeSlot ( long slot)
inline

◆ getFreeSlot() [2/3]

template<class T>
T* lffts::CFDEChannel< T >::getFreeSlot ( long slot)
inline

◆ getFreeSlot() [3/3]

template<class T>
T* lffts::CFDEChannel< T >::getFreeSlot ( long slot)
inline

◆ getSlotSize() [1/3]

template<class T>
long lffts::CFDEChannel< T >::getSlotSize ( )
inline

◆ getSlotSize() [2/3]

template<class T>
long lffts::CFDEChannel< T >::getSlotSize ( )
inline

◆ getSlotSize() [3/3]

template<class T>
long lffts::CFDEChannel< T >::getSlotSize ( )
inline

◆ open() [1/3]

template<class T>
bool lffts::CFDEChannel< T >::open ( const char *  infoName,
const time_t  timeout 
)
inline

◆ open() [2/3]

template<class T>
bool lffts::CFDEChannel< T >::open ( const char *  infoName,
const time_t  timeout 
)
inline

◆ open() [3/3]

template<class T>
bool lffts::CFDEChannel< T >::open ( const char *  infoName,
const time_t  timeout 
)
inline

◆ receive() [1/3]

template<class T>
T* lffts::CFDEChannel< T >::receive ( long slot,
long imgNr 
)
inline

◆ receive() [2/3]

template<class T>
T* lffts::CFDEChannel< T >::receive ( long slot,
long imgNr 
)
inline

◆ receive() [3/3]

template<class T>
T* lffts::CFDEChannel< T >::receive ( long slot,
long imgNr 
)
inline

◆ send() [1/3]

template<class T>
bool lffts::CFDEChannel< T >::send ( const long  slot,
const long  imgNr 
)
inline

◆ send() [2/3]

template<class T>
bool lffts::CFDEChannel< T >::send ( const long  slot,
const long  imgNr 
)
inline

◆ send() [3/3]

template<class T>
bool lffts::CFDEChannel< T >::send ( const long  slot,
const long  imgNr 
)
inline

Member Data Documentation

◆ data

template<class T>
T * lffts::CFDEChannel< T >::data
private

◆ dataId

template<class T>
int lffts::CFDEChannel< T >::dataId
private

◆ delayMax

template<class T>
long lffts::CFDEChannel< T >::delayMax

◆ delays

template<class T>
long lffts::CFDEChannel< T >::delays

◆ delays2

template<class T>
long lffts::CFDEChannel< T >::delays2

◆ info

template<class T>
TFDE_INFO * lffts::CFDEChannel< T >::info
private

◆ infoId

template<class T>
int lffts::CFDEChannel< T >::infoId
private

◆ infoName

template<class T>
char lffts::CFDEChannel< T >::infoName
private

◆ inQueue

template<class T>
mqd_t lffts::CFDEChannel< T >::inQueue
private

◆ inQueueNr

template<class T>
long lffts::CFDEChannel< T >::inQueueNr
private

◆ mode

template<class T>
TMODE lffts::CFDEChannel< T >::mode
private

◆ outQueues

template<class T>
mqd_t lffts::CFDEChannel< T >::outQueues
private

◆ timeout

template<class T>
timespec lffts::CFDEChannel< T >::timeout
private

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