![]() |
helics
3.4.0
|
Data structures for the C api. More...
Go to the source code of this file.
Classes | |
struct | HelicsComplex |
struct | HelicsError |
Typedefs | |
typedef void * | HelicsInput |
typedef void * | HelicsPublication |
typedef void * | HelicsEndpoint |
typedef void * | HelicsFilter |
typedef void * | HelicsTranslator |
typedef void * | HelicsCore |
typedef void * | HelicsBroker |
typedef void * | HelicsFederate |
typedef void * | HelicsFederateInfo |
typedef void * | HelicsQuery |
typedef void * | HelicsDataBuffer |
typedef void * | HelicsQueryBuffer |
typedef void * | HelicsMessage |
typedef double | HelicsTime |
typedef int | HelicsBool |
typedef struct HelicsComplex | HelicsComplex |
typedef struct HelicsError | HelicsError |
Enumerations | |
enum | HelicsIterationRequest { HELICS_ITERATION_REQUEST_NO_ITERATION = 0, HELICS_ITERATION_REQUEST_FORCE_ITERATION = 1, HELICS_ITERATION_REQUEST_ITERATE_IF_NEEDED = 2, HELICS_ITERATION_REQUEST_HALT_OPERATIONS = 5, HELICS_ITERATION_REQUEST_ERROR = 7 } |
enum | HelicsIterationResult { HELICS_ITERATION_RESULT_NEXT_STEP = 0, HELICS_ITERATION_RESULT_ERROR = 1, HELICS_ITERATION_RESULT_HALTED = 2, HELICS_ITERATION_RESULT_ITERATING = 3 } |
enum | HelicsFederateState { HELICS_STATE_UNKNOWN = -1, HELICS_STATE_STARTUP = 0, HELICS_STATE_INITIALIZATION = 1, HELICS_STATE_EXECUTION = 2, HELICS_STATE_FINALIZE = 3, HELICS_STATE_ERROR = 4, HELICS_STATE_PENDING_INIT = 5, HELICS_STATE_PENDING_EXEC = 6, HELICS_STATE_PENDING_TIME = 7, HELICS_STATE_PENDING_ITERATIVE_TIME = 8, HELICS_STATE_PENDING_FINALIZE = 9, HELICS_STATE_FINISHED = 10 } |
Variables | |
const HelicsTime | HELICS_TIME_ZERO = 0.0 |
const HelicsTime | HELICS_TIME_EPSILON = 1.0e-9 |
const HelicsTime | HELICS_TIME_INVALID = -1.785e39 |
const HelicsTime | HELICS_TIME_MAXTIME = HELICS_BIG_NUMBER |
const HelicsBool | HELICS_TRUE = 1 |
const HelicsBool | HELICS_FALSE = 0 |
Data structures for the C api.
typedef int HelicsBool |
defining a boolean type for use in the helics interface
typedef void* HelicsBroker |
opaque object representing a broker
typedef struct HelicsComplex HelicsComplex |
structure defining a basic complex type
typedef void* HelicsCore |
opaque object representing a core
typedef void* HelicsDataBuffer |
opaque object representing a data buffer in HELICS
typedef void* HelicsEndpoint |
opaque object representing an endpoint
typedef struct HelicsError HelicsError |
helics error object
if error_code==0 there is no error, if error_code!=0 there is an error and message will contain a string, otherwise it will be an empty string
typedef void* HelicsFederate |
opaque object representing a federate
typedef void* HelicsFederateInfo |
opaque object representing a filter info object structure
typedef void* HelicsFilter |
opaque object representing a filter
typedef void* HelicsInput |
opaque object representing an input
typedef void* HelicsMessage |
opaque object representing a message
typedef void* HelicsPublication |
opaque object representing a publication
typedef void* HelicsQuery |
opaque object representing a query
typedef void* HelicsQueryBuffer |
opaque object representing a string buffer for a query
typedef double HelicsTime |
time definition used in the C interface to helics
typedef void* HelicsTranslator |
opaque object representing a translator
enum HelicsFederateState |
enumeration of possible federate states
enumeration of the different iteration results
enumeration of possible return values from an iterative time request
const HelicsBool HELICS_FALSE = 0 |
indicator used for a false response
Referenced by helicscpp::Federate::getFlagOption(), helicsBrokerIsConnected(), helicsBrokerIsValid(), helicsBrokerWaitForDisconnect(), helicsCoreConnect(), helicsCoreIsConnected(), helicsCoreIsValid(), helicsCoreWaitForDisconnect(), helicsFederateSetTimeUpdateCallback(), helicsInputGetBoolean(), helicsInputGetOption(), helicsInputIsUpdated(), helicsInputIsValid(), helicsInputSetDefaultBoolean(), helicsIsCoreTypeAvailable(), helicsLoadSignalHandlerCallback(), helicsLoadSignalHandlerCallbackNoExit(), helicsPublicationGetOption(), helicsPublicationIsValid(), helicsPublicationPublishBoolean(), helicscpp::Federate::isAsyncOperationCompleted(), helicscpp::Core::isConnected(), helicscpp::Broker::isConnected(), helicscpp::Publication::publish(), helicscpp::Input::setDefault(), helicscpp::Message::setFlag(), helicscpp::FederateInfo::setFlagOption(), helicscpp::Federate::setFlagOption(), helicscpp::Core::waitForDisconnect(), and helicscpp::Broker::waitForDisconnect().
const HelicsTime HELICS_TIME_EPSILON = 1.0e-9 |
definition of the minimum time resolution
const HelicsTime HELICS_TIME_INVALID = -1.785e39 |
definition of an invalid time that has no meaning
Referenced by helicsInputGetComplexObject(), helicsInputGetDouble(), helicsInputGetTime(), and helicsInputLastUpdateTime().
const HelicsTime HELICS_TIME_MAXTIME = HELICS_BIG_NUMBER |
definition of time signifying the federate has terminated or run until the end of the simulation
const HelicsTime HELICS_TIME_ZERO = 0.0 |
definition of time zero-the beginning of simulation
const HelicsBool HELICS_TRUE = 1 |
indicator used for a true response
Referenced by helicscpp::Broker::Broker(), helicscpp::Input::getBoolean(), helicscpp::Message::getFlagOption(), helicsBrokerIsConnected(), helicsBrokerIsValid(), helicsBrokerWaitForDisconnect(), helicsCoreConnect(), helicsCoreIsConnected(), helicsCoreIsValid(), helicsCoreWaitForDisconnect(), helicsFederateSetTimeUpdateCallback(), helicsInputGetBoolean(), helicsInputIsUpdated(), helicsInputIsValid(), helicsIsCoreTypeAvailable(), helicsPublicationIsValid(), helicscpp::Filter::isValid(), helicscpp::Translator::isValid(), helicscpp::Input::isValid(), helicscpp::Publication::isValid(), helicscpp::Message::isValid(), helicscpp::Endpoint::isValid(), helicscpp::Publication::publish(), helicscpp::Input::setDefault(), helicscpp::Message::setFlag(), helicscpp::FederateInfo::setFlagOption(), helicscpp::Federate::setFlagOption(), and helicscpp::DataBuffer::toBoolean().