OpenJAUS SAE SDK  6.0.0
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
openjaus::transport::FilterObject Class Reference

#include <FilterObject.h>

Public Member Functions

 FilterObject ()
 
 FilterObject (const std::string &name, uint32 commandCode, double maxRate_hz, bool blocked, Priority priority)
 
 FilterObject (const FilterObject &other)
 
virtual ~FilterObject ()
 
bool isEnabled () const
 
void setEnabled (bool value)
 
double getAllowedRate_hz () const
 
uint16 getCommandCode () const
 
bool isAllowed () const
 
Priority getPriority () const
 
std::string getName () const
 
bool shouldFilter (Wrapper *wrapper)
 
virtual std::string toString () const
 

Private Member Functions

void updatePriority (Wrapper *wrapper)
 

Private Attributes

std::string name
 
uint16 commandCode
 
double allowedRate_hz
 
bool blocked
 
Priority priority
 
bool enabled
 
uint64 timeout_ms
 
std::map< transport::Address, uint64timestampMap
 

Friends

OPENJAUS_EXPORT friend std::ostream & operator<< (std::ostream &output, const FilterObject &object)
 
OPENJAUS_EXPORT friend std::ostream & operator<< (std::ostream &output, const FilterObject *object)
 

Constructor & Destructor Documentation

◆ FilterObject() [1/3]

openjaus::transport::FilterObject::FilterObject ( )

◆ FilterObject() [2/3]

openjaus::transport::FilterObject::FilterObject ( const std::string &  name,
uint32  commandCode,
double  maxRate_hz,
bool  blocked,
Priority  priority 
)

◆ FilterObject() [3/3]

openjaus::transport::FilterObject::FilterObject ( const FilterObject other)

◆ ~FilterObject()

openjaus::transport::FilterObject::~FilterObject ( )
virtual

Member Function Documentation

◆ getAllowedRate_hz()

double openjaus::transport::FilterObject::getAllowedRate_hz ( ) const

◆ getCommandCode()

uint16 openjaus::transport::FilterObject::getCommandCode ( ) const

◆ getName()

std::string openjaus::transport::FilterObject::getName ( ) const

◆ getPriority()

Priority openjaus::transport::FilterObject::getPriority ( ) const

◆ isAllowed()

bool openjaus::transport::FilterObject::isAllowed ( ) const

◆ isEnabled()

bool openjaus::transport::FilterObject::isEnabled ( ) const

◆ setEnabled()

void openjaus::transport::FilterObject::setEnabled ( bool  value)

◆ shouldFilter()

bool openjaus::transport::FilterObject::shouldFilter ( Wrapper wrapper)

◆ toString()

std::string openjaus::transport::FilterObject::toString ( ) const
virtual

◆ updatePriority()

void openjaus::transport::FilterObject::updatePriority ( Wrapper wrapper)
private

Friends And Related Function Documentation

◆ operator<< [1/2]

OPENJAUS_EXPORT friend std::ostream& operator<< ( std::ostream &  output,
const FilterObject object 
)
friend

◆ operator<< [2/2]

OPENJAUS_EXPORT friend std::ostream& operator<< ( std::ostream &  output,
const FilterObject object 
)
friend

Member Data Documentation

◆ allowedRate_hz

double openjaus::transport::FilterObject::allowedRate_hz
private

◆ blocked

bool openjaus::transport::FilterObject::blocked
private

◆ commandCode

uint16 openjaus::transport::FilterObject::commandCode
private

◆ enabled

bool openjaus::transport::FilterObject::enabled
private

◆ name

std::string openjaus::transport::FilterObject::name
private

◆ priority

Priority openjaus::transport::FilterObject::priority
private

◆ timeout_ms

uint64 openjaus::transport::FilterObject::timeout_ms
private

◆ timestampMap

std::map<transport::Address, uint64> openjaus::transport::FilterObject::timestampMap
private

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