8 #include <libtrap/trap.h> 25 void init(
int& argc,
char** argv);
A class for sending UniRec records through a Trap interface.
void parseCommandLine(int &argc, char **argv, trap_ifc_spec_t &trapIfcSpec)
Unirec(const TrapModuleInfo &trapModuleInfo)
TrapModuleInfo m_trapModuleInfo
UnirecInputInterface buildInputInterface()
Builds and returns a UnirecInputInterface object if an input interface is available.
UnirecBidirectionalInterface buildBidirectionalInterface()
uint8_t m_availableInputInterfaces
void init(int &argc, char **argv)
A class that provides a bidirectional interface for sending and receiving unirec records.
Defines the UnirecOutputInterface class.
int16_t ur_field_id_t
Type of UniRec field identifiers.
uint8_t m_availableOutputInterfaces
Definition of UniRec structures and functions.
bool isBidirectionalInterfaceAvailable() const noexcept
bool isOutputInterfaceAvailable() const noexcept
Defines a bidirectional interface for sending and receiving unirec records using the TRAP interface p...
Contains the definition of the TrapModuleInfo class.
ur_field_id_t defineUnirecField(const std::string &fieldName, ur_field_type_t fieldType)
bool isInputInterfaceAvailable() const noexcept
Class representing information about a trap module.
UnirecOutputInterface buildOutputInterface()