libadc-cxx 1.0.0
Structured logging for scientific computing
Loading...
Searching...
No Matches
Namespaces | Functions
adcHelloWorldAuto.cpp File Reference
#include "adc/factory.hpp"
#include <cstring>
#include <cerrno>
#include <limits>
Include dependency graph for adcHelloWorldAuto.cpp:

Go to the source code of this file.

Namespaces

namespace  adc_examples
 
namespace  adc_examples::adcHelloWorldAuto
 

Functions

int adc_examples::adcHelloWorldAuto::main (int, char **)
 adc c++ hello world without hard-coded publisher choices.
 
int main (int argc, char **argv)
 

Detailed Description

This demonstrates using the adc::factory API to build and publish a message. The message sent includes the bare minimum, plus hello world. This exammple captures the case where control of publication methods is deferred to the application environment variables seen at runtime.

Definition in file adcHelloWorldAuto.cpp.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 73 of file adcHelloWorldAuto.cpp.