DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
Process.hpp File Reference
#include <sys/types.h>
#include <string>
Include dependency graph for Process.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  OksSystem::Process
 Wrapper for process manipulation. More...
 

Namespaces

namespace  OksSystem
 

Functions

std::ostream & operator<< (std::ostream &stream, 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 275 of file Process.cpp.

275 {
276 return ! a.equals(b);
277} // operator !=
bool equals(const Process &other) const
Comparison method.
Definition Process.cpp:193

◆ 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 252 of file Process.cpp.

252 {
253 out << proc.to_string();
254 return out;
255} // operator<<
std::string to_string() const
String conversion method.
Definition Process.cpp:232
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 264 of file Process.cpp.

264 {
265 return a.equals(b);
266} // operator ==