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 isInputInterfaceAvailable() const noexcept
ur_field_id_t defineUnirecField(const std::string &fieldName, ur_field_type_t fieldType)
bool isBidirectionalInterfaceAvailable() const noexcept
UnirecBidirectionalInterface buildBidirectionalInterface()
uint8_t m_availableOutputInterfaces
UnirecInputInterface buildInputInterface()
Builds and returns a UnirecInputInterface object if an input interface is available.
TrapModuleInfo m_trapModuleInfo
void init(int &argc, char **argv)
void parseCommandLine(int &argc, char **argv, trap_ifc_spec_t &trapIfcSpec)
bool isOutputInterfaceAvailable() const noexcept
UnirecOutputInterface buildOutputInterface()
uint8_t m_availableInputInterfaces
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.