#include <scheduler.h>
      
        
          | Cosmos::Support::Scheduler::Scheduler | ( | string | node_name | ) |  | 
      
 
Agent * agent
Definition: scheduler.h:59
beatstruc agent_exec_soh
Definition: scheduler.h:60
string node_name
Definition: agent_001.cpp:46
Definition: agentclass.h:139
beatstruc find_agent(string node, string agent, double waitsec=0.)
Find agent. 
Definition: agentclass.cpp:559
 
 
      
        
          | Cosmos::Support::Scheduler::~Scheduler | ( |  | ) |  | 
      
 
 
      
        
          | void Cosmos::Support::Scheduler::addEvent | ( | string | name, | 
        
          |  |  | string | data, | 
        
          |  |  | double | utc, | 
        
          |  |  | string | condition, | 
        
          |  |  | uint32_t | flag | 
        
          |  | ) |  |  | 
      
 
   64                 cout << 
"could not find agent exec" << endl;
    71             cout << 
"event set: " << endl;
 Agent * agent
Definition: scheduler.h:59
Class to manage Event information. 
Definition: event.h:57
int32_t send_request(beatstruc cbeat, string request, string &output, float waitsec=5.)
Send a request over AGENT. 
Definition: agentclass.cpp:424
string generator(string name, string data, double utc, string condition, uint32_t flag)
Definition: event.cpp:53
beatstruc agent_exec_soh
Definition: scheduler.h:60
bool exists
Existence Flag (if beat exists then flag is set to true, false otherwise) 
Definition: jsondef.h:950
string name
Definition: cubesat2obj.cpp:6
string event_string
Definition: event.h:79
double mjd
Definition: udp_send.cpp:41
 
 
      
        
          | void Cosmos::Support::Scheduler::addEvent | ( | Event | event | ) |  | 
      
 
uint32_t flag
Definition: event.h:70
string name
Definition: event.h:66
double mjd
Definition: event.h:62
string data
Definition: event.h:72
string condition
Definition: event.h:74
void addEvent(string name, string data, double utc, string condition, uint32_t flag)
Definition: scheduler.cpp:52
 
 
      
        
          | void Cosmos::Support::Scheduler::deleteEvent | ( | string | name, | 
        
          |  |  | string | data, | 
        
          |  |  | double | utc, | 
        
          |  |  | string | condition, | 
        
          |  |  | uint32_t | flag | 
        
          |  | ) |  |  | 
      
 
   93                 cout << 
"could not find agent exec" << endl;
   100             cout << 
"event deleted: " << out << endl;
 Agent * agent
Definition: scheduler.h:59
Class to manage Event information. 
Definition: event.h:57
int32_t send_request(beatstruc cbeat, string request, string &output, float waitsec=5.)
Send a request over AGENT. 
Definition: agentclass.cpp:424
string generator(string name, string data, double utc, string condition, uint32_t flag)
Definition: event.cpp:53
beatstruc agent_exec_soh
Definition: scheduler.h:60
bool exists
Existence Flag (if beat exists then flag is set to true, false otherwise) 
Definition: jsondef.h:950
string name
Definition: cubesat2obj.cpp:6
string event_string
Definition: event.h:79
double mjd
Definition: udp_send.cpp:41
 
 
      
        
          | void Cosmos::Support::Scheduler::deleteEvent | ( | Event | event | ) |  | 
      
 
uint32_t flag
Definition: event.h:70
string name
Definition: event.h:66
double mjd
Definition: event.h:62
void deleteEvent(string name, string data, double utc, string condition, uint32_t flag)
Definition: scheduler.cpp:80
string data
Definition: event.h:72
string condition
Definition: event.h:74
 
 
      
        
          | int Cosmos::Support::Scheduler::getEventQueueSize | ( |  | ) |  | 
      
 
  110                 cout << 
"could not find agent exec" << endl;
   118             int queue_size = 
str.getFieldNumberAsInteger(1);
   119             cout << 
"Event queue size: " << queue_size << endl;
 Agent * agent
Definition: scheduler.h:59
int32_t send_request(beatstruc cbeat, string request, string &output, float waitsec=5.)
Send a request over AGENT. 
Definition: agentclass.cpp:424
beatstruc agent_exec_soh
Definition: scheduler.h:60
const string & str
Definition: json11.cpp:360
bool exists
Existence Flag (if beat exists then flag is set to true, false otherwise) 
Definition: jsondef.h:950
Definition: stringlib.h:89
 
 
      
        
          | void Cosmos::Support::Scheduler::getEventQueue | ( |  | ) |  | 
      
 
  126                 cout << 
"could not find agent exec" << endl;
   135             cout << endl << 
"queue list: " << endl << out << endl;
 Agent * agent
Definition: scheduler.h:59
int32_t send_request(beatstruc cbeat, string request, string &output, float waitsec=5.)
Send a request over AGENT. 
Definition: agentclass.cpp:424
beatstruc agent_exec_soh
Definition: scheduler.h:60
bool exists
Existence Flag (if beat exists then flag is set to true, false otherwise) 
Definition: jsondef.h:950
 
 
  
  | 
        
          | Agent* Cosmos::Support::Scheduler::agent |  | private | 
 
 
  
  | 
        
          | beatstruc Cosmos::Support::Scheduler::agent_exec_soh |  | private | 
 
 
The documentation for this class was generated from the following files: