phaser-server  0.0.4
Public Member Functions | Protected Member Functions | List of all members
StatusNotice Class Reference

RF phasing Job status message. More...

#include <notify.h>

Inheritance diagram for StatusNotice:
Inheritance graph
[legend]
Collaboration diagram for StatusNotice:
Collaboration graph
[legend]

Public Member Functions

 StatusNotice (const std::string &message, bool alert)
 Construct a status notification with a message (can be null).
 
- Public Member Functions inherited from JsonNotice
 JsonNotice (const char *value)
 Initialize the value of the 'notification' tag.
 
std::string operator() (void)
 Get the JSON encoded response string.
 

Protected Member Functions

virtual void Create (JSONObject &) override
 Add the associated message (or null) as 'message'. More...
 

Detailed Description

RF phasing Job status message.

Note
A copy of the passed message is not made, it must stay in scope for the lifetime of the object.

Member Function Documentation

◆ Create()

void StatusNotice::Create ( JSONObject &  root)
overrideprotectedvirtual

Add the associated message (or null) as 'message'.

Parameters
root- JSON object to be updated.

Implements JsonNotice.


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