Documentation ¶
Index ¶
- Constants
- func ClimateInstance_Methods(methods []server.Method, s ClimateInstance_Server) []server.Method
- func ClimateInstance_NewServer(s ClimateInstance_Server, policy *server.Policy) *server.Server
- func EnvInstanceProxy_Methods(methods []server.Method, s EnvInstanceProxy_Server) []server.Method
- func EnvInstanceProxy_NewServer(s EnvInstanceProxy_Server, policy *server.Policy) *server.Server
- func EnvInstance_Methods(methods []server.Method, s EnvInstance_Server) []server.Method
- func EnvInstance_NewServer(s EnvInstance_Server, policy *server.Policy) *server.Server
- func InstanceFactory_Methods(methods []server.Method, s InstanceFactory_Server) []server.Method
- func InstanceFactory_NewServer(s InstanceFactory_Server, policy *server.Policy) *server.Server
- type ClimateInstance
- func (c ClimateInstance) AddRef() ClimateInstance
- func (c ClimateInstance) Info(ctx context.Context, params func(common.Identifiable_info_Params) error) (common.IdInformation_Future, capnp.ReleaseFunc)
- func (c ClimateInstance) Release()
- func (c ClimateInstance) Run(ctx context.Context, params func(ClimateInstance_run_Params) error) (ClimateInstance_run_Results_Future, capnp.ReleaseFunc)
- func (c ClimateInstance) RunSet(ctx context.Context, params func(ClimateInstance_runSet_Params) error) (ClimateInstance_runSet_Results_Future, capnp.ReleaseFunc)
- type ClimateInstance_Server
- type ClimateInstance_run
- type ClimateInstance_runSet
- type ClimateInstance_runSet_Params
- func (s ClimateInstance_runSet_Params) Dataset() (capnp.PointerList, error)
- func (s ClimateInstance_runSet_Params) HasDataset() bool
- func (s ClimateInstance_runSet_Params) NewDataset(n int32) (capnp.PointerList, error)
- func (s ClimateInstance_runSet_Params) SetDataset(v capnp.PointerList) error
- func (s ClimateInstance_runSet_Params) String() string
- type ClimateInstance_runSet_Params_Future
- type ClimateInstance_runSet_Params_List
- type ClimateInstance_runSet_Results
- func NewClimateInstance_runSet_Results(s *capnp.Segment) (ClimateInstance_runSet_Results, error)
- func NewRootClimateInstance_runSet_Results(s *capnp.Segment) (ClimateInstance_runSet_Results, error)
- func ReadRootClimateInstance_runSet_Results(msg *capnp.Message) (ClimateInstance_runSet_Results, error)
- func (s ClimateInstance_runSet_Results) HasResult() bool
- func (s ClimateInstance_runSet_Results) NewResult() (XYPlusResult, error)
- func (s ClimateInstance_runSet_Results) Result() (XYPlusResult, error)
- func (s ClimateInstance_runSet_Results) SetResult(v XYPlusResult) error
- func (s ClimateInstance_runSet_Results) String() string
- type ClimateInstance_runSet_Results_Future
- type ClimateInstance_runSet_Results_List
- type ClimateInstance_run_Params
- type ClimateInstance_run_Params_Future
- type ClimateInstance_run_Params_List
- type ClimateInstance_run_Results
- func (s ClimateInstance_run_Results) HasResult() bool
- func (s ClimateInstance_run_Results) NewResult() (XYResult, error)
- func (s ClimateInstance_run_Results) Result() (XYResult, error)
- func (s ClimateInstance_run_Results) SetResult(v XYResult) error
- func (s ClimateInstance_run_Results) String() string
- type ClimateInstance_run_Results_Future
- type ClimateInstance_run_Results_List
- type Env
- func (s Env) HasMgmtEvents() bool
- func (s Env) HasRest() bool
- func (s Env) HasSoilProfile() bool
- func (s Env) HasTimeSeries() bool
- func (s Env) MgmtEvents() (management.Event_List, error)
- func (s Env) NewMgmtEvents(n int32) (management.Event_List, error)
- func (s Env) NewSoilProfile() (soil.Profile, error)
- func (s Env) Rest() (capnp.Ptr, error)
- func (s Env) SetMgmtEvents(v management.Event_List) error
- func (s Env) SetRest(v capnp.Ptr) error
- func (s Env) SetSoilProfile(v soil.Profile) error
- func (s Env) SetTimeSeries(v climate.TimeSeries) error
- func (s Env) SoilProfile() (soil.Profile, error)
- func (s Env) String() string
- func (s Env) TimeSeries() climate.TimeSeries
- type EnvInstance
- func (c EnvInstance) AddRef() EnvInstance
- func (c EnvInstance) Info(ctx context.Context, params func(common.Identifiable_info_Params) error) (common.IdInformation_Future, capnp.ReleaseFunc)
- func (c EnvInstance) Release()
- func (c EnvInstance) Run(ctx context.Context, params func(EnvInstance_run_Params) error) (EnvInstance_run_Results_Future, capnp.ReleaseFunc)
- func (c EnvInstance) Stop(ctx context.Context, params func(common.Stopable_stop_Params) error) (common.Stopable_stop_Results_Future, capnp.ReleaseFunc)
- type EnvInstanceProxy
- func (c EnvInstanceProxy) AddRef() EnvInstanceProxy
- func (c EnvInstanceProxy) Info(ctx context.Context, params func(common.Identifiable_info_Params) error) (common.IdInformation_Future, capnp.ReleaseFunc)
- func (c EnvInstanceProxy) RegisterEnvInstance(ctx context.Context, ...) (EnvInstanceProxy_registerEnvInstance_Results_Future, capnp.ReleaseFunc)
- func (c EnvInstanceProxy) Release()
- func (c EnvInstanceProxy) Run(ctx context.Context, params func(EnvInstance_run_Params) error) (EnvInstance_run_Results_Future, capnp.ReleaseFunc)
- func (c EnvInstanceProxy) Stop(ctx context.Context, params func(common.Stopable_stop_Params) error) (common.Stopable_stop_Results_Future, capnp.ReleaseFunc)
- type EnvInstanceProxy_Server
- type EnvInstanceProxy_registerEnvInstance
- type EnvInstanceProxy_registerEnvInstance_Params
- func NewEnvInstanceProxy_registerEnvInstance_Params(s *capnp.Segment) (EnvInstanceProxy_registerEnvInstance_Params, error)
- func NewRootEnvInstanceProxy_registerEnvInstance_Params(s *capnp.Segment) (EnvInstanceProxy_registerEnvInstance_Params, error)
- func ReadRootEnvInstanceProxy_registerEnvInstance_Params(msg *capnp.Message) (EnvInstanceProxy_registerEnvInstance_Params, error)
- func (s EnvInstanceProxy_registerEnvInstance_Params) HasInstance() bool
- func (s EnvInstanceProxy_registerEnvInstance_Params) Instance() EnvInstance
- func (s EnvInstanceProxy_registerEnvInstance_Params) SetInstance(v EnvInstance) error
- func (s EnvInstanceProxy_registerEnvInstance_Params) String() string
- type EnvInstanceProxy_registerEnvInstance_Params_Future
- type EnvInstanceProxy_registerEnvInstance_Params_List
- func (s EnvInstanceProxy_registerEnvInstance_Params_List) At(i int) EnvInstanceProxy_registerEnvInstance_Params
- func (s EnvInstanceProxy_registerEnvInstance_Params_List) Set(i int, v EnvInstanceProxy_registerEnvInstance_Params) error
- func (s EnvInstanceProxy_registerEnvInstance_Params_List) String() string
- type EnvInstanceProxy_registerEnvInstance_Results
- func NewEnvInstanceProxy_registerEnvInstance_Results(s *capnp.Segment) (EnvInstanceProxy_registerEnvInstance_Results, error)
- func NewRootEnvInstanceProxy_registerEnvInstance_Results(s *capnp.Segment) (EnvInstanceProxy_registerEnvInstance_Results, error)
- func ReadRootEnvInstanceProxy_registerEnvInstance_Results(msg *capnp.Message) (EnvInstanceProxy_registerEnvInstance_Results, error)
- func (s EnvInstanceProxy_registerEnvInstance_Results) HasUnregister() bool
- func (s EnvInstanceProxy_registerEnvInstance_Results) SetUnregister(v common.Callback) error
- func (s EnvInstanceProxy_registerEnvInstance_Results) String() string
- func (s EnvInstanceProxy_registerEnvInstance_Results) Unregister() common.Callback
- type EnvInstanceProxy_registerEnvInstance_Results_Future
- type EnvInstanceProxy_registerEnvInstance_Results_List
- func (s EnvInstanceProxy_registerEnvInstance_Results_List) At(i int) EnvInstanceProxy_registerEnvInstance_Results
- func (s EnvInstanceProxy_registerEnvInstance_Results_List) Set(i int, v EnvInstanceProxy_registerEnvInstance_Results) error
- func (s EnvInstanceProxy_registerEnvInstance_Results_List) String() string
- type EnvInstance_Server
- type EnvInstance_run
- type EnvInstance_run_Params
- type EnvInstance_run_Params_Future
- type EnvInstance_run_Params_List
- type EnvInstance_run_Results
- type EnvInstance_run_Results_Future
- type EnvInstance_run_Results_List
- type Env_Future
- type Env_List
- type InstanceFactory
- func (c InstanceFactory) AddRef() InstanceFactory
- func (c InstanceFactory) Info(ctx context.Context, params func(common.Identifiable_info_Params) error) (common.IdInformation_Future, capnp.ReleaseFunc)
- func (c InstanceFactory) ModelInfo(ctx context.Context, params func(InstanceFactory_modelInfo_Params) error) (common.IdInformation_Future, capnp.ReleaseFunc)
- func (c InstanceFactory) NewInstance(ctx context.Context, params func(InstanceFactory_newInstance_Params) error) (InstanceFactory_newInstance_Results_Future, capnp.ReleaseFunc)
- func (c InstanceFactory) NewInstances(ctx context.Context, params func(InstanceFactory_newInstances_Params) error) (InstanceFactory_newInstances_Results_Future, capnp.ReleaseFunc)
- func (c InstanceFactory) Release()
- type InstanceFactory_Server
- type InstanceFactory_modelInfo
- type InstanceFactory_modelInfo_Params
- func NewInstanceFactory_modelInfo_Params(s *capnp.Segment) (InstanceFactory_modelInfo_Params, error)
- func NewRootInstanceFactory_modelInfo_Params(s *capnp.Segment) (InstanceFactory_modelInfo_Params, error)
- func ReadRootInstanceFactory_modelInfo_Params(msg *capnp.Message) (InstanceFactory_modelInfo_Params, error)
- type InstanceFactory_modelInfo_Params_Future
- type InstanceFactory_modelInfo_Params_List
- type InstanceFactory_newInstance
- type InstanceFactory_newInstance_Params
- func NewInstanceFactory_newInstance_Params(s *capnp.Segment) (InstanceFactory_newInstance_Params, error)
- func NewRootInstanceFactory_newInstance_Params(s *capnp.Segment) (InstanceFactory_newInstance_Params, error)
- func ReadRootInstanceFactory_newInstance_Params(msg *capnp.Message) (InstanceFactory_newInstance_Params, error)
- type InstanceFactory_newInstance_Params_Future
- type InstanceFactory_newInstance_Params_List
- type InstanceFactory_newInstance_Results
- func NewInstanceFactory_newInstance_Results(s *capnp.Segment) (InstanceFactory_newInstance_Results, error)
- func NewRootInstanceFactory_newInstance_Results(s *capnp.Segment) (InstanceFactory_newInstance_Results, error)
- func ReadRootInstanceFactory_newInstance_Results(msg *capnp.Message) (InstanceFactory_newInstance_Results, error)
- type InstanceFactory_newInstance_Results_Future
- type InstanceFactory_newInstance_Results_List
- type InstanceFactory_newInstances
- type InstanceFactory_newInstances_Params
- func NewInstanceFactory_newInstances_Params(s *capnp.Segment) (InstanceFactory_newInstances_Params, error)
- func NewRootInstanceFactory_newInstances_Params(s *capnp.Segment) (InstanceFactory_newInstances_Params, error)
- func ReadRootInstanceFactory_newInstances_Params(msg *capnp.Message) (InstanceFactory_newInstances_Params, error)
- type InstanceFactory_newInstances_Params_Future
- type InstanceFactory_newInstances_Params_List
- type InstanceFactory_newInstances_Results
- func NewInstanceFactory_newInstances_Results(s *capnp.Segment) (InstanceFactory_newInstances_Results, error)
- func NewRootInstanceFactory_newInstances_Results(s *capnp.Segment) (InstanceFactory_newInstances_Results, error)
- func ReadRootInstanceFactory_newInstances_Results(msg *capnp.Message) (InstanceFactory_newInstances_Results, error)
- func (s InstanceFactory_newInstances_Results) HasInstances() bool
- func (s InstanceFactory_newInstances_Results) Instances() (common.ListEntry_List, error)
- func (s InstanceFactory_newInstances_Results) NewInstances(n int32) (common.ListEntry_List, error)
- func (s InstanceFactory_newInstances_Results) SetInstances(v common.ListEntry_List) error
- func (s InstanceFactory_newInstances_Results) String() string
- type InstanceFactory_newInstances_Results_Future
- type InstanceFactory_newInstances_Results_List
- type Stat
- type Stat_Future
- type Stat_List
- type Stat_Type
- type Stat_Type_List
- type XYPlusResult
- func (s XYPlusResult) HasStats() bool
- func (s XYPlusResult) HasXy() bool
- func (s XYPlusResult) NewStats(n int32) (Stat_List, error)
- func (s XYPlusResult) NewXy() (XYResult, error)
- func (s XYPlusResult) SetStats(v Stat_List) error
- func (s XYPlusResult) SetXy(v XYResult) error
- func (s XYPlusResult) Stats() (Stat_List, error)
- func (s XYPlusResult) String() string
- func (s XYPlusResult) Xy() (XYResult, error)
- type XYPlusResult_Future
- type XYPlusResult_List
- type XYResult
- func (s XYResult) HasXs() bool
- func (s XYResult) HasYs() bool
- func (s XYResult) NewXs(n int32) (capnp.Float64List, error)
- func (s XYResult) NewYs(n int32) (capnp.Float64List, error)
- func (s XYResult) SetXs(v capnp.Float64List) error
- func (s XYResult) SetYs(v capnp.Float64List) error
- func (s XYResult) String() string
- func (s XYResult) Xs() (capnp.Float64List, error)
- func (s XYResult) Ys() (capnp.Float64List, error)
- type XYResult_Future
- type XYResult_List
Constants ¶
const ClimateInstance_TypeID = 0xdfcfeb783c4948fc
ClimateInstance_TypeID is the unique identifier for the type ClimateInstance.
const ClimateInstance_runSet_Params_TypeID = 0xaa9d146226037822
ClimateInstance_runSet_Params_TypeID is the unique identifier for the type ClimateInstance_runSet_Params.
const ClimateInstance_runSet_Results_TypeID = 0xe22282cb3449bb4a
ClimateInstance_runSet_Results_TypeID is the unique identifier for the type ClimateInstance_runSet_Results.
const ClimateInstance_run_Params_TypeID = 0xdf787fd9d51f235b
ClimateInstance_run_Params_TypeID is the unique identifier for the type ClimateInstance_run_Params.
const ClimateInstance_run_Results_TypeID = 0xcc39e47cdead74c4
ClimateInstance_run_Results_TypeID is the unique identifier for the type ClimateInstance_run_Results.
const EnvInstanceProxy_TypeID = 0x87cbebfc1164a24a
EnvInstanceProxy_TypeID is the unique identifier for the type EnvInstanceProxy.
const EnvInstanceProxy_registerEnvInstance_Params_TypeID = 0xd10259a623f95bb4
EnvInstanceProxy_registerEnvInstance_Params_TypeID is the unique identifier for the type EnvInstanceProxy_registerEnvInstance_Params.
const EnvInstanceProxy_registerEnvInstance_Results_TypeID = 0xdf50acfa56a9674e
EnvInstanceProxy_registerEnvInstance_Results_TypeID is the unique identifier for the type EnvInstanceProxy_registerEnvInstance_Results.
const EnvInstance_TypeID = 0xa5feedafa5ec5c4a
EnvInstance_TypeID is the unique identifier for the type EnvInstance.
const EnvInstance_run_Params_TypeID = 0x811895634b6bd959
EnvInstance_run_Params_TypeID is the unique identifier for the type EnvInstance_run_Params.
const EnvInstance_run_Results_TypeID = 0xa931ae5cae90ece0
EnvInstance_run_Results_TypeID is the unique identifier for the type EnvInstance_run_Results.
const Env_TypeID = 0xb7fc866ef1127f7c
Env_TypeID is the unique identifier for the type Env.
const InstanceFactory_TypeID = 0xce552eef738a45ea
InstanceFactory_TypeID is the unique identifier for the type InstanceFactory.
const InstanceFactory_modelInfo_Params_TypeID = 0xbf49e08cc9412aaf
InstanceFactory_modelInfo_Params_TypeID is the unique identifier for the type InstanceFactory_modelInfo_Params.
const InstanceFactory_newInstance_Params_TypeID = 0x9ee4515395213845
InstanceFactory_newInstance_Params_TypeID is the unique identifier for the type InstanceFactory_newInstance_Params.
const InstanceFactory_newInstance_Results_TypeID = 0xf013eda158070488
InstanceFactory_newInstance_Results_TypeID is the unique identifier for the type InstanceFactory_newInstance_Results.
const InstanceFactory_newInstances_Params_TypeID = 0xd9fa9ece71d1db50
InstanceFactory_newInstances_Params_TypeID is the unique identifier for the type InstanceFactory_newInstances_Params.
const InstanceFactory_newInstances_Results_TypeID = 0xaf9a1cb72ba68156
InstanceFactory_newInstances_Results_TypeID is the unique identifier for the type InstanceFactory_newInstances_Results.
const Stat_TypeID = 0xa6be2e805ea10a68
Stat_TypeID is the unique identifier for the type Stat.
const Stat_Type_TypeID = 0xbd33bb6d8cbd9ed2
Stat_Type_TypeID is the unique identifier for the type Stat_Type.
const XYPlusResult_TypeID = 0x8f86b66260d02d1d
XYPlusResult_TypeID is the unique identifier for the type XYPlusResult.
const XYResult_TypeID = 0x851d47c6ccdecf08
XYResult_TypeID is the unique identifier for the type XYResult.
Variables ¶
This section is empty.
Functions ¶
func ClimateInstance_Methods ¶
func ClimateInstance_Methods(methods []server.Method, s ClimateInstance_Server) []server.Method
ClimateInstance_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.
func ClimateInstance_NewServer ¶
func ClimateInstance_NewServer(s ClimateInstance_Server, policy *server.Policy) *server.Server
ClimateInstance_NewServer creates a new Server from an implementation of ClimateInstance_Server.
func EnvInstanceProxy_Methods ¶
func EnvInstanceProxy_Methods(methods []server.Method, s EnvInstanceProxy_Server) []server.Method
EnvInstanceProxy_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.
func EnvInstanceProxy_NewServer ¶
func EnvInstanceProxy_NewServer(s EnvInstanceProxy_Server, policy *server.Policy) *server.Server
EnvInstanceProxy_NewServer creates a new Server from an implementation of EnvInstanceProxy_Server.
func EnvInstance_Methods ¶
func EnvInstance_Methods(methods []server.Method, s EnvInstance_Server) []server.Method
EnvInstance_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.
func EnvInstance_NewServer ¶
func EnvInstance_NewServer(s EnvInstance_Server, policy *server.Policy) *server.Server
EnvInstance_NewServer creates a new Server from an implementation of EnvInstance_Server.
func InstanceFactory_Methods ¶
func InstanceFactory_Methods(methods []server.Method, s InstanceFactory_Server) []server.Method
InstanceFactory_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.
func InstanceFactory_NewServer ¶
func InstanceFactory_NewServer(s InstanceFactory_Server, policy *server.Policy) *server.Server
InstanceFactory_NewServer creates a new Server from an implementation of InstanceFactory_Server.
Types ¶
type ClimateInstance ¶
func ClimateInstance_ServerToClient ¶
func ClimateInstance_ServerToClient(s ClimateInstance_Server, policy *server.Policy) ClimateInstance
ClimateInstance_ServerToClient creates a new Client from an implementation of ClimateInstance_Server. The caller is responsible for calling Release on the returned Client.
func (ClimateInstance) AddRef ¶
func (c ClimateInstance) AddRef() ClimateInstance
func (ClimateInstance) Info ¶
func (c ClimateInstance) Info(ctx context.Context, params func(common.Identifiable_info_Params) error) (common.IdInformation_Future, capnp.ReleaseFunc)
func (ClimateInstance) Release ¶
func (c ClimateInstance) Release()
func (ClimateInstance) Run ¶
func (c ClimateInstance) Run(ctx context.Context, params func(ClimateInstance_run_Params) error) (ClimateInstance_run_Results_Future, capnp.ReleaseFunc)
func (ClimateInstance) RunSet ¶
func (c ClimateInstance) RunSet(ctx context.Context, params func(ClimateInstance_runSet_Params) error) (ClimateInstance_runSet_Results_Future, capnp.ReleaseFunc)
type ClimateInstance_Server ¶
type ClimateInstance_Server interface { Run(context.Context, ClimateInstance_run) error RunSet(context.Context, ClimateInstance_runSet) error Info(context.Context, common.Identifiable_info) error }
A ClimateInstance_Server is a ClimateInstance with a local implementation.
type ClimateInstance_run ¶
ClimateInstance_run holds the state for a server call to ClimateInstance.run. See server.Call for documentation.
func (ClimateInstance_run) AllocResults ¶
func (c ClimateInstance_run) AllocResults() (ClimateInstance_run_Results, error)
AllocResults allocates the results struct.
func (ClimateInstance_run) Args ¶
func (c ClimateInstance_run) Args() ClimateInstance_run_Params
Args returns the call's arguments.
type ClimateInstance_runSet ¶
ClimateInstance_runSet holds the state for a server call to ClimateInstance.runSet. See server.Call for documentation.
func (ClimateInstance_runSet) AllocResults ¶
func (c ClimateInstance_runSet) AllocResults() (ClimateInstance_runSet_Results, error)
AllocResults allocates the results struct.
func (ClimateInstance_runSet) Args ¶
func (c ClimateInstance_runSet) Args() ClimateInstance_runSet_Params
Args returns the call's arguments.
type ClimateInstance_runSet_Params ¶
func NewClimateInstance_runSet_Params ¶
func NewClimateInstance_runSet_Params(s *capnp.Segment) (ClimateInstance_runSet_Params, error)
func NewRootClimateInstance_runSet_Params ¶
func NewRootClimateInstance_runSet_Params(s *capnp.Segment) (ClimateInstance_runSet_Params, error)
func ReadRootClimateInstance_runSet_Params ¶
func ReadRootClimateInstance_runSet_Params(msg *capnp.Message) (ClimateInstance_runSet_Params, error)
func (ClimateInstance_runSet_Params) Dataset ¶
func (s ClimateInstance_runSet_Params) Dataset() (capnp.PointerList, error)
func (ClimateInstance_runSet_Params) HasDataset ¶
func (s ClimateInstance_runSet_Params) HasDataset() bool
func (ClimateInstance_runSet_Params) NewDataset ¶
func (s ClimateInstance_runSet_Params) NewDataset(n int32) (capnp.PointerList, error)
NewDataset sets the dataset field to a newly allocated capnp.PointerList, preferring placement in s's segment.
func (ClimateInstance_runSet_Params) SetDataset ¶
func (s ClimateInstance_runSet_Params) SetDataset(v capnp.PointerList) error
func (ClimateInstance_runSet_Params) String ¶
func (s ClimateInstance_runSet_Params) String() string
type ClimateInstance_runSet_Params_Future ¶
ClimateInstance_runSet_Params_Future is a wrapper for a ClimateInstance_runSet_Params promised by a client call.
func (ClimateInstance_runSet_Params_Future) Struct ¶
func (p ClimateInstance_runSet_Params_Future) Struct() (ClimateInstance_runSet_Params, error)
type ClimateInstance_runSet_Params_List ¶
ClimateInstance_runSet_Params_List is a list of ClimateInstance_runSet_Params.
func NewClimateInstance_runSet_Params_List ¶
func NewClimateInstance_runSet_Params_List(s *capnp.Segment, sz int32) (ClimateInstance_runSet_Params_List, error)
NewClimateInstance_runSet_Params creates a new list of ClimateInstance_runSet_Params.
func (ClimateInstance_runSet_Params_List) At ¶
func (s ClimateInstance_runSet_Params_List) At(i int) ClimateInstance_runSet_Params
func (ClimateInstance_runSet_Params_List) Set ¶
func (s ClimateInstance_runSet_Params_List) Set(i int, v ClimateInstance_runSet_Params) error
func (ClimateInstance_runSet_Params_List) String ¶
func (s ClimateInstance_runSet_Params_List) String() string
type ClimateInstance_runSet_Results ¶
func NewClimateInstance_runSet_Results ¶
func NewClimateInstance_runSet_Results(s *capnp.Segment) (ClimateInstance_runSet_Results, error)
func NewRootClimateInstance_runSet_Results ¶
func NewRootClimateInstance_runSet_Results(s *capnp.Segment) (ClimateInstance_runSet_Results, error)
func ReadRootClimateInstance_runSet_Results ¶
func ReadRootClimateInstance_runSet_Results(msg *capnp.Message) (ClimateInstance_runSet_Results, error)
func (ClimateInstance_runSet_Results) HasResult ¶
func (s ClimateInstance_runSet_Results) HasResult() bool
func (ClimateInstance_runSet_Results) NewResult ¶
func (s ClimateInstance_runSet_Results) NewResult() (XYPlusResult, error)
NewResult sets the result field to a newly allocated XYPlusResult struct, preferring placement in s's segment.
func (ClimateInstance_runSet_Results) Result ¶
func (s ClimateInstance_runSet_Results) Result() (XYPlusResult, error)
func (ClimateInstance_runSet_Results) SetResult ¶
func (s ClimateInstance_runSet_Results) SetResult(v XYPlusResult) error
func (ClimateInstance_runSet_Results) String ¶
func (s ClimateInstance_runSet_Results) String() string
type ClimateInstance_runSet_Results_Future ¶
ClimateInstance_runSet_Results_Future is a wrapper for a ClimateInstance_runSet_Results promised by a client call.
func (ClimateInstance_runSet_Results_Future) Result ¶
func (p ClimateInstance_runSet_Results_Future) Result() XYPlusResult_Future
func (ClimateInstance_runSet_Results_Future) Struct ¶
func (p ClimateInstance_runSet_Results_Future) Struct() (ClimateInstance_runSet_Results, error)
type ClimateInstance_runSet_Results_List ¶
ClimateInstance_runSet_Results_List is a list of ClimateInstance_runSet_Results.
func NewClimateInstance_runSet_Results_List ¶
func NewClimateInstance_runSet_Results_List(s *capnp.Segment, sz int32) (ClimateInstance_runSet_Results_List, error)
NewClimateInstance_runSet_Results creates a new list of ClimateInstance_runSet_Results.
func (ClimateInstance_runSet_Results_List) At ¶
func (s ClimateInstance_runSet_Results_List) At(i int) ClimateInstance_runSet_Results
func (ClimateInstance_runSet_Results_List) Set ¶
func (s ClimateInstance_runSet_Results_List) Set(i int, v ClimateInstance_runSet_Results) error
func (ClimateInstance_runSet_Results_List) String ¶
func (s ClimateInstance_runSet_Results_List) String() string
type ClimateInstance_run_Params ¶
func NewClimateInstance_run_Params ¶
func NewClimateInstance_run_Params(s *capnp.Segment) (ClimateInstance_run_Params, error)
func NewRootClimateInstance_run_Params ¶
func NewRootClimateInstance_run_Params(s *capnp.Segment) (ClimateInstance_run_Params, error)
func ReadRootClimateInstance_run_Params ¶
func ReadRootClimateInstance_run_Params(msg *capnp.Message) (ClimateInstance_run_Params, error)
func (ClimateInstance_run_Params) HasTimeSeries ¶
func (s ClimateInstance_run_Params) HasTimeSeries() bool
func (ClimateInstance_run_Params) SetTimeSeries ¶
func (s ClimateInstance_run_Params) SetTimeSeries(v climate.TimeSeries) error
func (ClimateInstance_run_Params) String ¶
func (s ClimateInstance_run_Params) String() string
func (ClimateInstance_run_Params) TimeSeries ¶
func (s ClimateInstance_run_Params) TimeSeries() climate.TimeSeries
type ClimateInstance_run_Params_Future ¶
ClimateInstance_run_Params_Future is a wrapper for a ClimateInstance_run_Params promised by a client call.
func (ClimateInstance_run_Params_Future) Struct ¶
func (p ClimateInstance_run_Params_Future) Struct() (ClimateInstance_run_Params, error)
func (ClimateInstance_run_Params_Future) TimeSeries ¶
func (p ClimateInstance_run_Params_Future) TimeSeries() climate.TimeSeries
type ClimateInstance_run_Params_List ¶
ClimateInstance_run_Params_List is a list of ClimateInstance_run_Params.
func NewClimateInstance_run_Params_List ¶
func NewClimateInstance_run_Params_List(s *capnp.Segment, sz int32) (ClimateInstance_run_Params_List, error)
NewClimateInstance_run_Params creates a new list of ClimateInstance_run_Params.
func (ClimateInstance_run_Params_List) At ¶
func (s ClimateInstance_run_Params_List) At(i int) ClimateInstance_run_Params
func (ClimateInstance_run_Params_List) Set ¶
func (s ClimateInstance_run_Params_List) Set(i int, v ClimateInstance_run_Params) error
func (ClimateInstance_run_Params_List) String ¶
func (s ClimateInstance_run_Params_List) String() string
type ClimateInstance_run_Results ¶
func NewClimateInstance_run_Results ¶
func NewClimateInstance_run_Results(s *capnp.Segment) (ClimateInstance_run_Results, error)
func NewRootClimateInstance_run_Results ¶
func NewRootClimateInstance_run_Results(s *capnp.Segment) (ClimateInstance_run_Results, error)
func ReadRootClimateInstance_run_Results ¶
func ReadRootClimateInstance_run_Results(msg *capnp.Message) (ClimateInstance_run_Results, error)
func (ClimateInstance_run_Results) HasResult ¶
func (s ClimateInstance_run_Results) HasResult() bool
func (ClimateInstance_run_Results) NewResult ¶
func (s ClimateInstance_run_Results) NewResult() (XYResult, error)
NewResult sets the result field to a newly allocated XYResult struct, preferring placement in s's segment.
func (ClimateInstance_run_Results) Result ¶
func (s ClimateInstance_run_Results) Result() (XYResult, error)
func (ClimateInstance_run_Results) SetResult ¶
func (s ClimateInstance_run_Results) SetResult(v XYResult) error
func (ClimateInstance_run_Results) String ¶
func (s ClimateInstance_run_Results) String() string
type ClimateInstance_run_Results_Future ¶
ClimateInstance_run_Results_Future is a wrapper for a ClimateInstance_run_Results promised by a client call.
func (ClimateInstance_run_Results_Future) Result ¶
func (p ClimateInstance_run_Results_Future) Result() XYResult_Future
func (ClimateInstance_run_Results_Future) Struct ¶
func (p ClimateInstance_run_Results_Future) Struct() (ClimateInstance_run_Results, error)
type ClimateInstance_run_Results_List ¶
ClimateInstance_run_Results_List is a list of ClimateInstance_run_Results.
func NewClimateInstance_run_Results_List ¶
func NewClimateInstance_run_Results_List(s *capnp.Segment, sz int32) (ClimateInstance_run_Results_List, error)
NewClimateInstance_run_Results creates a new list of ClimateInstance_run_Results.
func (ClimateInstance_run_Results_List) At ¶
func (s ClimateInstance_run_Results_List) At(i int) ClimateInstance_run_Results
func (ClimateInstance_run_Results_List) Set ¶
func (s ClimateInstance_run_Results_List) Set(i int, v ClimateInstance_run_Results) error
func (ClimateInstance_run_Results_List) String ¶
func (s ClimateInstance_run_Results_List) String() string
type Env ¶
func (Env) HasMgmtEvents ¶
func (Env) HasSoilProfile ¶
func (Env) HasTimeSeries ¶
func (Env) MgmtEvents ¶
func (s Env) MgmtEvents() (management.Event_List, error)
func (Env) NewMgmtEvents ¶
func (s Env) NewMgmtEvents(n int32) (management.Event_List, error)
NewMgmtEvents sets the mgmtEvents field to a newly allocated management.Event_List, preferring placement in s's segment.
func (Env) NewSoilProfile ¶
NewSoilProfile sets the soilProfile field to a newly allocated soil.Profile struct, preferring placement in s's segment.
func (Env) SetMgmtEvents ¶
func (s Env) SetMgmtEvents(v management.Event_List) error
func (Env) SetTimeSeries ¶
func (s Env) SetTimeSeries(v climate.TimeSeries) error
func (Env) TimeSeries ¶
func (s Env) TimeSeries() climate.TimeSeries
type EnvInstance ¶
func EnvInstance_ServerToClient ¶
func EnvInstance_ServerToClient(s EnvInstance_Server, policy *server.Policy) EnvInstance
EnvInstance_ServerToClient creates a new Client from an implementation of EnvInstance_Server. The caller is responsible for calling Release on the returned Client.
func (EnvInstance) AddRef ¶
func (c EnvInstance) AddRef() EnvInstance
func (EnvInstance) Info ¶
func (c EnvInstance) Info(ctx context.Context, params func(common.Identifiable_info_Params) error) (common.IdInformation_Future, capnp.ReleaseFunc)
func (EnvInstance) Release ¶
func (c EnvInstance) Release()
func (EnvInstance) Run ¶
func (c EnvInstance) Run(ctx context.Context, params func(EnvInstance_run_Params) error) (EnvInstance_run_Results_Future, capnp.ReleaseFunc)
func (EnvInstance) Stop ¶
func (c EnvInstance) Stop(ctx context.Context, params func(common.Stopable_stop_Params) error) (common.Stopable_stop_Results_Future, capnp.ReleaseFunc)
type EnvInstanceProxy ¶
func EnvInstanceProxy_ServerToClient ¶
func EnvInstanceProxy_ServerToClient(s EnvInstanceProxy_Server, policy *server.Policy) EnvInstanceProxy
EnvInstanceProxy_ServerToClient creates a new Client from an implementation of EnvInstanceProxy_Server. The caller is responsible for calling Release on the returned Client.
func (EnvInstanceProxy) AddRef ¶
func (c EnvInstanceProxy) AddRef() EnvInstanceProxy
func (EnvInstanceProxy) Info ¶
func (c EnvInstanceProxy) Info(ctx context.Context, params func(common.Identifiable_info_Params) error) (common.IdInformation_Future, capnp.ReleaseFunc)
func (EnvInstanceProxy) RegisterEnvInstance ¶
func (c EnvInstanceProxy) RegisterEnvInstance(ctx context.Context, params func(EnvInstanceProxy_registerEnvInstance_Params) error) (EnvInstanceProxy_registerEnvInstance_Results_Future, capnp.ReleaseFunc)
func (EnvInstanceProxy) Release ¶
func (c EnvInstanceProxy) Release()
func (EnvInstanceProxy) Run ¶
func (c EnvInstanceProxy) Run(ctx context.Context, params func(EnvInstance_run_Params) error) (EnvInstance_run_Results_Future, capnp.ReleaseFunc)
func (EnvInstanceProxy) Stop ¶
func (c EnvInstanceProxy) Stop(ctx context.Context, params func(common.Stopable_stop_Params) error) (common.Stopable_stop_Results_Future, capnp.ReleaseFunc)
type EnvInstanceProxy_Server ¶
type EnvInstanceProxy_Server interface { RegisterEnvInstance(context.Context, EnvInstanceProxy_registerEnvInstance) error Run(context.Context, EnvInstance_run) error Info(context.Context, common.Identifiable_info) error Stop(context.Context, common.Stopable_stop) error }
A EnvInstanceProxy_Server is a EnvInstanceProxy with a local implementation.
type EnvInstanceProxy_registerEnvInstance ¶
EnvInstanceProxy_registerEnvInstance holds the state for a server call to EnvInstanceProxy.registerEnvInstance. See server.Call for documentation.
func (EnvInstanceProxy_registerEnvInstance) AllocResults ¶
func (c EnvInstanceProxy_registerEnvInstance) AllocResults() (EnvInstanceProxy_registerEnvInstance_Results, error)
AllocResults allocates the results struct.
type EnvInstanceProxy_registerEnvInstance_Params ¶
func NewEnvInstanceProxy_registerEnvInstance_Params ¶
func NewEnvInstanceProxy_registerEnvInstance_Params(s *capnp.Segment) (EnvInstanceProxy_registerEnvInstance_Params, error)
func NewRootEnvInstanceProxy_registerEnvInstance_Params ¶
func NewRootEnvInstanceProxy_registerEnvInstance_Params(s *capnp.Segment) (EnvInstanceProxy_registerEnvInstance_Params, error)
func ReadRootEnvInstanceProxy_registerEnvInstance_Params ¶
func ReadRootEnvInstanceProxy_registerEnvInstance_Params(msg *capnp.Message) (EnvInstanceProxy_registerEnvInstance_Params, error)
func (EnvInstanceProxy_registerEnvInstance_Params) HasInstance ¶
func (s EnvInstanceProxy_registerEnvInstance_Params) HasInstance() bool
func (EnvInstanceProxy_registerEnvInstance_Params) Instance ¶
func (s EnvInstanceProxy_registerEnvInstance_Params) Instance() EnvInstance
func (EnvInstanceProxy_registerEnvInstance_Params) SetInstance ¶
func (s EnvInstanceProxy_registerEnvInstance_Params) SetInstance(v EnvInstance) error
func (EnvInstanceProxy_registerEnvInstance_Params) String ¶
func (s EnvInstanceProxy_registerEnvInstance_Params) String() string
type EnvInstanceProxy_registerEnvInstance_Params_Future ¶
EnvInstanceProxy_registerEnvInstance_Params_Future is a wrapper for a EnvInstanceProxy_registerEnvInstance_Params promised by a client call.
func (EnvInstanceProxy_registerEnvInstance_Params_Future) Instance ¶
func (p EnvInstanceProxy_registerEnvInstance_Params_Future) Instance() EnvInstance
type EnvInstanceProxy_registerEnvInstance_Params_List ¶
EnvInstanceProxy_registerEnvInstance_Params_List is a list of EnvInstanceProxy_registerEnvInstance_Params.
func NewEnvInstanceProxy_registerEnvInstance_Params_List ¶
func NewEnvInstanceProxy_registerEnvInstance_Params_List(s *capnp.Segment, sz int32) (EnvInstanceProxy_registerEnvInstance_Params_List, error)
NewEnvInstanceProxy_registerEnvInstance_Params creates a new list of EnvInstanceProxy_registerEnvInstance_Params.
func (EnvInstanceProxy_registerEnvInstance_Params_List) String ¶
func (s EnvInstanceProxy_registerEnvInstance_Params_List) String() string
type EnvInstanceProxy_registerEnvInstance_Results ¶
func NewEnvInstanceProxy_registerEnvInstance_Results ¶
func NewEnvInstanceProxy_registerEnvInstance_Results(s *capnp.Segment) (EnvInstanceProxy_registerEnvInstance_Results, error)
func NewRootEnvInstanceProxy_registerEnvInstance_Results ¶
func NewRootEnvInstanceProxy_registerEnvInstance_Results(s *capnp.Segment) (EnvInstanceProxy_registerEnvInstance_Results, error)
func ReadRootEnvInstanceProxy_registerEnvInstance_Results ¶
func ReadRootEnvInstanceProxy_registerEnvInstance_Results(msg *capnp.Message) (EnvInstanceProxy_registerEnvInstance_Results, error)
func (EnvInstanceProxy_registerEnvInstance_Results) HasUnregister ¶
func (s EnvInstanceProxy_registerEnvInstance_Results) HasUnregister() bool
func (EnvInstanceProxy_registerEnvInstance_Results) SetUnregister ¶
func (s EnvInstanceProxy_registerEnvInstance_Results) SetUnregister(v common.Callback) error
func (EnvInstanceProxy_registerEnvInstance_Results) String ¶
func (s EnvInstanceProxy_registerEnvInstance_Results) String() string
func (EnvInstanceProxy_registerEnvInstance_Results) Unregister ¶
func (s EnvInstanceProxy_registerEnvInstance_Results) Unregister() common.Callback
type EnvInstanceProxy_registerEnvInstance_Results_Future ¶
EnvInstanceProxy_registerEnvInstance_Results_Future is a wrapper for a EnvInstanceProxy_registerEnvInstance_Results promised by a client call.
func (EnvInstanceProxy_registerEnvInstance_Results_Future) Unregister ¶
func (p EnvInstanceProxy_registerEnvInstance_Results_Future) Unregister() common.Callback
type EnvInstanceProxy_registerEnvInstance_Results_List ¶
EnvInstanceProxy_registerEnvInstance_Results_List is a list of EnvInstanceProxy_registerEnvInstance_Results.
func NewEnvInstanceProxy_registerEnvInstance_Results_List ¶
func NewEnvInstanceProxy_registerEnvInstance_Results_List(s *capnp.Segment, sz int32) (EnvInstanceProxy_registerEnvInstance_Results_List, error)
NewEnvInstanceProxy_registerEnvInstance_Results creates a new list of EnvInstanceProxy_registerEnvInstance_Results.
func (EnvInstanceProxy_registerEnvInstance_Results_List) String ¶
func (s EnvInstanceProxy_registerEnvInstance_Results_List) String() string
type EnvInstance_Server ¶
type EnvInstance_Server interface { Run(context.Context, EnvInstance_run) error Info(context.Context, common.Identifiable_info) error Stop(context.Context, common.Stopable_stop) error }
A EnvInstance_Server is a EnvInstance with a local implementation.
type EnvInstance_run ¶
EnvInstance_run holds the state for a server call to EnvInstance.run. See server.Call for documentation.
func (EnvInstance_run) AllocResults ¶
func (c EnvInstance_run) AllocResults() (EnvInstance_run_Results, error)
AllocResults allocates the results struct.
func (EnvInstance_run) Args ¶
func (c EnvInstance_run) Args() EnvInstance_run_Params
Args returns the call's arguments.
type EnvInstance_run_Params ¶
func NewEnvInstance_run_Params ¶
func NewEnvInstance_run_Params(s *capnp.Segment) (EnvInstance_run_Params, error)
func NewRootEnvInstance_run_Params ¶
func NewRootEnvInstance_run_Params(s *capnp.Segment) (EnvInstance_run_Params, error)
func ReadRootEnvInstance_run_Params ¶
func ReadRootEnvInstance_run_Params(msg *capnp.Message) (EnvInstance_run_Params, error)
func (EnvInstance_run_Params) Env ¶
func (s EnvInstance_run_Params) Env() (Env, error)
func (EnvInstance_run_Params) HasEnv ¶
func (s EnvInstance_run_Params) HasEnv() bool
func (EnvInstance_run_Params) NewEnv ¶
func (s EnvInstance_run_Params) NewEnv() (Env, error)
NewEnv sets the env field to a newly allocated Env struct, preferring placement in s's segment.
func (EnvInstance_run_Params) SetEnv ¶
func (s EnvInstance_run_Params) SetEnv(v Env) error
func (EnvInstance_run_Params) String ¶
func (s EnvInstance_run_Params) String() string
type EnvInstance_run_Params_Future ¶
EnvInstance_run_Params_Future is a wrapper for a EnvInstance_run_Params promised by a client call.
func (EnvInstance_run_Params_Future) Env ¶
func (p EnvInstance_run_Params_Future) Env() Env_Future
func (EnvInstance_run_Params_Future) Struct ¶
func (p EnvInstance_run_Params_Future) Struct() (EnvInstance_run_Params, error)
type EnvInstance_run_Params_List ¶
EnvInstance_run_Params_List is a list of EnvInstance_run_Params.
func NewEnvInstance_run_Params_List ¶
func NewEnvInstance_run_Params_List(s *capnp.Segment, sz int32) (EnvInstance_run_Params_List, error)
NewEnvInstance_run_Params creates a new list of EnvInstance_run_Params.
func (EnvInstance_run_Params_List) At ¶
func (s EnvInstance_run_Params_List) At(i int) EnvInstance_run_Params
func (EnvInstance_run_Params_List) Set ¶
func (s EnvInstance_run_Params_List) Set(i int, v EnvInstance_run_Params) error
func (EnvInstance_run_Params_List) String ¶
func (s EnvInstance_run_Params_List) String() string
type EnvInstance_run_Results ¶
func NewEnvInstance_run_Results ¶
func NewEnvInstance_run_Results(s *capnp.Segment) (EnvInstance_run_Results, error)
func NewRootEnvInstance_run_Results ¶
func NewRootEnvInstance_run_Results(s *capnp.Segment) (EnvInstance_run_Results, error)
func ReadRootEnvInstance_run_Results ¶
func ReadRootEnvInstance_run_Results(msg *capnp.Message) (EnvInstance_run_Results, error)
func (EnvInstance_run_Results) HasResult ¶
func (s EnvInstance_run_Results) HasResult() bool
func (EnvInstance_run_Results) Result ¶
func (s EnvInstance_run_Results) Result() (capnp.Ptr, error)
func (EnvInstance_run_Results) SetResult ¶
func (s EnvInstance_run_Results) SetResult(v capnp.Ptr) error
func (EnvInstance_run_Results) String ¶
func (s EnvInstance_run_Results) String() string
type EnvInstance_run_Results_Future ¶
EnvInstance_run_Results_Future is a wrapper for a EnvInstance_run_Results promised by a client call.
func (EnvInstance_run_Results_Future) Result ¶
func (p EnvInstance_run_Results_Future) Result() *capnp.Future
func (EnvInstance_run_Results_Future) Struct ¶
func (p EnvInstance_run_Results_Future) Struct() (EnvInstance_run_Results, error)
type EnvInstance_run_Results_List ¶
EnvInstance_run_Results_List is a list of EnvInstance_run_Results.
func NewEnvInstance_run_Results_List ¶
func NewEnvInstance_run_Results_List(s *capnp.Segment, sz int32) (EnvInstance_run_Results_List, error)
NewEnvInstance_run_Results creates a new list of EnvInstance_run_Results.
func (EnvInstance_run_Results_List) At ¶
func (s EnvInstance_run_Results_List) At(i int) EnvInstance_run_Results
func (EnvInstance_run_Results_List) Set ¶
func (s EnvInstance_run_Results_List) Set(i int, v EnvInstance_run_Results) error
func (EnvInstance_run_Results_List) String ¶
func (s EnvInstance_run_Results_List) String() string
type Env_Future ¶
Env_Future is a wrapper for a Env promised by a client call.
func (Env_Future) Rest ¶
func (p Env_Future) Rest() *capnp.Future
func (Env_Future) SoilProfile ¶
func (p Env_Future) SoilProfile() soil.Profile_Future
func (Env_Future) Struct ¶
func (p Env_Future) Struct() (Env, error)
func (Env_Future) TimeSeries ¶
func (p Env_Future) TimeSeries() climate.TimeSeries
type InstanceFactory ¶
func InstanceFactory_ServerToClient ¶
func InstanceFactory_ServerToClient(s InstanceFactory_Server, policy *server.Policy) InstanceFactory
InstanceFactory_ServerToClient creates a new Client from an implementation of InstanceFactory_Server. The caller is responsible for calling Release on the returned Client.
func (InstanceFactory) AddRef ¶
func (c InstanceFactory) AddRef() InstanceFactory
func (InstanceFactory) Info ¶
func (c InstanceFactory) Info(ctx context.Context, params func(common.Identifiable_info_Params) error) (common.IdInformation_Future, capnp.ReleaseFunc)
func (InstanceFactory) ModelInfo ¶
func (c InstanceFactory) ModelInfo(ctx context.Context, params func(InstanceFactory_modelInfo_Params) error) (common.IdInformation_Future, capnp.ReleaseFunc)
func (InstanceFactory) NewInstance ¶
func (c InstanceFactory) NewInstance(ctx context.Context, params func(InstanceFactory_newInstance_Params) error) (InstanceFactory_newInstance_Results_Future, capnp.ReleaseFunc)
func (InstanceFactory) NewInstances ¶
func (c InstanceFactory) NewInstances(ctx context.Context, params func(InstanceFactory_newInstances_Params) error) (InstanceFactory_newInstances_Results_Future, capnp.ReleaseFunc)
func (InstanceFactory) Release ¶
func (c InstanceFactory) Release()
type InstanceFactory_Server ¶
type InstanceFactory_Server interface { ModelInfo(context.Context, InstanceFactory_modelInfo) error NewInstance(context.Context, InstanceFactory_newInstance) error NewInstances(context.Context, InstanceFactory_newInstances) error Info(context.Context, common.Identifiable_info) error }
A InstanceFactory_Server is a InstanceFactory with a local implementation.
type InstanceFactory_modelInfo ¶
InstanceFactory_modelInfo holds the state for a server call to InstanceFactory.modelInfo. See server.Call for documentation.
func (InstanceFactory_modelInfo) AllocResults ¶
func (c InstanceFactory_modelInfo) AllocResults() (common.IdInformation, error)
AllocResults allocates the results struct.
func (InstanceFactory_modelInfo) Args ¶
func (c InstanceFactory_modelInfo) Args() InstanceFactory_modelInfo_Params
Args returns the call's arguments.
type InstanceFactory_modelInfo_Params ¶
func NewInstanceFactory_modelInfo_Params ¶
func NewInstanceFactory_modelInfo_Params(s *capnp.Segment) (InstanceFactory_modelInfo_Params, error)
func NewRootInstanceFactory_modelInfo_Params ¶
func NewRootInstanceFactory_modelInfo_Params(s *capnp.Segment) (InstanceFactory_modelInfo_Params, error)
func ReadRootInstanceFactory_modelInfo_Params ¶
func ReadRootInstanceFactory_modelInfo_Params(msg *capnp.Message) (InstanceFactory_modelInfo_Params, error)
func (InstanceFactory_modelInfo_Params) String ¶
func (s InstanceFactory_modelInfo_Params) String() string
type InstanceFactory_modelInfo_Params_Future ¶
InstanceFactory_modelInfo_Params_Future is a wrapper for a InstanceFactory_modelInfo_Params promised by a client call.
func (InstanceFactory_modelInfo_Params_Future) Struct ¶
func (p InstanceFactory_modelInfo_Params_Future) Struct() (InstanceFactory_modelInfo_Params, error)
type InstanceFactory_modelInfo_Params_List ¶
InstanceFactory_modelInfo_Params_List is a list of InstanceFactory_modelInfo_Params.
func NewInstanceFactory_modelInfo_Params_List ¶
func NewInstanceFactory_modelInfo_Params_List(s *capnp.Segment, sz int32) (InstanceFactory_modelInfo_Params_List, error)
NewInstanceFactory_modelInfo_Params creates a new list of InstanceFactory_modelInfo_Params.
func (InstanceFactory_modelInfo_Params_List) Set ¶
func (s InstanceFactory_modelInfo_Params_List) Set(i int, v InstanceFactory_modelInfo_Params) error
func (InstanceFactory_modelInfo_Params_List) String ¶
func (s InstanceFactory_modelInfo_Params_List) String() string
type InstanceFactory_newInstance ¶
InstanceFactory_newInstance holds the state for a server call to InstanceFactory.newInstance. See server.Call for documentation.
func (InstanceFactory_newInstance) AllocResults ¶
func (c InstanceFactory_newInstance) AllocResults() (InstanceFactory_newInstance_Results, error)
AllocResults allocates the results struct.
func (InstanceFactory_newInstance) Args ¶
func (c InstanceFactory_newInstance) Args() InstanceFactory_newInstance_Params
Args returns the call's arguments.
type InstanceFactory_newInstance_Params ¶
func NewInstanceFactory_newInstance_Params ¶
func NewInstanceFactory_newInstance_Params(s *capnp.Segment) (InstanceFactory_newInstance_Params, error)
func NewRootInstanceFactory_newInstance_Params ¶
func NewRootInstanceFactory_newInstance_Params(s *capnp.Segment) (InstanceFactory_newInstance_Params, error)
func ReadRootInstanceFactory_newInstance_Params ¶
func ReadRootInstanceFactory_newInstance_Params(msg *capnp.Message) (InstanceFactory_newInstance_Params, error)
func (InstanceFactory_newInstance_Params) String ¶
func (s InstanceFactory_newInstance_Params) String() string
type InstanceFactory_newInstance_Params_Future ¶
InstanceFactory_newInstance_Params_Future is a wrapper for a InstanceFactory_newInstance_Params promised by a client call.
func (InstanceFactory_newInstance_Params_Future) Struct ¶
func (p InstanceFactory_newInstance_Params_Future) Struct() (InstanceFactory_newInstance_Params, error)
type InstanceFactory_newInstance_Params_List ¶
InstanceFactory_newInstance_Params_List is a list of InstanceFactory_newInstance_Params.
func NewInstanceFactory_newInstance_Params_List ¶
func NewInstanceFactory_newInstance_Params_List(s *capnp.Segment, sz int32) (InstanceFactory_newInstance_Params_List, error)
NewInstanceFactory_newInstance_Params creates a new list of InstanceFactory_newInstance_Params.
func (InstanceFactory_newInstance_Params_List) Set ¶
func (s InstanceFactory_newInstance_Params_List) Set(i int, v InstanceFactory_newInstance_Params) error
func (InstanceFactory_newInstance_Params_List) String ¶
func (s InstanceFactory_newInstance_Params_List) String() string
type InstanceFactory_newInstance_Results ¶
func NewInstanceFactory_newInstance_Results ¶
func NewInstanceFactory_newInstance_Results(s *capnp.Segment) (InstanceFactory_newInstance_Results, error)
func NewRootInstanceFactory_newInstance_Results ¶
func NewRootInstanceFactory_newInstance_Results(s *capnp.Segment) (InstanceFactory_newInstance_Results, error)
func ReadRootInstanceFactory_newInstance_Results ¶
func ReadRootInstanceFactory_newInstance_Results(msg *capnp.Message) (InstanceFactory_newInstance_Results, error)
func (InstanceFactory_newInstance_Results) HasInstance ¶
func (s InstanceFactory_newInstance_Results) HasInstance() bool
func (InstanceFactory_newInstance_Results) Instance ¶
func (s InstanceFactory_newInstance_Results) Instance() (capnp.Ptr, error)
func (InstanceFactory_newInstance_Results) SetInstance ¶
func (s InstanceFactory_newInstance_Results) SetInstance(v capnp.Ptr) error
func (InstanceFactory_newInstance_Results) String ¶
func (s InstanceFactory_newInstance_Results) String() string
type InstanceFactory_newInstance_Results_Future ¶
InstanceFactory_newInstance_Results_Future is a wrapper for a InstanceFactory_newInstance_Results promised by a client call.
func (InstanceFactory_newInstance_Results_Future) Instance ¶
func (p InstanceFactory_newInstance_Results_Future) Instance() *capnp.Future
func (InstanceFactory_newInstance_Results_Future) Struct ¶
func (p InstanceFactory_newInstance_Results_Future) Struct() (InstanceFactory_newInstance_Results, error)
type InstanceFactory_newInstance_Results_List ¶
InstanceFactory_newInstance_Results_List is a list of InstanceFactory_newInstance_Results.
func NewInstanceFactory_newInstance_Results_List ¶
func NewInstanceFactory_newInstance_Results_List(s *capnp.Segment, sz int32) (InstanceFactory_newInstance_Results_List, error)
NewInstanceFactory_newInstance_Results creates a new list of InstanceFactory_newInstance_Results.
func (InstanceFactory_newInstance_Results_List) Set ¶
func (s InstanceFactory_newInstance_Results_List) Set(i int, v InstanceFactory_newInstance_Results) error
func (InstanceFactory_newInstance_Results_List) String ¶
func (s InstanceFactory_newInstance_Results_List) String() string
type InstanceFactory_newInstances ¶
InstanceFactory_newInstances holds the state for a server call to InstanceFactory.newInstances. See server.Call for documentation.
func (InstanceFactory_newInstances) AllocResults ¶
func (c InstanceFactory_newInstances) AllocResults() (InstanceFactory_newInstances_Results, error)
AllocResults allocates the results struct.
func (InstanceFactory_newInstances) Args ¶
func (c InstanceFactory_newInstances) Args() InstanceFactory_newInstances_Params
Args returns the call's arguments.
type InstanceFactory_newInstances_Params ¶
func NewInstanceFactory_newInstances_Params ¶
func NewInstanceFactory_newInstances_Params(s *capnp.Segment) (InstanceFactory_newInstances_Params, error)
func NewRootInstanceFactory_newInstances_Params ¶
func NewRootInstanceFactory_newInstances_Params(s *capnp.Segment) (InstanceFactory_newInstances_Params, error)
func ReadRootInstanceFactory_newInstances_Params ¶
func ReadRootInstanceFactory_newInstances_Params(msg *capnp.Message) (InstanceFactory_newInstances_Params, error)
func (InstanceFactory_newInstances_Params) NumberOfInstances ¶
func (s InstanceFactory_newInstances_Params) NumberOfInstances() int16
func (InstanceFactory_newInstances_Params) SetNumberOfInstances ¶
func (s InstanceFactory_newInstances_Params) SetNumberOfInstances(v int16)
func (InstanceFactory_newInstances_Params) String ¶
func (s InstanceFactory_newInstances_Params) String() string
type InstanceFactory_newInstances_Params_Future ¶
InstanceFactory_newInstances_Params_Future is a wrapper for a InstanceFactory_newInstances_Params promised by a client call.
func (InstanceFactory_newInstances_Params_Future) Struct ¶
func (p InstanceFactory_newInstances_Params_Future) Struct() (InstanceFactory_newInstances_Params, error)
type InstanceFactory_newInstances_Params_List ¶
InstanceFactory_newInstances_Params_List is a list of InstanceFactory_newInstances_Params.
func NewInstanceFactory_newInstances_Params_List ¶
func NewInstanceFactory_newInstances_Params_List(s *capnp.Segment, sz int32) (InstanceFactory_newInstances_Params_List, error)
NewInstanceFactory_newInstances_Params creates a new list of InstanceFactory_newInstances_Params.
func (InstanceFactory_newInstances_Params_List) Set ¶
func (s InstanceFactory_newInstances_Params_List) Set(i int, v InstanceFactory_newInstances_Params) error
func (InstanceFactory_newInstances_Params_List) String ¶
func (s InstanceFactory_newInstances_Params_List) String() string
type InstanceFactory_newInstances_Results ¶
func NewInstanceFactory_newInstances_Results ¶
func NewInstanceFactory_newInstances_Results(s *capnp.Segment) (InstanceFactory_newInstances_Results, error)
func NewRootInstanceFactory_newInstances_Results ¶
func NewRootInstanceFactory_newInstances_Results(s *capnp.Segment) (InstanceFactory_newInstances_Results, error)
func ReadRootInstanceFactory_newInstances_Results ¶
func ReadRootInstanceFactory_newInstances_Results(msg *capnp.Message) (InstanceFactory_newInstances_Results, error)
func (InstanceFactory_newInstances_Results) HasInstances ¶
func (s InstanceFactory_newInstances_Results) HasInstances() bool
func (InstanceFactory_newInstances_Results) Instances ¶
func (s InstanceFactory_newInstances_Results) Instances() (common.ListEntry_List, error)
func (InstanceFactory_newInstances_Results) NewInstances ¶
func (s InstanceFactory_newInstances_Results) NewInstances(n int32) (common.ListEntry_List, error)
NewInstances sets the instances field to a newly allocated common.ListEntry_List, preferring placement in s's segment.
func (InstanceFactory_newInstances_Results) SetInstances ¶
func (s InstanceFactory_newInstances_Results) SetInstances(v common.ListEntry_List) error
func (InstanceFactory_newInstances_Results) String ¶
func (s InstanceFactory_newInstances_Results) String() string
type InstanceFactory_newInstances_Results_Future ¶
InstanceFactory_newInstances_Results_Future is a wrapper for a InstanceFactory_newInstances_Results promised by a client call.
func (InstanceFactory_newInstances_Results_Future) Struct ¶
func (p InstanceFactory_newInstances_Results_Future) Struct() (InstanceFactory_newInstances_Results, error)
type InstanceFactory_newInstances_Results_List ¶
InstanceFactory_newInstances_Results_List is a list of InstanceFactory_newInstances_Results.
func NewInstanceFactory_newInstances_Results_List ¶
func NewInstanceFactory_newInstances_Results_List(s *capnp.Segment, sz int32) (InstanceFactory_newInstances_Results_List, error)
NewInstanceFactory_newInstances_Results creates a new list of InstanceFactory_newInstances_Results.
func (InstanceFactory_newInstances_Results_List) Set ¶
func (s InstanceFactory_newInstances_Results_List) Set(i int, v InstanceFactory_newInstances_Results) error
func (InstanceFactory_newInstances_Results_List) String ¶
func (s InstanceFactory_newInstances_Results_List) String() string
type Stat ¶
type Stat_Future ¶
Stat_Future is a wrapper for a Stat promised by a client call.
func (Stat_Future) Struct ¶
func (p Stat_Future) Struct() (Stat, error)
type Stat_List ¶
Stat_List is a list of Stat.
func NewStat_List ¶
NewStat creates a new list of Stat.
type Stat_Type ¶
type Stat_Type uint16
const ( Stat_Type_min Stat_Type = 0 Stat_Type_max Stat_Type = 1 Stat_Type_sd Stat_Type = 2 Stat_Type_avg Stat_Type = 3 Stat_Type_median Stat_Type = 4 )
Values of Stat_Type.
func Stat_TypeFromString ¶
Stat_TypeFromString returns the enum value with a name, or the zero value if there's no such value.
type Stat_Type_List ¶
func NewStat_Type_List ¶
func NewStat_Type_List(s *capnp.Segment, sz int32) (Stat_Type_List, error)
func (Stat_Type_List) At ¶
func (l Stat_Type_List) At(i int) Stat_Type
func (Stat_Type_List) Set ¶
func (l Stat_Type_List) Set(i int, v Stat_Type)
type XYPlusResult ¶
func NewRootXYPlusResult ¶
func NewRootXYPlusResult(s *capnp.Segment) (XYPlusResult, error)
func NewXYPlusResult ¶
func NewXYPlusResult(s *capnp.Segment) (XYPlusResult, error)
func ReadRootXYPlusResult ¶
func ReadRootXYPlusResult(msg *capnp.Message) (XYPlusResult, error)
func (XYPlusResult) HasStats ¶
func (s XYPlusResult) HasStats() bool
func (XYPlusResult) HasXy ¶
func (s XYPlusResult) HasXy() bool
func (XYPlusResult) NewStats ¶
func (s XYPlusResult) NewStats(n int32) (Stat_List, error)
NewStats sets the stats field to a newly allocated Stat_List, preferring placement in s's segment.
func (XYPlusResult) NewXy ¶
func (s XYPlusResult) NewXy() (XYResult, error)
NewXy sets the xy field to a newly allocated XYResult struct, preferring placement in s's segment.
func (XYPlusResult) SetStats ¶
func (s XYPlusResult) SetStats(v Stat_List) error
func (XYPlusResult) SetXy ¶
func (s XYPlusResult) SetXy(v XYResult) error
func (XYPlusResult) Stats ¶
func (s XYPlusResult) Stats() (Stat_List, error)
func (XYPlusResult) String ¶
func (s XYPlusResult) String() string
func (XYPlusResult) Xy ¶
func (s XYPlusResult) Xy() (XYResult, error)
type XYPlusResult_Future ¶
XYPlusResult_Future is a wrapper for a XYPlusResult promised by a client call.
func (XYPlusResult_Future) Struct ¶
func (p XYPlusResult_Future) Struct() (XYPlusResult, error)
func (XYPlusResult_Future) Xy ¶
func (p XYPlusResult_Future) Xy() XYResult_Future
type XYPlusResult_List ¶
XYPlusResult_List is a list of XYPlusResult.
func NewXYPlusResult_List ¶
func NewXYPlusResult_List(s *capnp.Segment, sz int32) (XYPlusResult_List, error)
NewXYPlusResult creates a new list of XYPlusResult.
func (XYPlusResult_List) At ¶
func (s XYPlusResult_List) At(i int) XYPlusResult
func (XYPlusResult_List) Set ¶
func (s XYPlusResult_List) Set(i int, v XYPlusResult) error
func (XYPlusResult_List) String ¶
func (s XYPlusResult_List) String() string
type XYResult ¶
func (XYResult) NewXs ¶
func (s XYResult) NewXs(n int32) (capnp.Float64List, error)
NewXs sets the xs field to a newly allocated capnp.Float64List, preferring placement in s's segment.
type XYResult_Future ¶
XYResult_Future is a wrapper for a XYResult promised by a client call.
func (XYResult_Future) Struct ¶
func (p XYResult_Future) Struct() (XYResult, error)
type XYResult_List ¶
XYResult_List is a list of XYResult.
func NewXYResult_List ¶
func NewXYResult_List(s *capnp.Segment, sz int32) (XYResult_List, error)
NewXYResult creates a new list of XYResult.
func (XYResult_List) At ¶
func (s XYResult_List) At(i int) XYResult
func (XYResult_List) String ¶
func (s XYResult_List) String() string