COSMOS core  1.0.2 (beta)
Comprehensive Open-architecture Solution for Mission Operations Systems
Cosmos::Support Namespace Reference

Namespaces

 Command
 

Classes

class  Agent
 
class  CommandQueue
 Class to manage information about a queue of Events. More...
 
class  Json
 
class  Scheduler
 

Functions

std::ostream & operator<< (std::ostream &out, CommandQueue &cmdq)
 Extraction operator. More...
 

Function Documentation

std::ostream& Cosmos::Support::operator<< ( std::ostream &  out,
CommandQueue cmdq 
)

Extraction operator.

Parameters
outReference to ostream
cmdqReference to CommandQueue (JIMNOTE: should be const, ya?)
Returns
Reference to modified ostream

Writes the given CommandQueue to the given output stream (in JSON format) and returns a reference to the modified ostream.

548  {
549  for(std::list<Event>::iterator ii = cmdq.commands.begin(); ii != cmdq.commands.end(); ++ii)
550  out << *ii << std::endl;
551  return out;
552  }
std::list< Event > commands
Definition: command_queue.h:61