SDRAngel  4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
Classes | Macros
message.h File Reference
#include <stdlib.h>
#include "export.h"
+ Include dependency graph for message.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Message
 

Macros

#define MESSAGE_CLASS_DECLARATION
 
#define MESSAGE_CLASS_DEFINITION(Name, BaseClass)
 

Macro Definition Documentation

◆ MESSAGE_CLASS_DECLARATION

#define MESSAGE_CLASS_DECLARATION
Value:
public: \
const char* getIdentifier() const; \
bool matchIdentifier(const char* identifier) const; \
static bool match(const Message& message); \
protected: \
static const char* m_identifier; \
private:

Definition at line 43 of file message.h.

◆ MESSAGE_CLASS_DEFINITION

#define MESSAGE_CLASS_DEFINITION (   Name,
  BaseClass 
)
Value:
const char* Name::m_identifier = #Name; \
const char* Name::getIdentifier() const { return m_identifier; } \
bool Name::matchIdentifier(const char* identifier) const {\
return (m_identifier == identifier) ? true : BaseClass::matchIdentifier(identifier); \
} \
bool Name::match(const Message& message) { return message.matchIdentifier(m_identifier); }
virtual bool matchIdentifier(const char *identifier) const
Definition: message.cpp:40

Definition at line 52 of file message.h.

Referenced by log2f().