|
CMSDK 2.0.1
Cross-platform C++ base library and SDK for the Psyclone AIOS platform
|
Implementation of the built-in internal cranks (see PsyInternal.h): ping/pong tests, shutdown, printing, message-script playback, stats logging and other system-service/diagnostic components dispatched by PsySpace. More...
#include "PsyInternal.h"Go to the source code of this file.
Namespaces | |
| namespace | cmlabs |
Functions | |
Built-in internal cranks | |
CrankFunction implementations registered by PsySpace under reserved names. Each takes the component's PsyAPI handle and returns an int8 status. | |
| int8 | cmlabs::Internal_Simple (PsyAPI *api) |
| Pass-through test crank: copies each incoming message to its posts. | |
| int8 | cmlabs::Internal_Ping (PsyAPI *api) |
| Latency test: posts pings, expects pongs. | |
| int8 | cmlabs::Internal_Pong (PsyAPI *api) |
| Latency test counterpart: answers pings. | |
| int8 | cmlabs::Internal_Shutdown (PsyAPI *api) |
| Initiates system shutdown when triggered. | |
| int8 | cmlabs::Internal_Print (PsyAPI *api) |
| Prints incoming messages to the console/log. | |
| int8 | cmlabs::Internal_Time (PsyAPI *api) |
| Posts time information/timestamps. | |
| int8 | cmlabs::Internal_SignalPing (PsyAPI *api) |
| Signal-based ping test. | |
| int8 | cmlabs::Internal_SignalPong (PsyAPI *api) |
| Signal-based pong counterpart. | |
| int8 | cmlabs::Internal_RetrieveTest (PsyAPI *api) |
| Exercises whiteboard retrieve calls. | |
| int8 | cmlabs::Internal_MessageScript (PsyAPI *api) |
| Plays back scripted TrackPlayerMessage sequences. | |
| int8 | cmlabs::Internal_QueryTest (PsyAPI *api) |
| Exercises query/queryReply round-trips. | |
| int8 | cmlabs::Internal_StatsLog (PsyAPI *api) |
| Periodically logs system statistics. | |
| int8 | cmlabs::Internal_BitmapPoster (PsyAPI *api) |
| Posts test bitmap/image messages. | |
| int8 | cmlabs::Internal_MessageToggler (PsyAPI *api) |
| Alternates/toggles message output for testing. | |
| int8 | cmlabs::Internal_MessageTypeConverter (PsyAPI *api) |
| Converts incoming messages to another type before reposting. | |
Implementation of the built-in internal cranks (see PsyInternal.h): ping/pong tests, shutdown, printing, message-script playback, stats logging and other system-service/diagnostic components dispatched by PsySpace.
Definition in file PsyInternal.cpp.