![]() |
Developer Application Interface (ARC API) v4.5.8
ARC, Inc. GenIV Application Interface
|
#include <CArcBoardMap.h>
Public Member Functions | |
CArcBoardMap (const uint32_t *pMapData, const std::int32_t iLength) | |
CArcBoardMap (void)=delete | |
CArcBoardMap (const CArcBoardMap &tBoardMap) | |
CArcBoardMap & | operator= (const CArcBoardMap &tBoardMap) |
CArcBoardMap (CArcBoardMap &&tBoardMap) noexcept | |
CArcBoardMap & | operator= (CArcBoardMap &&tBoardMap) noexcept |
~CArcBoardMap (void)=default | |
std::weak_ptr< std::vector< std::uint32_t > > | findBoard (const std::uint32_t uiBoard) const |
std::unique_ptr< std::vector< std::uint32_t > > | boardNumbers (void) const |
const std::string | toString (void) const noexcept |
![]() | |
virtual | ~CArcBase (void) |
Additional Inherited Members | |
![]() | |
static const std::string | version (void) |
static void | zeroMemory (void *pDest, std::size_t uiSize) |
static void | copyMemory (void *pDest, void *pSrc, std::size_t uiSize) |
template<typename T > | |
static std::tuple< T *, T * > | copyAndIncrement (void *pDest, void *pSrc, const std::size_t uiSize) |
template<typename ErrCode > requires std::is_integral_v<ErrCode> | |
static const std::string | getSystemErrorMessage (ErrCode iErrCode) |
static const std::string | getSystemErrorMessage (void) |
static std::uint32_t | getSystemError (void) noexcept |
static pStringList_t | splitString (const std::string &sString, const char &zDelim=' ') |
static std::string | formatString (const char *pszFmt,...) |
static const std::filesystem::path | incrementFileName (const std::filesystem::path &tFilePath="", const std::int32_t iStartValue=-1) |
static std::string | convertWideToAnsi (const wchar_t wzString[]) noexcept |
static std::string | convertWideToAnsi (const std::wstring &wsString) |
static std::wstring | convertAnsiToWide (const char *pszString) |
static std::string | cmdToString (const std::uint32_t uiCmd) |
template<typename T > | |
static std::string | iterToString (T *begin, T *end, const char zSeperator=' ') |
static std::string | setDots (const std::string &sText, const std::size_t uiMaxLength, const char szDot='.') |
static std::string | trim (const std::string &sText) noexcept |
static const std::chrono::time_point< std::chrono::high_resolution_clock > | startCodeTime (void) noexcept |
template<typename T > | |
static constexpr auto | endCodeTime (const std::chrono::time_point< std::chrono::high_resolution_clock > tStartTimePoint) noexcept |
![]() | |
CArcBase (void)=default | |
CArcBase (const CArcBase &)=delete | |
CArcBase (CArcBase &&)=delete | |
CArcBase & | operator= (const CArcBase &)=delete |
CArcBase & | operator= (CArcBase &&)=delete |
![]() | |
static const std::string | m_sVersion |
Controller board mapping class. This class describes the board locations in the controller.
Definition at line 36 of file CArcBoardMap.h.
arc::gen4::CArcBoardMap::CArcBoardMap | ( | const uint32_t * | pMapData, |
const std::int32_t | iLength | ||
) |
Constructor
pMapData | - The controller mapping data as returned by the 'GBMP' command. Bits 0-28 of each data value are the ARC board number, while bits 28-31 are the board slot number (position) within the controller stack. |
iLength | - The number of 32-bit dwords in the map data parameter |
|
delete |
Delete default constructor
arc::gen4::CArcBoardMap::CArcBoardMap | ( | const CArcBoardMap & | tBoardMap | ) |
Copy constructor
tBoardMap | - The CArcBoardMap to copy into this instance. |
|
noexcept |
Move constructor
|
default |
Default destructor
CArcBoardMap & arc::gen4::CArcBoardMap::operator= | ( | const CArcBoardMap & | tBoardMap | ) |
Copy assignment constructor
|
noexcept |
Move assignment constructor
std::weak_ptr< std::vector< std::uint32_t > > arc::gen4::CArcBoardMap::findBoard | ( | const std::uint32_t | uiBoard | ) | const |
Find all the slot positions for the specified ARC board number.
uiBoard | - The ARC board number to search for. Can be one of 420 (timing), 430 (clock driver), 440 (video) or 480 (power supply). |
std::out_of_range |
std::unique_ptr< std::vector< std::uint32_t > > arc::gen4::CArcBoardMap::boardNumbers | ( | void | ) | const |
Returns all the ARC board numbers from the mapping
Any | exception thrown by std::vector |
|
noexcept |
Return a string representation for the board mapping. The format of this mapping may change at any time.