CTRE_Phoenix 5.20.2
ctre::phoenix::platform Namespace Reference

Namespaces

namespace  can
 

Classes

class  BaseSimPlatform
 

Enumerations

enum  DeviceType { kDeviceTypeListInitializer }
 

Functions

CTREXPORT std::string GetStackTrace (int offset)
 
CTREXPORT int32_t DisposePlatform ()
 
CTREXPORT int32_t StartPlatform ()
 
CTREXPORT int32_t SimCreate (DeviceType type, int id)
 
CTREXPORT int32_t SimDestroy (DeviceType type, int id)
 
CTREXPORT int32_t SimDestroyAll ()
 
CTREXPORT int32_t SimSetPhysicsInput (DeviceType type, int id, std::string const &physicsType, double value)
 
CTREXPORT int32_t SimGetPhysicsValue (DeviceType type, int id, std::string const &physicsType, double &value)
 
CTREXPORT int32_t SimGetLastError (DeviceType type, int id)
 
void ReportError (int isError, int32_t errorCode, int isLVCode, const char *details, const char *location, const char *callStack)
 

Detailed Description

platform namespace

Function Documentation

◆ GetStackTrace()

CTREXPORT std::string ctre::phoenix::platform::GetStackTrace ( int  offset)

Get a stack trace, ignoring the first "offset" symbols.

Parameters
offsetThe number of symbols at the top of the stack to ignore