dxd - dynax driver framework 3.0.1d223
cross platform open source driver development framework
Loading...
Searching...
No Matches
dx::__scalar< type_t, resolution > Struct Template Reference

an integer of a width the language has none for - dx::int24/dx::uint24, packed into its own bytes because a bit field of a packed struct still costs four bytes here More...

#include <dx_platform.h>

Classes

union  cast

Public Member Functions

 __scalar ()
 __scalar (type_t data)
 operator type_t () const
 operator type_t () const volatile
__scalar & operator= (type_t data)
volatile __scalar & operator= (type_t data) volatile

Protected Attributes

char data [(resolution+7)/8]

Detailed Description

template<typename type_t, int resolution>
struct dx::__scalar< type_t, resolution >

an integer of a width the language has none for - dx::int24/dx::uint24, packed into its own bytes because a bit field of a packed struct still costs four bytes here

Constructor & Destructor Documentation

◆ __scalar() [1/2]

template<typename type_t, int resolution>
dx::__scalar< type_t, resolution >::__scalar ( )
inline

◆ __scalar() [2/2]

template<typename type_t, int resolution>
dx::__scalar< type_t, resolution >::__scalar ( type_t data)
inline

Member Function Documentation

◆ operator type_t() [1/2]

template<typename type_t, int resolution>
dx::__scalar< type_t, resolution >::operator type_t ( ) const
inline

◆ operator type_t() [2/2]

template<typename type_t, int resolution>
dx::__scalar< type_t, resolution >::operator type_t ( ) const volatile
inline

◆ operator=() [1/2]

template<typename type_t, int resolution>
__scalar & dx::__scalar< type_t, resolution >::operator= ( type_t data)
inline

◆ operator=() [2/2]

template<typename type_t, int resolution>
volatile __scalar & dx::__scalar< type_t, resolution >::operator= ( type_t data) volatile
inline

Member Data Documentation

◆ data

template<typename type_t, int resolution>
char dx::__scalar< type_t, resolution >::data[(resolution+7)/8]
protected

The documentation for this struct was generated from the following file:

(c) copyright 2009 dynamic acoustics e.U. generated on

a closed source license may be obtained by requesting a written permission from dynamic acoustics e.U.
however - governmental use generally and military use especially is strictly prohibited though.