mavtables  0.2.1
MAVLink router and firewall.
Classes | Functions
If.hpp File Reference
#include <optional>
#include <string>
#include "MAVAddress.hpp"
#include "MAVSubnet.hpp"
#include "Packet.hpp"
Include dependency graph for If.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  If
 

Functions

bool operator== (const If &lhs, const If &rhs)
 
bool operator!= (const If &lhs, const If &rhs)
 
std::ostream & operator<< (std::ostream &os, const If &if_)
 

Function Documentation

◆ operator!=()

bool operator!= ( const If lhs,
const If rhs 
)

◆ operator<<()

std::ostream& operator<< ( std::ostream &  os,
const If if_ 
)

Print the If statement to the given output stream.

Some examples are:

  • if PING from 1.0/8 to 255.0
  • if HEARTBEAT from 255.0/8
  • if SET_MODE to 255.0
  • if from 255.0/8

Definition at line 224 of file If.cpp.

References mavlink::name().

Here is the call graph for this function:

◆ operator==()

bool operator== ( const If lhs,
const If rhs 
)