C# Class Ros_CSharp.Publication

Inheritance: IDisposable
显示文件 Open project: uml-robotics/ROS.NET Class Usage Examples

Public Properties

Property Type Description
DataType string
Dropped bool
HasHeader bool
Latch bool
MaxQueue int
Md5sum string
Name string
_seq uint
callbacks List
callbacks_mutex object
connection_header Header
publish_queue_mutex object
seq_mutex object
subscriber_links List
subscriber_links_mutex object

Public Methods

Method Description
Dispose ( ) : void
GetStats ( ) : XmlRpcValue
Publication ( string name, string datatype, string md5sum, string message_definition, int max_queue, bool latch, bool has_header ) : System
addCallbacks ( SubscriberCallbacks callbacks ) : void
addSubscriberLink ( SubscriberLink link ) : void
drop ( ) : void
dropAllConnections ( ) : void
dumphex ( byte test ) : string
getInfo ( XmlRpcValue info ) : void
incrementSequence ( ) : uint
peerConnect ( SubscriberLink sub_link ) : void
peerDisconnect ( SubscriberLink sub_link ) : void
processPublishQueue ( ) : void
removeCallbacks ( SubscriberCallbacks callbacks ) : void
removeSubscriberLink ( SubscriberLink link ) : void
validateHeader ( Header header, string &error_message ) : bool

Private Methods

Method Description
EnqueueMessage ( MessageAndSerializerFunc holder ) : bool
getPublishTypes ( bool &serialize, bool &nocopy, MsgTypes typeEnum ) : void
publish ( MessageAndSerializerFunc msg ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GetStats() public method

public GetStats ( ) : XmlRpcValue
return XmlRpcValue

Publication() public method

public Publication ( string name, string datatype, string md5sum, string message_definition, int max_queue, bool latch, bool has_header ) : System
name string
datatype string
md5sum string
message_definition string
max_queue int
latch bool
has_header bool
return System

addCallbacks() public method

public addCallbacks ( SubscriberCallbacks callbacks ) : void
callbacks SubscriberCallbacks
return void

addSubscriberLink() public method

public addSubscriberLink ( SubscriberLink link ) : void
link SubscriberLink
return void

drop() public method

public drop ( ) : void
return void

dropAllConnections() public method

public dropAllConnections ( ) : void
return void

dumphex() public method

public dumphex ( byte test ) : string
test byte
return string

getInfo() public method

public getInfo ( XmlRpcValue info ) : void
info XmlRpcValue
return void

incrementSequence() public method

public incrementSequence ( ) : uint
return uint

peerConnect() public method

public peerConnect ( SubscriberLink sub_link ) : void
sub_link SubscriberLink
return void

peerDisconnect() public method

public peerDisconnect ( SubscriberLink sub_link ) : void
sub_link SubscriberLink
return void

processPublishQueue() public method

public processPublishQueue ( ) : void
return void

removeCallbacks() public method

public removeCallbacks ( SubscriberCallbacks callbacks ) : void
callbacks SubscriberCallbacks
return void

removeSubscriberLink() public method

public removeSubscriberLink ( SubscriberLink link ) : void
link SubscriberLink
return void

validateHeader() public method

public validateHeader ( Header header, string &error_message ) : bool
header Header
error_message string
return bool

Property Details

DataType public_oe property

public string DataType
return string

Dropped public_oe property

public bool Dropped
return bool

HasHeader public_oe property

public bool HasHeader
return bool

Latch public_oe property

public bool Latch
return bool

MaxQueue public_oe property

public int MaxQueue
return int

Md5sum public_oe property

public string Md5sum
return string

Name public_oe property

public string Name
return string

_seq public_oe property

public uint _seq
return uint

callbacks public_oe property

public List callbacks
return List

callbacks_mutex public_oe property

public object callbacks_mutex
return object

connection_header public_oe property

public Header,Ros_CSharp connection_header
return Header

publish_queue_mutex public_oe property

public object publish_queue_mutex
return object

seq_mutex public_oe property

public object seq_mutex
return object

subscriber_links public_oe property

public List subscriber_links
return List

subscriber_links_mutex public_oe property

public object subscriber_links_mutex
return object