Documentation ¶
Index ¶
- Constants
- func Finalize() int
- func GetConfig() string
- func GetVersion() C.struct_version
- func GetVersionDateString() string
- func GetVersionString() string
- func Initialize(config Config, unitName string, components uint) int
- func IsComponentInitialized(component uint) bool
- func IsInitialized() bool
- func Ok() bool
- func SetUnitName(unitName string) bool
- type Config
- type ConfigLogging
- type ConfigOption
Constants ¶
View Source
const ( // eCAL Components CNone uint = 0x000 CPublisher uint = 0x001 CSubscriber uint = 0x002 CService uint = 0x004 CMonitoring uint = 0x008 CLogging uint = 0x010 CTimeSync uint = 0x020 CDefault uint = CPublisher | CSubscriber | CService | CLogging | CTimeSync CAll uint = CPublisher | CSubscriber | CService | CMonitoring | CLogging | CTimeSync )
Variables ¶
This section is empty.
Functions ¶
func GetConfig ¶
func GetConfig() string
TODO: Reimplement with a proper config serialization as eCAL::DumpConfig() is planned to be removed!
func GetVersion ¶
func GetVersion() C.struct_version
func GetVersionDateString ¶
func GetVersionDateString() string
func GetVersionString ¶
func GetVersionString() string
func IsComponentInitialized ¶
func IsInitialized ¶
func IsInitialized() bool
func SetUnitName ¶
Types ¶
type Config ¶
type Config struct {
Logging ConfigLogging
}
func NewConfig ¶
func NewConfig(opts ...ConfigOption) Config
type ConfigLogging ¶
type ConfigLogging struct {
ReceiveEnabled bool
}
type ConfigOption ¶
type ConfigOption func(*Config)
func WithLoggingReceive ¶
func WithLoggingReceive(r bool) ConfigOption
Directories ¶
Path | Synopsis |
---|---|
protobuf
|
|
Implementation for cgo preamble functions
|
Implementation for cgo preamble functions |
string
|
|
Implementation for cgo preamble functions
|
Implementation for cgo preamble functions |
Click to show internal directories.
Click to hide internal directories.