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