ngc 1.5.0
 
Loading...
Searching...
No Matches
ngcbEVT Class Reference

#include <ngcbIFC.hpp>

Public Member Functions

 ngcbEVT (const ngcbEVT &other)
 Copy constructor.
 
 ngcbEVT (size_t size)
 Constructor.
 
virtual ~ngcbEVT ()
 Destructor.
 
ngcbEVToperator= (const ngcbEVT &other)
 Operator =.
 
size_t Size ()
 Return number of list components.
 
void Add (const ngcb_evt_t &evt)
 Add event component.
 
void Add (int board, int addr, int mask, int reference, int cnd=1)
 Add explicit event (on board)
 
void Add (const ngcb_route_t &r, int addr, int mask, int reference, int cnd=1)
 Add explicit event (on board indexed by route)
 
void TimeStamp ()
 Event timestamp.
 
int Timeout ()
 Check for timeout.
 

Public Attributes

int id
 Event id.
 
int async
 Asynchronous event notification.
 
int cond
 Event condition: 0 = any, 1 = all (default)
 
int timeout
 Timeout (seconds)
 
int done
 Done.
 
ngcb_evt_tcomponent
 Device event components.
 

Detailed Description

Device event class

Constructor & Destructor Documentation

◆ ngcbEVT() [1/2]

ngcbEVT::ngcbEVT ( const ngcbEVT & other)
inline

Copy constructor.

◆ ngcbEVT() [2/2]

ngcbEVT::ngcbEVT ( size_t size)
inlineexplicit

Constructor.

◆ ~ngcbEVT()

virtual ngcbEVT::~ngcbEVT ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ Add() [1/3]

void ngcbEVT::Add ( const ngcb_evt_t & evt)
inline

Add event component.

◆ Add() [2/3]

void ngcbEVT::Add ( const ngcb_route_t & r,
int addr,
int mask,
int reference,
int cnd = 1 )
inline

Add explicit event (on board indexed by route)

◆ Add() [3/3]

void ngcbEVT::Add ( int board,
int addr,
int mask,
int reference,
int cnd = 1 )
inline

Add explicit event (on board)

◆ operator=()

ngcbEVT & ngcbEVT::operator= ( const ngcbEVT & other)
inline

Operator =.

◆ Size()

size_t ngcbEVT::Size ( )
inline

Return number of list components.

◆ Timeout()

int ngcbEVT::Timeout ( )
inline

Check for timeout.

◆ TimeStamp()

void ngcbEVT::TimeStamp ( )
inline

Event timestamp.

Member Data Documentation

◆ async

int ngcbEVT::async

Asynchronous event notification.

◆ component

ngcb_evt_t* ngcbEVT::component

Device event components.

◆ cond

int ngcbEVT::cond

Event condition: 0 = any, 1 = all (default)

◆ done

int ngcbEVT::done

Done.

◆ id

int ngcbEVT::id

Event id.

◆ timeout

int ngcbEVT::timeout

Timeout (seconds)


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