36 uint16_t default_periodms = 100,
bool default_enabled =
false);
51 virtual void CopyDatas(
char *buf)
const = 0;
53 size_t SendSize(
void)
const;
54 uint16_t SendPeriod(
void)
const;
55 bool IsEnabled(
void)
const;
89 void SetSendPeriod(uint16_t value);
90 void SetEnabled(
bool value);
92 class SendData_impl *pimpl_;
SendData(const LayoutPosition *position, std::string name, std::string type, uint16_t default_periodms=100, bool default_enabled=false)
Constructor.
namespace of the flair Framework
Definition: Ahrs.h:19
virtual void ExtraXmlEvent(void)=0
Extra Xml event.
virtual ~SendData()
Destructor.
Class to define a position in a layout on the ground station.
Definition: LayoutPosition.h:28
virtual void CopyDatas(char *buf) const =0
Copy datas to specified buffer.
void SetSendSize(size_t value)
Notify that SenData's datas have changed.
Abstract class for sending datas to ground station.
Definition: SendData.h:29