Conscience Core
Classes | Typedefs | Functions
conscience_core::bridging::commands::result Namespace Reference

Classes

struct  CommandResultsMetadataByIdMutexUniqueType
 
class  CscCommandExecutionResult
 
class  CscCommandExecutionResultBinary
 
class  CscCommandExecutionResultBool
 
class  CscCommandExecutionResultDouble
 
class  CscCommandExecutionResultFile
 
class  CscCommandExecutionResultList
 
class  CscCommandExecutionResultLong
 
class  CscCommandExecutionResultNone
 
class  CscCommandExecutionResultObject
 
class  CscCommandExecutionResultPositions
 
class  CscCommandExecutionResultSequence
 
class  CscCommandExecutionResultString
 
class  CscCommandExecutionResultUnsignedLong
 
class  CscCommandResultMetadata
 

Typedefs

using CommandResultsMetadataByIdMutex = shared_recursive_mutex_t< CommandResultsMetadataByIdMutexUniqueType >
 

Functions

string commandResultTypeToString (CscCommandResultType type)
 
 ENUM (CscCommandResultType, RESULT_NONE, RESULT_SEQUENCE, RESULT_POSITIONS, RESULT_FILE, RESULT_STRING, RESULT_BINARY, RESULT_OBJECT, RESULT_LIST, RESULT_BOOL, RESULT_LONG, RESULT_UNSIGNEDLONG, RESULT_DOUBLEFLOAT)
 
CommandResultsMetadataByIdMutexcommandResultsMetadataByIdMutex ()
 
map< string, const CscCommandResultMetadata * > & commandResultsMetadataById ()
 
const CscCommandResultMetadataregisterCommandResultMetadata (const string &commandId, const CscCommandResultMetadata *metadata)
 

Typedef Documentation

◆ CommandResultsMetadataByIdMutex

Function Documentation

◆ commandResultsMetadataById()

map<string, const CscCommandResultMetadata *>& conscience_core::bridging::commands::result::commandResultsMetadataById ( )
inline

◆ commandResultsMetadataByIdMutex()

CommandResultsMetadataByIdMutex& conscience_core::bridging::commands::result::commandResultsMetadataByIdMutex ( )
inline

◆ commandResultTypeToString()

string conscience_core::bridging::commands::result::commandResultTypeToString ( CscCommandResultType  type)

◆ ENUM()

conscience_core::bridging::commands::result::ENUM ( CscCommandResultType  ,
RESULT_NONE  ,
RESULT_SEQUENCE  ,
RESULT_POSITIONS  ,
RESULT_FILE  ,
RESULT_STRING  ,
RESULT_BINARY  ,
RESULT_OBJECT  ,
RESULT_LIST  ,
RESULT_BOOL  ,
RESULT_LONG  ,
RESULT_UNSIGNEDLONG  ,
RESULT_DOUBLEFLOAT   
)

Describes type of result produced by a command. There is no distinction between float/double and long/int, we always use maximum precision for the system

◆ registerCommandResultMetadata()

const CscCommandResultMetadata* conscience_core::bridging::commands::result::registerCommandResultMetadata ( const string &  commandId,
const CscCommandResultMetadata metadata 
)
inline