helics  3.3.0
Namespaces | Macros | Enumerations | Functions | Variables
CoreTypes.hpp File Reference
#include "../helics_enums.h"
#include <string>

Go to the source code of this file.

Namespaces

 helics
 the main namespace for the helics co-simulation library User functions will be in the helics namespace with internal functions possible in a lower level namespace
 

Enumerations

enum  helics::FederateStates : std::uint8_t {
  CREATED, helics::FederateStates::INITIALIZING, helics::FederateStates::EXECUTING, helics::FederateStates::TERMINATING,
  helics::FederateStates::ERRORED, helics::FederateStates::FINISHED, helics::FederateStates::UNKNOWN
}
 
enum  helics::CoreType : int {
  helics::CoreType::DEFAULT = HELICS_CORE_TYPE_DEFAULT, helics::CoreType::ZMQ = HELICS_CORE_TYPE_ZMQ, helics::CoreType::MPI = HELICS_CORE_TYPE_MPI, helics::CoreType::TEST = HELICS_CORE_TYPE_TEST,
  helics::CoreType::INTERPROCESS = HELICS_CORE_TYPE_INTERPROCESS, helics::CoreType::IPC = HELICS_CORE_TYPE_IPC, helics::CoreType::TCP = HELICS_CORE_TYPE_TCP, helics::CoreType::TCP_SS = HELICS_CORE_TYPE_TCP_SS,
  helics::CoreType::UDP = HELICS_CORE_TYPE_UDP, helics::CoreType::NNG = HELICS_CORE_TYPE_NNG, helics::CoreType::ZMQ_SS = HELICS_CORE_TYPE_ZMQ_SS, helics::CoreType::HTTP = HELICS_CORE_TYPE_HTTP,
  helics::CoreType::WEBSOCKET = HELICS_CORE_TYPE_WEBSOCKET, helics::CoreType::INPROC = HELICS_CORE_TYPE_INPROC, helics::CoreType::NULLCORE = HELICS_CORE_TYPE_NULL, helics::CoreType::EMPTY = HELICS_CORE_TYPE_EMPTY,
  helics::CoreType::UNRECOGNIZED = 22, helics::CoreType::MULTI = 45
}
 
enum  helics::MessageProcessingResult : std::int8_t {
  helics::MessageProcessingResult::CONTINUE_PROCESSING = -2, helics::MessageProcessingResult::DELAY_MESSAGE = -1, helics::MessageProcessingResult::NEXT_STEP = 0, helics::MessageProcessingResult::ITERATING = 2,
  helics::MessageProcessingResult::HALTED = 3, helics::MessageProcessingResult::USER_RETURN, helics::MessageProcessingResult::ERROR_RESULT = 7, REPROCESS_MESSAGE = 8,
  BUSY = 10
}
 
enum  helics::IterationResult : signed char { helics::IterationResult::NEXT_STEP = 0, helics::IterationResult::ITERATING = 2, helics::IterationResult::HALTED = 3, helics::IterationResult::ERROR_RESULT = 7 }
 
enum  helics::IterationRequest : signed char { helics::IterationRequest::NO_ITERATIONS = 0, helics::IterationRequest::FORCE_ITERATION = 1, helics::IterationRequest::ITERATE_IF_NEEDED = 2 }
 
enum  helics::InterfaceType : char {
  UNKNOWN = 'u', helics::InterfaceType::PUBLICATION = 'p', helics::InterfaceType::INPUT = 'i', helics::InterfaceType::ENDPOINT = 'e',
  helics::InterfaceType::FILTER = 'f', helics::InterfaceType::TRANSLATOR = 't'
}
 

Functions

const std::string & helics::fedStateString (FederateStates state)
 
bool helics::returnableResult (MessageProcessingResult result)
 

Variables

constexpr auto ITERATION_COMPLETE = helics::IterationRequest::NO_ITERATIONS
 simplified alias to indicate that iterations have concluded
 
constexpr auto NO_ITERATION = helics::IterationRequest::NO_ITERATIONS
 simplified alias to indicate that no iterations are needed
 
constexpr auto FORCE_ITERATION = helics::IterationRequest::FORCE_ITERATION
 simplified alias to force an iteration
 
constexpr auto ITERATE_IF_NEEDED = helics::IterationRequest::ITERATE_IF_NEEDED
 simplified alias to indicate that helics should iterate if warranted
 

Detailed Description

definitions of types an enumerations used in helics