DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
Process.cpp File Reference
#include <sys/wait.h>
#include <sys/types.h>
#include <unistd.h>
#include <sysexits.h>
#include <iostream>
#include <sstream>
#include "ers/ers.hpp"
#include "okssystem/exceptions.hpp"
#include "okssystem/Process.hpp"
Include dependency graph for Process.cpp:

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &out, const OksSystem::Process &proc)
 STL stream operator *‍/.
bool operator== (const OksSystem::Process &a, const OksSystem::Process &b) throw ()
bool operator!= (const OksSystem::Process &a, const OksSystem::Process &b) throw ()

Function Documentation

◆ operator!=()

bool operator!= ( const OksSystem::Process & a,
const OksSystem::Process & b )
throw ( )

Comparison operator

Parameters
afirst process to compare
bsecond process to compare
Returns
false if they are equal
See also
OksSystem::Process::equals

Definition at line 280 of file Process.cpp.

280 {
281 return ! a.equals(b);
282} // operator !=
bool equals(const Process &other) const
Comparison method.
Definition Process.cpp:198

◆ operator<<()

std::ostream & operator<< ( std::ostream & out,
const OksSystem::Process & proc )

STL stream operator *‍/.

Streaming operator

Parameters
outdestination stream
procthe process to stream
See also
Process::to_string()

Definition at line 257 of file Process.cpp.

257 {
258 out << proc.to_string();
259 return out;
260} // operator<<
std::string to_string() const
String conversion method.
Definition Process.cpp:237
FELIX Initialization std::string initerror FELIX queue timed out

◆ operator==()

bool operator== ( const OksSystem::Process & a,
const OksSystem::Process & b )
throw ( )

Comparison operator

Parameters
afirst process to compare
bsecond process to compare
Returns
true if they are equal
See also
OksSystem::Process::equals

Definition at line 269 of file Process.cpp.

269 {
270 return a.equals(b);
271} // operator ==