phaser-server  0.0.4
Protected Member Functions | Protected Attributes | List of all members
JobNotice Class Reference

Abstract RF phasing job related notice. More...

#include <notify.h>

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

Protected Member Functions

 JobNotice (const char *value, const PhaseJob *job)
 Initialize value of 'notification' tag and the RF phasing job.
 
void AddDate (JSONObject &, const char *, time_t)
 Add date information to the passed JSON object. More...
 
- Protected Member Functions inherited from JsonNotice
virtual void Create (JSONObject &)=0
 

Protected Attributes

const PhaseJobm_job
 Job whose status is to be reported.
 

Additional Inherited Members

- 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.
 

Detailed Description

Abstract RF phasing job related notice.

Member Function Documentation

◆ AddDate()

void JobNotice::AddDate ( JSONObject &  root,
const char *  tag,
time_t  date 
)
protected

Add date information to the passed JSON object.

Parameters
root- JSON object to be updated.
tag- Identifier tag of the date value.
date- UNIX format date.

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