AJA NTV2 SDK  17.0.1.1246
NTV2 SDK 17.0.1.1246
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
infoimpl.cpp File Reference

Implements the AJASystemInfoImpl class on the Linux platform. More...

#include "ajabase/system/linux/infoimpl.h"
#include "ajabase/system/file_io.h"
#include "ajabase/system/info.h"
#include <sstream>
#include <cstdlib>
#include <stdexcept>
#include <unistd.h>
Include dependency graph for infoimpl.cpp:

Go to the source code of this file.

Functions

std::string aja_cmd (const char *cmd)
 
std::string aja_procfs (const char *procfs_file, const char *value_key)
 
std::string aja_uptime ()
 
std::string aja_productname ()
 
std::string aja_osversion ()
 
void get_vendor_and_device (std::map< std::string, std::string > &inDevicePart, std::vector< std::string > &outFoundDevices)
 
std::string aja_getgputype ()
 

Detailed Description

Implements the AJASystemInfoImpl class on the Linux platform.

Definition in file infoimpl.cpp.

Function Documentation

◆ aja_cmd()

std::string aja_cmd ( const char *  cmd)

Definition at line 15 of file infoimpl.cpp.

◆ aja_getgputype()

std::string aja_getgputype ( )

Definition at line 157 of file infoimpl.cpp.

◆ aja_osversion()

std::string aja_osversion ( )

Definition at line 116 of file infoimpl.cpp.

◆ aja_procfs()

std::string aja_procfs ( const char *  procfs_file,
const char *  value_key 
)

Definition at line 53 of file infoimpl.cpp.

◆ aja_productname()

std::string aja_productname ( )

Definition at line 91 of file infoimpl.cpp.

◆ aja_uptime()

std::string aja_uptime ( )

Definition at line 71 of file infoimpl.cpp.

◆ get_vendor_and_device()

void get_vendor_and_device ( std::map< std::string, std::string > &  inDevicePart,
std::vector< std::string > &  outFoundDevices 
)

Definition at line 135 of file infoimpl.cpp.