Skip to content

RandomDeviceReader

#include <xalgospp/scheduling/tasks/io.hh>
class RandomDeviceReader

Defined in src/lib/xalgospp/scheduling/tasks/io.hh:76

Name Kind Owner
RandomDeviceReader function Declared here
RandomDeviceReader function Declared here
RandomDeviceReader function Declared here
read_bytes function Declared here
m_fd variable Declared here
Return Name Description
RandomDeviceReader inline explicit
RandomDeviceReader Deleted constructor.
RandomDeviceReader inline noexcept
void read_bytes inline

inline explicit

inline explicit RandomDeviceReader(const char * device_path = "/dev/urandom")

Defined in src/lib/xalgospp/scheduling/tasks/io.hh:78


RandomDeviceReader(const RandomDeviceReader &) = delete

Defined in src/lib/xalgospp/scheduling/tasks/io.hh:92

Deleted constructor.


inline noexcept

inline RandomDeviceReader(RandomDeviceReader && other) noexcept

Defined in src/lib/xalgospp/scheduling/tasks/io.hh:95


inline

inline void read_bytes(void * dest, std::size_t bytes_to_read)

Defined in src/lib/xalgospp/scheduling/tasks/io.hh:110

Return Name Description
int m_fd

int m_fd { -1 }

Defined in src/lib/xalgospp/scheduling/tasks/io.hh:131