Documentation ¶
Index ¶
Constants ¶
View Source
const ( KeepLastHistoryQOS = iota KeepAllHistoryQOS = iota )
View Source
const ( BestEffortReliability = iota ReliableReliability = iota )
View Source
const ( TLayerNone = 0 TlayerUDPMc = 1 TLayerSHM = 4 TLayerInProc = 42 TLayerAll = 255 )
View Source
const ( SModeNone = -1 SModeOff = 0 SModeOn = 1 SModeAuto = 2 )
View Source
const InitAll = InitPublisher | InitSubscriber | InitService | InitMonitoring | InitLogging | InitTimeSync | InitRPC | InitProcessReg
View Source
const InitDefault = InitPublisher | InitSubscriber | InitService | InitLogging | InitTimeSync | InitProcessReg
View Source
const InitLogging uint = uint(ecalc.ECAL_Init_Logging)
View Source
const InitMonitoring uint = uint(ecalc.ECAL_Init_Monitoring)
View Source
const InitProcessReg uint = uint(ecalc.ECAL_Init_ProcessReg)
View Source
const InitPublisher uint = uint(ecalc.ECAL_Init_Publisher)
View Source
const InitRPC uint = uint(ecalc.ECAL_Init_RPC)
View Source
const InitService uint = uint(ecalc.ECAL_Init_Service)
View Source
const InitSubscriber uint = uint(ecalc.ECAL_Init_Subscriber)
View Source
const InitTimeSync uint = uint(ecalc.ECAL_Init_TimeSync)
Variables ¶
This section is empty.
Functions ¶
func ProcessSleepMS ¶
func ProcessSleepMS(sleepTimeMs int64)
Types ¶
type PublisherIf ¶
type PublisherIf interface { Start() error Stop() error Destroy() error IsStopped() bool IsDestroyed() bool IsSubscribed() bool GetHandle() uintptr GetInputChannel() chan<- Message GetEventChannel() <-chan bool GetTopic() string GetType() string GetDescription() string GetQoS() (WriterQOS, error) GetLayerMode() (int, int) GetMaxBandwidthUDP() int64 GetID() int64 SetDescription(topicDesc string) error SetQoS(qos WriterQOS) error SetLayerMode(layerMode int, sendMode int) error SetMaxBandwidthUDP(bandwidth int64) error SetID(id int64) error Dump() ([]byte, error) // contains filtered or unexported methods }
func PublisherCreate ¶
type SubscriberIf ¶
type SubscriberIf interface { Start() error Stop() error Destroy() error IsStopped() bool IsDestroyed() bool GetHandle() uintptr GetBufferSize() int GetOutputChannel() <-chan Message GetEventChannel() <-chan bool GetTopic() string GetType() string GetDescription() string GetQoS() (ReaderQOS, error) GetIDs() []int64 GetTimeout() int SetQoS(qos ReaderQOS) error SetIDs(id []int64) error SetTimeout(timeout int) error Dump() ([]byte, error) }
func SubscriberCreate ¶
Click to show internal directories.
Click to hide internal directories.