Documentation ¶
Index ¶
- Variables
- type BlackBoard
- func (b *BlackBoard) GetValueAsBool(key int) (bool, error)
- func (b *BlackBoard) GetValueAsFloat32(key int) (float32, error)
- func (b *BlackBoard) GetValueAsFloat64(key int) (float64, error)
- func (b *BlackBoard) GetValueAsInt(key int) (int, error)
- func (b *BlackBoard) GetValueAsInterface(key int) (interface{}, error)
- func (b *BlackBoard) GetValueAsString(key int) (string, error)
- func (b *BlackBoard) SetValueAsBool(key int, v bool)
- func (b *BlackBoard) SetValueAsFloat32(key int, v float32)
- func (b *BlackBoard) SetValueAsFloat64(key int, v float64)
- func (b *BlackBoard) SetValueAsInt(key int, v int)
- func (b *BlackBoard) SetValueAsInterface(key int, v interface{})
- func (b *BlackBoard) SetValueAsString(key int, v string)
- type IBlackBoard
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidKey = errors.New("Invalid Key") ErrInvalidType = errors.New("Invalid Type") )
Functions ¶
This section is empty.
Types ¶
type BlackBoard ¶
type BlackBoard struct {
// contains filtered or unexported fields
}
func NewBlackboard ¶
func NewBlackboard() *BlackBoard
func (*BlackBoard) GetValueAsBool ¶
func (b *BlackBoard) GetValueAsBool(key int) (bool, error)
* GetValueAsBool, SetValueAsBool * GetValueAsInt, SetValueAsInt * GetValueAsFloat, SetValueAsFloat * GetValueAsString, SetValueAsString * GetValuesAsInterface, SetValuesAsInterface
func (*BlackBoard) GetValueAsFloat32 ¶
func (b *BlackBoard) GetValueAsFloat32(key int) (float32, error)
func (*BlackBoard) GetValueAsFloat64 ¶
func (b *BlackBoard) GetValueAsFloat64(key int) (float64, error)
func (*BlackBoard) GetValueAsInt ¶
func (b *BlackBoard) GetValueAsInt(key int) (int, error)
func (*BlackBoard) GetValueAsInterface ¶
func (b *BlackBoard) GetValueAsInterface(key int) (interface{}, error)
func (*BlackBoard) GetValueAsString ¶
func (b *BlackBoard) GetValueAsString(key int) (string, error)
func (*BlackBoard) SetValueAsBool ¶
func (b *BlackBoard) SetValueAsBool(key int, v bool)
func (*BlackBoard) SetValueAsFloat32 ¶
func (b *BlackBoard) SetValueAsFloat32(key int, v float32)
func (*BlackBoard) SetValueAsFloat64 ¶
func (b *BlackBoard) SetValueAsFloat64(key int, v float64)
func (*BlackBoard) SetValueAsInt ¶
func (b *BlackBoard) SetValueAsInt(key int, v int)
func (*BlackBoard) SetValueAsInterface ¶
func (b *BlackBoard) SetValueAsInterface(key int, v interface{})
func (*BlackBoard) SetValueAsString ¶
func (b *BlackBoard) SetValueAsString(key int, v string)
type IBlackBoard ¶
type IBlackBoard interface{}
Click to show internal directories.
Click to hide internal directories.